Also, it is a REALLY BAD idea to directly access an Entity bean from any kind of client --
Java Application, Servlet, or JSP. You need to wrap your Entity EJB access in a Session Facade.
See
this article. Not only do the arguments there apply, but also, each access to an Entity bean (every getter) that is not wrapped in a client transaction (which is also a bad idea) is a new transaction, which results in at least one SQL call....
Kyle