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 endpoint in 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:
Select Browse for a valid endpoint in the Enterprise Explorer, and click Browse. Select an EJB implementation to be your service endpoint, and click OK.
Select Specify the endpoint properties and press Enter to enable the Next button, and use the following table to define a new endpoint.
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. Choose from the following:
Click Finish to complete the service endpoint.
Click Back to edit a value.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com