title: How to connect to FTP in a Java EE compliant way?
body: <p>According to the Java EE (EJB) spec, it is not allowed to "listen on a socket, accept connections on a socket, or use a socket for multicast". 
  What is the Java EE compliant way to open a FTP connection?</p>