William Edwards

Greenhorn
+ Follow
since Aug 31, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by William Edwards

Hi,

I need some advice. I have a stateless session bean that has no static methods or variables as mandated by EJB spec. However, I have plain java classes (helper classes) that have static methods. My question is : can I call these static methods (in helper java classes) from my session Bean? What about multithreading?

My belief is that once my bean method becomes live and calls static methods in my helper classes, it will never get preempted until this thread (ie, bean method) terminates. What happens when another instance of my stateless session bean becomes live too. Will this new thread interfere with the static methods of my helper class?