Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Lookup – PB Docs 2018 – PowerBuilder Library

Lookup – PB Docs 2018

Lookup

Description

Allows a PowerBuilder client to obtain the home interface of an
EJB component in an application server in order to create an instance of
the component.

Syntax

Argument

Description

connection

The name of the EJBConnection object used to
establish the connection

proxyname

The name of the proxy object for the EJB
component

JNDIname 

The JNDI name of the EJB component

homeinterfacename 

The fully-qualified class name of the EJB home
interface

Return value

Powerobject. A proxy object for the home interface of the
EJB.

Throws

NamingException

Examples

The following example uses lookup to locate the home interface of
the Multiply session EJB in the Java package com.xyz.math. The example
assumes the connection to the EJB server has already been
established:

The style used for the JNDI name depends on the EJB server.

See also

ConnectToServer


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x