Re: Re: Re: JOnAS 5.2 M5 @Singleton
Florent BENOIT <[email protected]> Fri, 11 Mar 2011 10:15:31 +0100
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <[email protected]> |
Hans,
Hans J. Prueller wrote:
> 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 ?
It is not yet embedded in the "internal repos" of JOnAS. This is why you
may add an issue on the Issue tracker
You may download the file from
http://repo1.maven.org/maven2/org/ow2/spec/ee/ow2-ejb-3.1-spec/1.0.6/ow2-ejb-3.1-spec-1.0.6.jar
and add it to your project Classpath.
Regards,
Florent
>
> 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
>>>
>>
>