Creating an EJB Project

Create an Enterprise JavaBean (EJB) project to house EJB resources.

Prerequisites 

Open the Project Explorer.

  1. In the Project Explorer, right-click EJB Project and select New > EJB Project. The New EJB Project wizard opens.
  2. Define these EJB properties, then click Next:
    Field Action
    Project Name Enter a name for the project.
    Project Contents Accept the default project content files or unselect Use Default and browse to add files.
    Target Runtime Select the runtime server, or click New to define a new runtime server.
  3. Select the project facets to include in your project and click Next.
    Note: Click Save to save the list of project facets as a preset list.
    The EJB Module page displays.
  4. Configure these EJB module settings:
    Field Action
    Source Folder To change the directory where the Java source files are stored, enter the path to the directory.
    Create an EJB Client JAR Project to Hold the Client Interfaces and Classes To keep the client interface classes for your EJBs in a separate EBJ-client JAR file, select this option, then define these properties for the EJB Client JAR module:
    • Name
    • URI
  5. Click Finish to save the project definition and exit the wizard.
The new project and its associated references appear in the Project Explorer under EJB Projects.
Related tasks
Creating a Dynamic Web Project

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.