Just to clarify Ben's response. You can call a remote EJB from a servlet. You can also call a remote EJB directly from you swing code.
However your EJB requires an application server like JBoss or WebLogic.
If you are going to use EJBs then you have no real reason to call servlets. Call the EJB directly from your swing controller.
This also fixes your problem of using HTTP as your communications to the EJB will use RMI. However you should make sure those ports are open on any firewall you may be using. I've been burned by that in the past when I didn't "own" the firewall.
Tom [ March 17, 2005: Message edited by: Thomas Hubschman ]