Accessing components

For clients—JavaServer Pages (JSPs), servlets, or other EJBs—running in the same application server process, you can use either EJB references or direct JNDI lookups to access components.

When you deploy PowerBuilder components, if the package name is “MyPackage” and the component name is “MyComp”:

The PowerBuilder EJBConnection class allows you to call EJBs running in an application server—see the EJBConnection class description in the PowerBuilder documentation.

You can find configuration information; for example, the initial context factory, provider URL, and required class path settings, in %PB_SERVER_HOME%\config\pb-server-<targetServerName>.xml.