quality@glassfish.java.net

Re: Question to engineers - JPA integration

From: Adam Bien <abien_at_adam-bien.com>
Date: Sun, 21 Sep 2008 17:42:10 +0200

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