quality@glassfish.java.net

RE: Question to engineers - JPA integration

From: Edson Richter <edsonrichter_at_hotmail.com>
Date: Mon, 22 Sep 2008 14:56:16 +0000

For sure, this is a good approach.
I think first (and main) pain point is the way JBoss handle the JNDI resources.
Maybe I'm wrong, but would be nice to review JBoss docs, and check if it's compliant to specs (AFAIK, there is no official spec about this, only recommendation).

Regards,

Edson




> Date: Mon, 22 Sep 2008 07:48:11 -0700
> From: Judy.J.Tang_at_Sun.COM
> To: quality_at_glassfish.dev.java.net
> Subject: Re: Question to engineers - JPA integration
>
> Hi Felipe and Edson,
>
> Thanks for your input. Here is what we can do, if JBoss applications
> which compliant with specs do not work in
> GlassFish, we can file a code issue attach the JBoss applications,
> developer can look into it. If JBoss applications
> which do not compliant with specs do not work in GlassFish, we can file
> a doc issue so we can help user to migrate
> JBoss to GlassFish. We like to get community help us is identify the
> migration issues, then we can work together
> to see how to fix them.
>
> Thanks,
> Judy
>
> Felipe Gaúcho wrote:
>
> >We will never blame nobody anyway :) I know there is a huge hype out
> >there about a lot of technologies and tools, but the general goal is
> >to have it working in the most number of environment as possible.. so,
> >I really don't care about brands and hypes, I am only looking for
> >confluence.. :)
> >
> >Problem is: people coming from the other side are reporting the same
> >type and amount of problems.. JBoss applications are having the same
> >nightmare moments to be migrated to Glassfish.......
> >
> >it is bad marketing to Java EE 5, once people start to believe there
> >is no standard at all :(
> >
> >
> >
> >On Mon, Sep 22, 2008 at 3:58 PM, Edson Richter <edsonrichter_at_hotmail.com> wrote:
> >
> >
> >>Please, don't blame me... but I think JBoss is not 100% compliant with
> >>specs...
> >>I had always big problems in migrating code for getting JNDI resources in
> >>JBoss.
> >>May be early releases of JBoss are more closer to specs, but I did give up
> >>at 3.0 release.
> >>
> >>Regards,
> >>
> >>Edson.
> >>
> >>
> >>
> >>________________________________
> >>
> >>
> >>>Date: Mon, 22 Sep 2008 09:05:43 +0200
> >>>From: fgaucho_at_gmail.com
> >>>To: quality_at_glassfish.dev.java.net
> >>>Subject: Re: Question to engineers - JPA integration
> >>>
> >>>not horror histories, but:
> >>>
> >>>I have a "standard" Java EE 5 application I never could mnage to run
> >>>under JBoss..
> >>>
> >>>The technology stack of the project is 100% Glassfish oriented:
> >>>Glassfish V2 / JPA/TopLink / EJB3 ....
> >>>
> >>>I tried to replace the deployment and the persistence descriptor to
> >>>support Hibernate and then I deployed on JBoss.. didn't work out..
> >>>
> >>>Some day in the near future I will do further trials... but my first
> >>>two or three days of trial errors were quite frustrating... including
> >>>tons of blogs and reports of other people experimenting the same
> >>>issues.......
> >>>
> >>>If I find time to try again and if it works, I plan to (at least) blog
> >>>something...
> >>>
> >>>On Sun, Sep 21, 2008 at 9:56 PM, Manfred Riem <mriem_at_manorrock.org> wrote:
> >>>
> >>>
> >>>>Not necessarily about Hibernate / JPA, but more about TopLink ->
> >>>>EclipseLink.
> >>>>I guess if you have horror stories it is time to speak up. Most of the
> >>>>time TopLink is enough for me so I tend to stick with it. And that migration
> >>>>path from TopLink to EclipseLink should be pretty easy.
> >>>>
> >>>>See the
> >>>>http://wiki.glassfish.java.net/attach/DeveloperSGuide/SJSASEEDG.pdf
> >>>>for the current most copy of the Developers Guide, page 59 and onward.
> >>>>
> >>>>
> >>>>
> >>>>>-----Original Message-----
> >>>>>From: Adam Bien [mailto:abien_at_adam-bien.com]
> >>>>>Sent: Sunday, September 21, 2008 1:45 PM
> >>>>>To: quality_at_glassfish.dev.java.net
> >>>>>Subject: Re: Question to engineers - JPA integration
> >>>>>
> >>>>>Hi Manfred,
> >>>>>
> >>>>>the only thing which I found was:
> >>>>>http://wiki.glassfish.java.net/Wiki.jsp?page=FaqJavaPersistenceAPI
> >>>>>But nothing specific - you found somehing about Hibernate / JPA / GF?
> >>>>>
> >>>>>Btw. I cannot send you emails directly - your provider doesn't like my
> >>>>>ip-address :-),
> >>>>>
> >>>>>thanks for your reply,
> >>>>>
> >>>>>regards,
> >>>>>
> >>>>>adam
> >>>>>Manfred Riem schrieb:
> >>>>>
> >>>>>
> >>>>>>Hi Adam,
> >>>>>>
> >>>>>>See the Developers Guide in the documentation for references and
> >>>>>>
> >>>>>>
> >>>>>links
> >>>>>
> >>>>>
> >>>>>>Manfred
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>-----Original Message-----
> >>>>>>>From: Adam Bien [mailto:abien_at_adam-bien.com]
> >>>>>>>Sent: Sunday, September 21, 2008 9:42 AM
> >>>>>>>To: quality_at_glassfish.dev.java.net
> >>>>>>>Subject: Re: Question to engineers - JPA integration
> >>>>>>>
> >>>>>>>Hi Felipe,
> >>>>>>>
> >>>>>>>I would expect classpath problems / interferences only. I'm
> >>>>>>>
> >>>>>>>
> >>>>>especially
> >>>>>
> >>>>>
> >>>>>>>curious about the transactionality....
> >>>>>>>
> >>>>>>>Step by step intro, or even a JPA-Hibernate-OSGI-Bundle would be
> >>>>>>>
> >>>>>>>
> >>>>>nice
> >>>>>
> >>>>>
> >>>>>>>:-),
> >>>>>>>
> >>>>>>>regards & thanks,
> >>>>>>>
> >>>>>>>adam
> >>>>>>>Felipe Gaúcho schrieb:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>>>From my latest experiences, migration of deployment between JBoss
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>and
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>>Glassfish are hell :(
> >>>>>>>>
> >>>>>>>>I would be very happy with a clever step by step on how to convert
> >>>>>>>>
> >>>>>>>>
> >>>>>a
> >>>>>
> >>>>>
> >>>>>>>>JBoss application in a Glassfish application or the other way
> >>>>>>>>
> >>>>>>>>
> >>>>>round..
> >>>>>
> >>>>>
> >>>>>>>>(yes, it is possible but much more difficult than expected...)
> >>>>>>>>
> >>>>>>>>On Sun, Sep 21, 2008 at 3:51 PM, Adam Bien <abien_at_adam-bien.com>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>>>Hi All,
> >>>>>>>>>
> >>>>>>>>>I'm just wondering, whether the change of the JPA provider (e.g.
> >>>>>>>>>
> >>>>>>>>>
> >>>>>to
> >>>>>
> >>>>>
> >>>>>>>>>Hibernate) requires specific steps. Does GF rely on JPA API (e.g.
> >>>>>>>>>EntityManager) only, or is dependent on the implementation (SPI)
> >>>>>>>>>
> >>>>>>>>>
> >>>>>as
> >>>>>
> >>>>>
> >>>>>>>well?
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>>>The EntityManager has to enlist to current transaction - does it
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>happen
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>>>transparently (after setting the provider into the classpath and
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>changing
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>>>the persistence.xml)?
> >>>>>>>>>
> >>>>>>>>>thank you in advance,
> >>>>>>>>>
> >>>>>>>>>adam
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>------------------------------------------------------------------
> >>>>>>>>>
> >>>>>>>>>
> >>>>>--
> >>>>>
> >>>>>
> >>>>>>>-
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>>>To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> >>>>>>>>>For additional commands, e-mail: quality-
> >>>>>>>>>
> >>>>>>>>>
> >>>>>help_at_glassfish.dev.java.net
> >>>>>
> >>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>-------------------------------------------------------------------
> >>>>>>>>
> >>>>>>>>
> >>>>>--
> >>>>>
> >>>>>
> >>>>>>>>To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> >>>>>>>>For additional commands, e-mail: quality-
> >>>>>>>>
> >>>>>>>>
> >>>>>help_at_glassfish.dev.java.net
> >>>>>
> >>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>--
> >>>>>>>Consultant, Author, Java Champion
> >>>>>>>
> >>>>>>>Homepage: www.adam-bien.com
> >>>>>>>Weblog: blog.adam-bien.com
> >>>>>>>eMail: abien_at_adam-bien.com
> >>>>>>>Mobile: 0049(0)170 280 3144
> >>>>>>>
> >>>>>>>Books: Enterprise Architekturen (ISBN: 393504299X),
> >>>>>>>Java EE 5 Architekturen (ISBN: 3939084247),
> >>>>>>>J2EE Patterns, J2EE Hotspots, Enterprise Frameworks and
> >>>>>>>
> >>>>>>>
> >>>>>Struts
> >>>>>
> >>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>--------------------------------------------------------------------
> >>>>>>>
> >>>>>>>
> >>>>>-
> >>>>>
> >>>>>
> >>>>>>>To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> >>>>>>>For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>---------------------------------------------------------------------
> >>>>>>To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> >>>>>>For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>--
> >>>>>Consultant, Author, Java Champion
> >>>>>
> >>>>>Homepage: www.adam-bien.com
> >>>>>Weblog: blog.adam-bien.com
> >>>>>eMail: abien_at_adam-bien.com
> >>>>>Mobile: 0049(0)170 280 3144
> >>>>>
> >>>>>Books: Enterprise Architekturen (ISBN: 393504299X),
> >>>>>Java EE 5 Architekturen (ISBN: 3939084247),
> >>>>>J2EE Patterns, J2EE Hotspots, Enterprise Frameworks and Struts
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>---------------------------------------------------------------------
> >>>>>To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> >>>>>For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
> >>>>>
> >>>>>
> >>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> >>>>For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
> >>>>
> >>>>
> >>>>
> >>>>
> >>________________________________
> >>Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver
> >>offline. Conheça o MSN Mobile! Crie já o seu!
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>

_________________________________________________________________
Conheça o Windows Live Spaces, a rede de relacionamentos do Messenger!
http://www.amigosdomessenger.com.br/