You are allowed to open a normal client socket.
See section 24.2.1 in the EJB2.0 spec, Table 19.
In practice most app servers won't stop you doing
other operations because of the performance penality of
running under a java SecurityManager.
I am a bit confused about thread management... If I want to make a call through a Socket, in my case through a Stateless session bean, how should I declare my Socket.
If I use a private class variable for my Socket, will it be thread safe? Or is there one instance of the Session Bean in memory and multiple threads running over it, meaning that I need to add synchronize blocks?
Also, if I can use a private variable, I'm guessing that I can create my connection in ejbCreate...
Adrian - different Adrian to last post :)