This content has been marked as final.
Show 4 replies
-
1. Re: Lookup of entity bean from remote client not working
tzwoenn Jan 12, 2006 2:01 PM (in response to okism)EJB3 entities (which are not enterprise beans any more) are not meant for being "looked up by a remote client" as it was possible using EJB2.1
-
2. Re: Lookup of entity bean from remote client not working
okism Jan 13, 2006 2:17 AM (in response to okism)Thank you for your reply, but I have one more question:
How can I access this entity EJB? Are session beans the only way (since every example shows that they can be "looked up")? -
3. Re: Lookup of entity bean from remote client not working
yxw84 Jan 13, 2006 11:54 AM (in response to okism)You can access them without a session bean if you can get an entity manager, usually via JNDI lookup or injection.
-
4. Re: Lookup of entity bean from remote client not working
cyril.joui Jan 15, 2006 6:16 PM (in response to okism)Hello !
Can we get a Remote EntityManager ?
I have never try it ... but if we can I don't advice it ...
Because we often have a Service or Domain Layer after the Data Access Layer (EntityManager for example).
So I advice to have a EJB Session as a Facade.
Good luck !