Basically, there's nothing in the JEE specs that prevents you from opening a socket to connect to another machine. Rather, there's limitations on opening a socket to accept connections.
So, if you want to call an HTTP server through a socket, you're AOK to do that. You can use the built in Java support, or look at a library, like Commons HttpClient from Apache to help manage this.
[Message sent by forum member 'whartung' (whartung)]
http://forums.java.net/jive/thread.jspa?messageID=230890