In theory it should be possible, to access a database over JPA from a JSP.
I created an entity (or better a JPA-Bean) and the corresponding Facade with Netbeans 6.8.
Now, as I want to call some methods of the facade there is only a null pointer exception.
For test reasons, I declared a member variable in the Facade-Bean. It is no problem to read it!
Can it be, that it is not possible to call an EJB from a JSP?
Somebody has an idea of combining jsp with jpa?
I created an entity (or better a JPA-Bean) and the corresponding Facade with Netbeans 6.8.
Now, as I want to call some methods of the facade there is only a null pointer exception.
For test reasons, I declared a member variable in the Facade-Bean. It is no problem to read it!
Can it be, that it is not possible to call an EJB from a JSP?
Somebody has an idea of combining jsp with jpa?