Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 52221 invoked from network); 10 Apr 2007 15:45:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Apr 2007 15:45:29 -0000 Received: (qmail 15621 invoked by uid 500); 10 Apr 2007 15:45:34 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 15269 invoked by uid 500); 10 Apr 2007 15:45:32 -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 15258 invoked by uid 99); 10 Apr 2007 15:45:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 08:45:32 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [68.142.206.240] (HELO smtp107.plus.mail.mud.yahoo.com) (68.142.206.240) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 10 Apr 2007 08:45:24 -0700 Received: (qmail 66323 invoked from network); 10 Apr 2007 15:45:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:From:Subject:Date:To:X-Mailer; b=2ubAiDGVnZwrJAkmAKR2tWt2rfAcccRf2lNjXoCcYSR272l252vdQMhriJNOSjyHDKzGVWdRRf5okcIqdCCcbGGZI4LcAb9vRpXS5QVUosxmQbd7h03c+h+OimICMCG4LMEShxYQ97HlWw2aKeiQVlL7BeVnPUXjQfZjnuKiKgo= ; Received: from unknown (HELO ?10.11.55.8?) (david_jencks@63.105.20.225 with plain) by smtp107.plus.mail.mud.yahoo.com with SMTP; 10 Apr 2007 15:45:02 -0000 X-YMail-OSG: zJscyWkVM1lL6oHMNnDKfCzULxHHAWFIrLu_gOy1Q2HFRf3IbnK6.oBSnBB.MtT54gv18litengQecquK6voHQ8UTcvCJ4kKsqCDLYRZwRIcVps01Pvxe3EVQ5E8EIZTQiRDMSpirgRqM8_CJ1Bv1NRjvNZMUKAnk.0dlg-- Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <20070409102037.181451e9c2a7ebbcd6ae28cea81146c8.f85abcb3ae.wbe@email.secureserver.net> References: <20070409102037.181451e9c2a7ebbcd6ae28cea81146c8.f85abcb3ae.wbe@email.secureserver.net> Content-Type: multipart/alternative; boundary=Apple-Mail-17-344184378 Message-Id: From: David Jencks Subject: Re: XDoclet Support for OpenEJB - Generating the openejb-jar.xml with MyEclipse Date: Tue, 10 Apr 2007 08:44:39 -0700 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-17-344184378 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Apr 9, 2007, at 10:20 AM, Mark Aufdencamp wrote: > Thanks for the advice David. I'm still using Geronimo 1.1 and > haven't even looked at 2.0 yet. MyEclipse is also lacking in > support of EJB 3.0 standards. > > I have the O'Reilly "Enterprise JavaBeans 3.0" sitting on my desk. > I'm mired in that bleeding edge boundary and have been trying to > learn the current production (EJB 2.1 and Geronimo 1.1/1.2) method > while keeping an eye towards the future (EJB 3.0 and Geronimo > 2.0). Having tutorials on the legacy way have significantly > influenced my learning direction. > > I've presumed that a migration path exists for 2.1x CMP to JPA. > I've also looked at Hibernate from the web container as an option. > The apps not very big at this point, so I can afford to re-tool it > in the next version. I think you will have to convert any cmp entity beans you have to jpa by yourself. IMO its a much much much better approach to start with jpa if there is any possibility at all. There are quite extensive docs for openjpa, and it only took me a couple of days starting from no jpa knowledge to convert daytrader to jpa using those docs. I don't have any first hand experience with hibernate but have heard rumors that openjpa performs better. In any case if you go with hibernate I hope you use the jpa interfaces to enable portability. > > Does a document exist yet on the geronimo specifics of performing a > migration from 1.1/1.2 to 2.0 that discusses the shift from CMP to > JPA? 1.2 supports jpa, although you have to tell it about the persistence units and persistent unit refs in a non-spec compliant way. Container manager persistence contexts are available from web and ejb applications. > > Not having an IDE based tutorial that takes one through the whole > stack with the application server really extends the learning curve! maybe..... cmp bean mapping stuff could easily be harder to learn with a tutorial than jpa with the openjpa docs. thanks david jencks > > Anyway, thanks for the answer on the lack of decent XDoclet support. > > -------- Original Message -------- > Subject: Re: XDoclet Support for OpenEJB - Generating the > openejb-jar.xml with MyEclipse > From: David Jencks > Date: Mon, April 09, 2007 9:50 am > To: user@geronimo.apache.org > > I cannot express how strongly I recommend that you use jpa rather > than cmp for any project you have any control over, such as new > development. > > I believe the xdoclet stuff you refer to doesn't work at all with > geronimo-openejb, I think it is for openejb 1 which is not > integrated with geronimo. In any case using ejb 3.0 with > annotations is a much better solution. > > thanks > david jencks > > On Apr 9, 2007, at 9:08 AM, Mark Aufdencamp wrote: > >> Hi All, >> >> I've been quietly lurking on the list for the last eight weeks >> working on the opposite ends of a web application. I've scaled >> the AJAX-JavaScript-Struts integration mountain and I've just >> completed deploying my first Entity Bean's using CMP. You'll may >> recall that I previously conquered web container realm >> authentication and application security integration, as well as >> Session EJB's. Throw in some HTML and CSS learning for good >> measure and in a manner of four months I've completely re-tooled >> myself for serious application development. It's a lot to digest >> end to end, but it is possible to learn and do. >> >> I selected the MyEclipse plugin as a necessity to travel this kind >> of development spectrum. Using Eclipse was without question, and >> I needed the breadth of tools bundled by MyEclipse. It didn't >> hurt that it had an attractive price for the features. These were >> the same reasons that I selected Geronimo as an Application Server >> Platform. >> >> The largest problems I've had in this journey have been >> integration between the development environment, Eclipse, and the >> Application Server, Geronimo. I now completely understand the >> term "Death by Configuration". I've also lacked a decent end to >> end tutorial for this integration. I've humped through the >> MyEclipse examples using JBoss or Weblogic and successfully >> transposed them into Geronimo utilizing the wiki examples and a >> little help from the list. >> >> At last, I see the nirvana of configuration management available >> via XDoclet! >> >> So here's the question: >> >> How do I get OpenEJB XDoclet support integrated into MyEclipse? >> I've tried adding the openejb subtask to the Standard EJB task and >> I generate a blank openejb-jar.xml file. I'd really like to >> manage my CMP field mappings in ths manner if possible. >> >> >> Is anyone using XDoclet support to generate the openejb-jar.xml, >> or geronimo-application.xml, or geronimo-web.xml? If so, where do >> I find documentation/tutorial on its usage? >> >> >> >> Perhaps all the answers lie at http://xdoclet.sourceforge.net/ >> xdoclet/ant/xdoclet/modules/openejb/ejb/OpenEJBSubTask.html , and >> I will be studying it further. I would however prefer to find >> some sage advice in my journey:) >> >> >> >> Thanks to All for the work everyone does on Geronimo! >> >> Mark Aufdencamp >> Mark@Aufdencamp.com >> > --Apple-Mail-17-344184378 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
On Apr 9, 2007, at = 10:20 AM, Mark Aufdencamp wrote:

= Thanks for the advice David.=A0 I'm still using Geronimo 1.1 and haven't = even looked at 2.0 yet.=A0 MyEclipse is also lacking in support of EJB = 3.0 standards.
=A0
I have the O'Reilly = "Enterprise JavaBeans 3.0" sitting on my desk.=A0 I'm mired in that = bleeding edge boundary and have been trying to learn the current = production (EJB 2.1 and Geronimo 1.1/1.2) method while keeping an eye = towards the future (EJB 3.0 and Geronimo 2.0).=A0 Having tutorials on = the legacy way have significantly influenced my learning = direction.
=A0
I've presumed that a migration = path exists for 2.1x CMP to JPA.=A0 I've also looked at Hibernate from = the web container as an option.=A0 The apps not very big at this point, = so I can afford to re-tool it in the next = version.

I think you will have to convert = any cmp entity beans you have to jpa by yourself. IMO its a much much = much better approach to start with jpa if there is any possibility at = all.=A0 There are quite extensive docs for openjpa, and it only took me = a couple of days starting from no jpa knowledge to convert daytrader to = jpa using those docs.

I don't have any first hand = experience with hibernate but have heard rumors that openjpa performs = better.=A0 In any case if you go with hibernate I hope you use the jpa = interfaces to enable portability.

=
=A0
Does a document exist yet on the geronimo = specifics of performing a migration from 1.1/1.2 to 2.0 that discusses = the shift from CMP to JPA?

1.2 supports jpa, although you = have to tell it about the persistence units and persistent unit refs in = a non-spec compliant way.=A0 Container manager persistence contexts are = available from web and ejb applications.
=
=A0
Not having an IDE based tutorial that takes one = through the whole stack with the application server really extends the = learning curve!

maybe..... cmp bean mapping = stuff could easily be harder to learn with a tutorial than jpa with the = openjpa docs.

thanks
david = jencks



=
=A0
Anyway, thanks for the answer on the lack of decent = XDoclet support.

-------- Original Message --------
Subject: Re: XDoclet = Support for OpenEJB - Generating the
openejb-jar.xml with = MyEclipse
From: David Jencks <david_jencks@yahoo.com>
D= ate: Mon, April 09, 2007 9:50 am
To: user@geronimo.apache.org
<= BR> I cannot express how strongly I recommend that you use jpa rather = than cmp for any project you have any control over, such as new = development.

I = believe the xdoclet stuff you refer to doesn't work at all with = geronimo-openejb, I think it is for openejb 1 which is not integrated = with geronimo. =A0In any case using ejb 3.0 with annotations is a much = better solution.

=
thanks
david jencks

On Apr 9, = 2007, at 9:08 AM, Mark Aufdencamp wrote:

=
Hi All,
=A0
I've been quietly lurking on the = list for the last eight weeks working on the opposite ends of a web = application.=A0 I've scaled the AJAX-JavaScript-Struts integration = mountain and I've just completed deploying my first Entity Bean's using = CMP.=A0 You'll may recall that I previously conquered web container = realm authentication and application security integration, as well as = Session EJB's.=A0 Throw in some HTML and CSS learning for good measure = and in a manner of four months I've completely re-tooled myself = for=A0serious application=A0development.=A0 It's a lot to digest end to = end, but it is possible to learn and do.
=A0
I = selected the MyEclipse plugin as a necessity to travel this kind of = development spectrum.=A0 Using Eclipse was without question, and I = needed the breadth of tools bundled by MyEclipse.=A0 It didn't hurt that = it had an attractive price for the features.=A0 These were the same = reasons that I selected Geronimo as an Application Server = Platform.
=A0
The largest problems I've had in = this journey have been integration between the development environment, = Eclipse, and the Application Server, Geronimo.=A0 I now completely = understand the term "Death by Configuration". =A0I've also lacked a = decent end to end tutorial for this integration.=A0 I've humped through = the MyEclipse examples using JBoss or Weblogic and successfully = transposed them into Geronimo utilizing the wiki examples and a little = help from the list.
=A0
At last,=A0I see the = nirvana of configuration management available via XDoclet!
=
=A0
So here's the question:
=A0
=
How do I get OpenEJB XDoclet support=A0integrated into MyEclipse?=A0 = I've tried adding the openejb subtask to the=A0Standard EJB task and I = generate a blank openejb-jar.xml file.=A0 I'd really like to manage my = CMP field mappings in ths manner if possible.
=A0
=
=A0
Is anyone using=A0XDoclet support to generate the = openejb-jar.xml, or=A0geronimo-application.xml, or=A0geronimo-web.xml?=A0 = If so, where do I find documentation/tutorial on its usage?
=
=A0
=A0
=A0
Perhaps all the = answers lie at http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modul= es/openejb/ejb/OpenEJBSubTask.html , and I will be studying it = further.=A0 I would however prefer to find some sage advice in my = journey:)
=A0
=A0
=A0
Thanks = to All for the work everyone does on Geronimo!
=A0
=
Mark Aufdencamp
=
=A0


= --Apple-Mail-17-344184378--