users@glassfish.java.net

Re: Declaring singleton EJB in ejb-jar.xml

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Thu, 20 Jun 2013 11:34:16 -0700

https://svn.java.net/svn/glassfish~svn/trunk/v2/appserv-tests/devtests/ejb/ejb31/full/schema/descriptor/ejb-jar.xml

-marina

On 6/20/13 11:21 AM, Comerford, Sean wrote:
> Our basketball MDB ingest application uses the
> metadata-complete="true" attribute b/c it includes a "common" jar that
> contains @MesssageDriven annotated classes we don't want to run in
> this particular app.
>
> Hence we specify in the ejb-jar.xml file which MDBs we want to run.
>
> We're having a problem figuring out how to declare an @Startup
> @Singleton bean via the ejb-jar.xml.
>
> Can someone point me to an example for that?
>
> ---
> Sean Comerford
> ESPN.com Architecture & Platforms
>