persistence@glassfish.java.net

Re: Can JPA Be Used In Web Start?

From: Lance J. Andersen <Lance.Andersen_at_Sun.COM>
Date: Wed, 02 Jan 2008 11:14:20 -0500

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