Forums Register Login

Distributed objects and threading

+Pie Number of slices to send: Send
How does java handle distributed threading? I have two methods calling an EJB, one is synchronized one is not. Is there any possiblity of this causing a RemoteException if the unsynchronized method returns to a locked object?
+Pie Number of slices to send: Send
If your EJB is a stateless session bean then the container will provide you with a EJB that's not busy. If your EJB is a stateful session bean then you'll need to make sure that your calls to it are sequential.
Remember to always leap before you look. But always take the time to smell the tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 756 times.
Similar Threads
Singleton pattern
Question about _jspService thread
Singleton Pattern in Distrubted Env
EJB (RMI communication) and thread problem
EJBs and threads
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 22:49:30.