I want to use a socket connection to a server from a SessionBean. That's not allowed.
What can I do ? I need the connection to implement a business process. I have no skills in MBeans, JMS, etc. and
i am under pressure. I need a code skeleton of a mechanism that's behave to a socketFactory.
The solution have to be J2EE conform.
can someone help me ?
If it absolutely must be J2EE compliant then you need to write a JCA adapter to connect to your external server.
However, this is not an "under pressure" solution. But spec compliancy and pressure rarely mix anyway.