hello, i defined my ejb 3.0... created a persistence.xml with a pu in the meta-inf folder. using eclipse with maven2 plugin (all dependicies are correct)
Exception: javax.persistence.PersistenceException: No Persistence provider for EntityManager. i'm not the only one with this problem, but no solution found... persistence.xml wouldn't be found... should i define something else?? any solution stephan 2006/6/29, stephan opitz <[EMAIL PROTECTED]>:
thx... thats great... i learned on studying the mailreader example... when it is ready to service... i'm right now writing on an application using mailreader as base... thats why it will be great using/learning from yours... using hibernate and ejb 3.0 is not so simple - i could find an example... maybe you have one? or can implement an how to look like in mailreader? stephan 2006/6/29, Craig McClanahan <[EMAIL PROTECTED]>: > On 6/29/06, stephan opitz <[EMAIL PROTECTED]> wrote: > > > > hello... > > > > does exist any kind of good example which include in the controller > > component hibernate with normal pojos or maybe already ejb 3.0??? > > > I am almost through with a Shale+EJB3 (well, actually its Shale+JPA) > example. It's the good ol' Struts MailReader application, recast to use the > new Java Persistence Architecture for talkng to the database. One nice > thing about it (courtesy of Java EE 5) is you get dependency injection of > things like the entity managers into your managed beans (including the view > controllers behind each page). This will get included (eventually) as a > formal Shale example later on. > > An application that used Hibernate for persistence woud be virtually > identical in overall structure ... the concepts behind Hibernate and JPA are > pretty similar for this kind of usage, although many of the details > definitely differ. > > stephan > > > Craig > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]