Hua Liang [
https://community.jboss.org/people/kingpmp] created the discussion
"How to obtain ejb reference in AS6?"
To view the discussion, visit:
https://community.jboss.org/message/729803#729803
--------------------------------------------------------------
Here is the JNDI tree view:
h1. Global JNDI Namespace
+- lhserviceear (class: org.jnp.interfaces.NamingContext)
| +- TestService (class: org.jnp.interfaces.NamingContext)
| | +- remote-com.realestate.prefund.service.ejb.RemoteTestservice (class: Proxy
for: com.realestate.prefund.service.ejb.RemoteTestservice)
| | +- remote (class: Proxy for:
com.realestate.prefund.service.ejb.RemoteTestservice)
Therefore, if I do a JNDI lookup as:
* context.lookup("lhserviceear/TestService/remote");*
It returns a *proxy* instead of the acutal remote bean interface, which I need it to do
remote method invocation.
Any suggestions will be apprecitated!
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/729803#729803]
Start a new discussion in JNDI and Naming at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]