Re: Re: JOnAS 5.2 M5 @Singleton

"Hans J. Prueller" <[email protected]> Fri, 11 Mar 2011 10:08:26 +0100
Newsgroups gmane.comp.java.objectweb.jonas
Organization LBS logics GmbH
Message-ID <1299834506.2056.16.camel@smithers>
Hi Florent,

my eclipse project is not  based on maven so this doesn't work for me. 

is there a path to a JAR file I could add to classpath in the "internal
repos" of JOnAS 5.2 ?

hans


Am Freitag, den 11.03.2011, 09:52 +0100 schrieb Florent BENOIT:

>     Hi Hans,
> 
> By default EJB 3.1 API is not added to the classpath in order to
> remain Java EE 5 certified.
> 
> Here is a maven dependency that you could use in your Eclipse
> project :
> 
>     <dependency>
>       <groupId>org.ow2.spec.ee</groupId>
>       <artifactId>ow2-ejb-3.1-spec</artifactId>
>       <version>${ow2-spec.version}</version>
>     </dependency>
> 
> with ${ow2-spec.version} = 1.0.6
> 
> 
> You may create a JIRA issue in order that we add in JONAS_ROOT/lib/
> folder the jar file.
> 
> Regards,
> 
> Florent
> 
> 
> Hans J. Prueller wrote: 
> 
> > Hi all,
> > 
> > I just upgraded to JOnAS 5.2.0-M5 to try out the EJB-Singleton
> > Feature as announced.
> > 
> > When I try to add the @Singleton Annotation to my SLSB, I only have
> > javax.inject.Singleton available in my classpath
> > 
> > but javax.ejb.Singleton is missing.
> > 
> > I am using Eclipse and have JONAS_BASE/lib/client.jar in my
> > classpath.
> > 
> > 
> > What else do I have to add to get the javax.ejb.Singleton annotation
> > available for my project ?
> > 
> > 
> > regards,
> > Hans
> > 
> 
>