cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding EJB lookup

Former Member
0 Kudos

Hi all,

I am trying to access a EJB deployed in IBM websphere from Webdynpro.

In this case what do i give for the webdynpro references and sharing references.

Regards

Bharathwaj.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi santosh ,

I dont want to use web services. I am using a EJB lookup. My problem is if the EJB is created in NWDS we give the project in the java build path and in the sharing references we give sap.com/<ear file name>.

In this case since the EJB project is not available what do we for java build path and sharing references.

Regards

Bharathwaj

Former Member
0 Kudos

Hi Bharathwaj,

Get the EJB bean's Home interface and Remote interface and include this in your project.

Refer the following link (Introduction to EJB)

http://java.sun.com/developer/onlineTraining/Downloads/EJBIntro.ZIP

http://www.javausergroup.at/events/ejbIntro.pdf

Hope this helps.

Regards,

Santhosh.C

Former Member
0 Kudos

Hi,

If you are able to expose the EJB as webservice from the websphere then you can import the webservice model and access it from your webdynpro component.

Or you can do the other thing, create a java class in the webdynpro package and access the EJB from the java bean.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/accessi... ejb applications using jndi.pdf

Hope this helps.

Regards,

Santhosh.C