Please excuse this beginner's question but what bothers me last few days is:
I have ejb
project. In the same package i have plain Java
class as well as session bean, which uses JPA entityManager to persist data.
Now my question is, is it possible to call that session bean inside of "plain" Java class? I know i can't use annotation. Trying to get bean with context lookup method has gave me headacke only so far...Please any suggestions would be appreciated.
Thank you all in advance.