Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

entity bean access from the outside of the container  RSS feed

Lucas Smith
Ranch Hand
Posts: 808
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!