users@glassfish.java.net

Re: Declaring singleton EJB in ejb-jar.xml

From: Comerford, Sean <Sean.Comerford_at_espn.com>
Date: Wed, 26 Jun 2013 15:07:46 -0400

Hi Marina,

That got us a little further but we're still having issues declaring the Singleton Startup via the xml descriptor.

Dan can you reply with the error you're seeing?

---
Sean Comerford
ESPN.com Architecture & Platforms
From: Marina Vatkina <marina.vatkina_at_oracle.com<mailto:marina.vatkina_at_oracle.com>>
Reply-To: "marina.vatkina_at_oracle.com<mailto:marina.vatkina_at_oracle.com>" <marina.vatkina_at_oracle.com<mailto:marina.vatkina_at_oracle.com>>
Date: Thu, 20 Jun 2013 14:34:16 -0400
To: "users_at_glassfish.java.net<mailto:users_at_glassfish.java.net>" <users_at_glassfish.java.net<mailto:users_at_glassfish.java.net>>
Cc: Sean Comerford <Sean.Comerford_at_espn.com<mailto:Sean.Comerford_at_espn.com>>
Subject: Re: Declaring singleton EJB in ejb-jar.xml
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