Issues: 1) Is it possible to look up a Entity Local Home from the POJO Business Utility, which is also deployed as a dependent jar file? If Yes, how? (It is possible to do so from an EJB or a Web Cointainer, by the use of ejb-local-ref in the Container deployment descriptor).
2) In a Clustered enviornment, if two threads (on different cluster) are accessing the same Entity data row for updation, is there a possibility of compromising Data Integrity (Assuming Isolation Level is set as Cursor Stability i.e level 2).
1) Yes, but generally a bad idea - use a session bean facade to encapsulate access to the entity bean.
2) Dependant on the locking mechanism used by the container -> database. If you are using a facade the container will only let one thread be in a session bean method at any one time (assuming both are calling the bean from the same remote reference).
Drinking more tea is the key...
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?