This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i was noob for using EJB.... exclusively EJB -JPA...... one that i want to ask is that the EJB-JPA is thread safe.. and basicly can someone explain what is thread safe with a simple example and simple word.... i'm tottaly new here..
Being "Thread Safe" means that multiple threads can not execute methods of one particular object concurrently. if any thread is executing ANY of the methods of an object, other threads have to wait to execute ANY of the method of that object. (here ANY includes all the methods which are synchronized. for a completely thread safe Object/Class, all methods are supposed to be synchronized but methods from Object class may not be synchronized.)
Joined: May 07, 2012
here.... i tried this things..... i call the method to list the entity from database....... when i press the refresh(F5) button constantly.... it doesn't appear the error... but when i tried the some kind with two machines it's appear error.... why it's happened... and how to solve it???