persistence@glassfish.java.net

Re: Can JPA Be Used In Web Start?

From: Johannes Hoehne <rt30_at_retail-sc.com>
Date: Wed, 2 Jan 2008 17:28:42 +0100

Hallo Lance,
I'm sorry but I think that there is an misunderstanding. I don't use any
Webstart. I'm developing ordinary EJB applications and I want to switch
our persistence framework to a JPA conform one.

Johannes Höhne





"Lance J. Andersen" <Lance.Andersen_at_Sun.COM>
Sent by: Lance.Andersen_at_Sun.COM
02.01.2008 17:23
Please respond to
persistence_at_glassfish.dev.java.net


To
persistence_at_glassfish.dev.java.net
cc

Subject
Re: Can JPA Be Used In Web Start?






Tim Quinn wrote a couple of blogs on how to use Java webstart with GFv2
with appclients. I have not tried this myself, but this should give you
enough to get started.

Also the GFv2 docs should have info on using webstart with application
clients.

Regards
lance

Johannes Hoehne wrote:

Thank you for your quick answer. But I'm not able to see how this would
solve my problem. Your code example creates the entity manager i an
explicit way and uses RESOURCE_LOCAL as transaction type. Our EJBs must
use JTA and an injected entity manager.
I need a kind of a trick to use a jndi name but not the real name of the
orm.xml file in the persistence.xml

Johannes Hoehne
RSC Commercial Services OHG
Wanheimer Straße 70, D-40468 Düsseldorf
Registergericht: Düsseldorf, HRA 12655

--
RSC Commercial Services OHG
Wanheimer Strasse 70, D-40468 Duesseldorf
Registergericht: Duesseldorf, HRA 12655