users@glassfish.java.net

Re: Library jar with JPA entity classes

From: Matthieu Bertin <matthieu.bertin_at_hypsoma.com>
Date: Sun, 03 Apr 2011 15:43:49 +0200

On 04/03/2011 03:35 PM, forums_at_java.net wrote:
> I dont want a single ear containing all
> theEJB's, as it would be huge and wouln't allow me to redeploy a single
> component at a time. The separate ears are to be deployed to a single
> Glassfish instance.
>
> - The jar needs a persistence unit that allows it to connect to a mysql
> database
>
> - The jar has JPA entity classes for persistence
couldn't that be done by creating an app which would present DAOs as
local EJBs?