Thanks,Jason. But that comes another question.you said "keep it in a class separate from the JSF managed beans that are directly used for controlling the view", I like this approach. But how do you manage to get the Entity Manager in those plain POJO. I know how to do it in a servlet or
in a JSF managed bean but not for plain POJO? Thanks.
[Message sent by forum member 'bobxu' (bobxu)]
http://forums.java.net/jive/thread.jspa?messageID=280011