Felipe Gaścho wrote:
> just a question:
>
> why to use
>
> @PersistenceUnit
> EntityManagerFactory emf;
>
> instead of inject directly the
>
> @PersistenceContext(name = "footprint")
> EntityManager manager;
>
>
> ??
>
> any advantage ?
>
> On Thu, Aug 13, 2009 at 2:48 PM, Arun Gupta<Arun.Gupta_at_sun.com> wrote:
>
>> And a blog explaining this + a complete web application accessing database
>> with a recent GlassFish v3 build is available at:
>>
>> http://blogs.sun.com/arungupta/entry/totd_93_getting_started_with >>
>> Thanks,
>> -Arun
>>
>> glassfish_at_javadesktop.org wrote:
>>
>>> You first want to create a connection pool which you can do using asadmin
>>> as detailed out here;
>>> http://docs.sun.com/app/docs/doc/816-6443/6mch3fo6p?a=view >>>
>>> And to create your jdbc resource follow this;
>>> http://docs.sun.com/app/docs/doc/819-3662/create-jdbc-resource-1?a=view >>>
>>> Cheers
>>> -- Imran
>>> [Message sent by forum member 'imranbohoran' (imranbohoran)]
>>>
>>> http://forums.java.net/jive/thread.jspa?messageID=360189 >>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>>
>> --
>> Need Application Server ? Download from http://glassfish.org >> Blog: http://blogs.sun.com/arungupta >>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>>
>
>
>
>