I wanted to test the functionality of a very simple stateful session bean, but nothing works! The JNDI-Lookup does not work as the bean is not found and when I call the bean by Depency-Inection via @EJB annotation the value is not memorized.
The stateful session bean:
In the above bean, the variable "memory" should retain its value when called from the same browser, eg. by browser refresh.
The client is programmed with @EJB dependency inection. The variable state of memory is lost.
I marked the JNDI-Lookup bold. This results in a javax.naming.NamingExdeption: Lookup failed for...
I opened an error no 181367 at netbeans.
Urgent helb needed!!!
The stateful session bean:
In the above bean, the variable "memory" should retain its value when called from the same browser, eg. by browser refresh.
The client is programmed with @EJB dependency inection. The variable state of memory is lost.
I marked the JNDI-Lookup bold. This results in a javax.naming.NamingExdeption: Lookup failed for...
I opened an error no 181367 at netbeans.
Urgent helb needed!!!