From: <glassfish_at_javadesktop.org>
Date: Thu, 26 Jun 2008 08:32:51 PDT
The use of @EJB in the client main class will only work if it's packaged as a Java EE
Application Client component and executed using the appclient command. To write a
plain stand-alone java client to access remote EJBs, see our EJB FAQ :