Edit EJB service endpoints using the EJB editor. You can also edit service endpoints using the Services Package editor.
To edit an EJB service endpoint:
Open the EJB service that you want to edit using the EJB service editor.
Select the Service Interface tab.
Right-click the service interface, and select Edit Endpoint from the context menu.
The Endpoint Type window opens.
Add a service endpoint. Choose from the following:
Enter the endpoint name, and click Next.
Define the connection properties. Choose from the following:
Browse for an existing endpoint definition. Select Reference from Enterprise Explorer, and click Browse. Select an EJB implementation to be your service endpoint, and click OK.
Define a new endpoint. Select User-specified, and complete the following, and click Next:
User-specified Endpoint
Property | Description |
---|---|
Remote Class Name | Specify the Java class for the remote class name. For example: com.sybase.test.ejbs.EJB9 |
Home Class Name | Specify the home class name. For example: com.sybase.test.ejbs.EJBHome |
JNDI Name | Specify the JDNI name of the initial ContextFactory. |
Initial Context Factory | Specify the Initial ContextFactory. For example:com.sybase.ejb.InitialContextFactory |
JNDI Provider URL | Specify the server URL. For example: <protocol>://<host_name>:<port number> |
Add a .jar file to your project for the client-side classes. Choose from the following, and click Next.
Locate an existing .jar file. Click Browse.
Generate a .jar file from the referenced server. Click Download.
Add a classpath folder or library dependency in the Add Classpath Entries. Click Next.
Select the operations you want to expose, and click Next.
Review the service details in the Summary page.
To edit a value, click Back.
Click Finish to complete the endpoint definition.
To edit an endpoint when creating a package definition that contains an EJB service:
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com