users@glassfish.java.net

Re: calling an EJB from a app-client

From: <glassfish_at_javadesktop.org>
Date: Mon, 14 May 2007 05:02:04 PDT

Make sure the main class is designated as the main class, either by the presence of a Main-Class setting in the manifest for the app client JAR or, alternatively, if you are launching using the appclient script by specifying

-mainclass <class-name>

The app client container needs you to tell it what the main class is so it knows (1) which class to start and (2) which class to check for injection.

- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]

http://forums.java.net/jive/thread.jspa?messageID=216763