users@glassfish.java.net

Re: starting with JPA toplink essentials

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Sat, 21 Jul 2007 14:41:50 -0700

Hi Bruno,

Did you look into Java EE 5 Tutorial?

thanks,
-marina

brunosm wrote:
> Hello
>
> I am starting with JPA
>
> It seems that in my test project, EntityManager doesnt run in "any" class
>
> In fact, in the backend beans of the jsps (Java verver faces), it
> runs...but if i create it in another class ("business class") it doesnt
>
> My idea is creating one "business class", and access it from one backend
> bean. But crash
>
> Am i losing something?
>
> How to manage one mvc without EJB?
>
> Whats the condition to make one class to call the "persist" method
> succesfuly?
>
> I feel lost
>
> Of course i dont want to implement the entity beans in the backend beans..
>
> Thank you
>
> Bruno Sanz
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>