Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 82677 invoked from network); 23 Apr 2007 18:32:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2007 18:32:33 -0000 Received: (qmail 93467 invoked by uid 500); 23 Apr 2007 18:32:37 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 93442 invoked by uid 500); 23 Apr 2007 18:32:37 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 93431 invoked by uid 99); 23 Apr 2007 18:32:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 11:32:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jim.barrows@gmail.com designates 64.233.166.176 as permitted sender) Received: from [64.233.166.176] (HELO py-out-1112.google.com) (64.233.166.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 11:32:29 -0700 Received: by py-out-1112.google.com with SMTP id a29so1531754pyi for ; Mon, 23 Apr 2007 11:32:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qNG60dvBeMSZfL/HraV1C37qyK4ffcJlySa09Ox52+Ra89quLhHRzYCchbC82QVmEhrcQ9T8tehBaeawy58IymXTjAsfb+EpaKV8+goaRY9990aGTV7XWvXL61KUamWo+bMIPcUf5bb7kYKB4lisbcvYT3cZTz+3AGneOCJ81Pk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=e141JdGKZc3OIV6uWDiMtEWtpwiMH/LWhaSjre1FpDNS3/xRIQtJCzqEJN5j7wYDIaSNalGYqpFRHejLnvrWVFX4af1ZaCLDLBWp34ymOupBQ17HfLfYLd8/QkwNqEtghns87iKTtS+mzX3IaZtJO+JDW/5Z9yX13tPyL7qdv7M= Received: by 10.65.239.14 with SMTP id q14mr734074qbr.1177353128707; Mon, 23 Apr 2007 11:32:08 -0700 (PDT) Received: by 10.65.153.4 with HTTP; Mon, 23 Apr 2007 11:32:08 -0700 (PDT) Message-ID: Date: Mon, 23 Apr 2007 11:32:08 -0700 From: "Jim Barrows" To: user@geronimo.apache.org Subject: Re: What jars need to be included to make the EJB related annotations work? In-Reply-To: <462CF8FC.8050603@joyfulnoisewebdesign.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070423074543.181451e9c2a7ebbcd6ae28cea81146c8.7e29f67dae.wbe@email.secureserver.net> <462CF8FC.8050603@joyfulnoisewebdesign.com> X-Virus-Checked: Checked by ClamAV on apache.org On 4/23/07, Jay D. McHugh 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 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" > >> Date: Mon, April 23, 2007 6:13 am > >> To: user > >> > >> 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