• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

entity bean access from the outside of the container

 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic