To generate an EJB Web Service in PowerDesigner:
-
Select Java code.
The Generation dialog box is displayed.
-
Click the Options tab and modify the localhost by your server name for both options EAServer host name and JNDI provider URL.
-
Type a destination directory in the Directory box or use the Select a path button.
-
Make sure the Sybase WorkSpace IDE is selected in the Targets tab.
-
Click OK.
If you want to generate the project in a folder that is not a sub-folder of the Eclipse WorkSpace folder, you need to define the ECLIPSE_HOME variable prior to code generation.