[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?
ALRubinger
do-not-reply at jboss.com
Fri Mar 7 15:06:16 EST 2008
Jeremy:
BMP (Bean-Managed Persistence) is an EJB2 construct (noted by the "beans_2x" package in your sample).
So for this you'd have to construct a valid EJB2.0 deployable unit complete with ejb-jar.xml and other descriptors. Been a long while since I went this route.
What exactly are you trying to accomplish, just work through the book? As a practical measure, using an EJB3/JPA EntityManager with transaction-type="RESOURCE_LOCAL" might be more a line with giving you the finer-grained control of BMT within an EJB3 realm.
http://www.hibernate.org/hib_docs/entitymanager/reference/en/html/configuration.html
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134973#4134973
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134973
More information about the jboss-user
mailing list