Forums Register Login

Simple JPA application on TOMEE

+Pie Number of slices to send: Send
Hi Guys,

I am trying to run a simple JPA application on TOMEE.
I have an EJB which gets reference to EntityManager using annotation. I could successfully look-up EJB and invoke its method, but 'EntityManager' is not getting injected.
This is what I have done:
1) EJB code:


2) Persistence.xml


Any idea/input would be very helpful....
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2168 times.
Similar Threads
Spring WEB MVC 3.0 using org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport
how this program works i didn't understand
packages and CLASSPATH
usage of "this"
The "this" keyword and the constructor.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:24:52.