[jboss-user] [Beginners Corner] - Creating a socket inside a J2EE bean

yujikiriki do-not-reply at jboss.com
Wed May 28 12:23:42 EDT 2008


Hi,

I'm accessing an application from a J2EE stateless bean through a socket and everything is going fine, but some colleagues told me that doing it is a bad practice. 

Is bad practice to create a new socket inside a J2EE  stateless bean? If so, why and what alternatives do I have?

Thanks!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154026#4154026

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154026



More information about the jboss-user mailing list