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.
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.