geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Barrows" <jim.barr...@gmail.com>
Subject Re: What jars need to be included to make the EJB related annotations work?
Date Mon, 23 Apr 2007 18:32:08 GMT
On 4/23/07, Jay D. McHugh <jay@joyfulnoisewebdesign.com> wrote:
> Jim,

>
> What type of annotations are you wanting to use?

EJB, and all the other J2EE stuff.
>
> JPA?

These are working either via spring or Hibernate jars that I'm including.

> I am using annotations related to resources and JPA and the jars that I
> have added to my build path to support this are:
>
> javax.servlet-api
> javax.persistence-api
> org.apache.openjpa.openjpa-persistence-jdbc
> (this next one is probably the big one)


> org.apache.geronimo.specs.geronimo-annotation_1.0_spec
This one I can't find.

>
> None of these are being included in my app, they are just there to allow
> Eclipse to do some validation and compile everything.
>
> Which version of Geronimo are you trying to deploy to?

2.0 M3
>
> Jay
>
> Jim Barrows wrote:
> > On 4/23/07, Mark Aufdencamp <mark@aufdencamp.com> wrote:
> >> Hi James,
> >>
> >>  I've been using the same environment for the last few months.  If
> >> you have
> >> any questions regarding MyEclipse and Geronimo, feel free to send
> >> them my
> >> way:)
> >>
> >>  As your using 5.1.1, I'll presume your using EJB 2.1 with XDoclet
> >> annotations.  If you haven't gone through the two EJB tutorials on the
> >> MyEclipse site, I'd suggest checking them out.  laliluna also has a free
> >> tutorial on defining relationships.  Thier one-to-many uni tutorial
> >> is free.
> >>  They also have a tutorial for more complex relationships, but I have
> >> not
> >> purchased it yet.
> >
> > I want to use Annotations, and not XDoclet.  Nothing against XDoclet.
> >
> >>
> >>  You shouldn't require any jar's for XDoclet generation of EJB's.  If
> >> you've
> >> created a MyEclipse EJB project and added the EJB XDoclet support to
> >> it via
> >> the project properties, the ejb-jar.xml should be auto-generating for
> >> you
> >> when you run the MyEclipse XDoclet menu option on the project.
> >> You'll need
> >> to handcraft your openejb-jar.xml deployment descriptor.
> >>
> >> Hope that helps getting you in the right direction.
> >>
> >> Mark Aufdencamp
> >> Mark@Aufdencamp.com
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> -------- Original Message --------
> >> Subject: What jars need to be included to make the EJB related
> >> annotations work?
> >> From: "Jim Barrows" <jim.barrows@gmail.com>
> >> Date: Mon, April 23, 2007 6:13 am
> >> To: user <user@geronimo.apache.org>
> >>
> >> I'm using Eclipse 3.2.2, with the MyEclipse 5.1.1 plugins installed.
> >>
> >> However, when creating an EJB, the annotations do not work. After
> >>
> >> looking around, I realized that I needed the righ Jar file(s), but
> >>
> >> could not figure out with jars in Geronimo would do that for me.
> >>
> >> Could anyone point them out to me?
> >>
> >>
> >>
> >> --
> >>
> >> James A Barrows
> >>
> >>
> >>
> >
> >
>


-- 
James A Barrows

Mime
View raw message