Link to home
Start Free TrialLog in
Avatar of chaitu chaitu
chaitu chaituFlag for India

asked on

when we look up using ctx.lookUp("java:env/comp/CustomerBean")

hi

In our application we look up beans using

1.
    home = (EJBHome)PortableRemoteObject.narrow(ctx.lookup(jndiName), homeClass)

2.
i have seen some where that we can look up beans using ctx.lookUp("java:env/comp/CustomerBean");

i know that when we go for PortableRemoteObject.but i dont know when we go for later one;



Avatar of zzynx
zzynx
Flag of Belgium image

And the question is?
ASKER CERTIFIED SOLUTION
Avatar of petmagdy
petmagdy
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial