Category Archives: JAVA

Java

EJB stateful vs stateless

I have been studying Java EE and I posted a question on Stackoverflow to verify my understanding of “SessionBean”, here is the summary: Stateless bean in client: public void work(){ bean.work1(); // this uses instance 1 in App Server … bean.work2(); // this can be instance 2 in App Server }   Stateful bean in… Read More »