Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes entity bean access from the outside of the container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "entity bean access from the outside of the container" Watch "entity bean access from the outside of the container" New topic
Author

entity bean access from the outside of the container

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

Hi,

I have an external client which lookups seesion bean via JNDI. I have the proxy and I am able to invoke methods on it.
The session bean creates a list of objects which are entity beans querried with the use of EntityManager. But I am not able to invoke the method:

List<Person> sessionBean.getPersons();

from the external client because client does not see the Person definition (which is Entity Bean). Do you have any ideas how can I make the definition visible for the external client? EntityBeans must reside in the container in order to create Database structure while deployment.


SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: entity bean access from the outside of the container
 
Similar Threads
My SCEA Part 1Study Notes
about ejbcreate()
Invoking Entity bean from Session bean
Session bean create method.
ejbobject/bean instance