Would you use JPA2 with Servlets/JSP instead of JSF?
If not, why?
SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
posted 6 years ago
That is not really a question relating to persistence so much as presentation technology. Both servlets and JSF are integrated with JPA, so you can use either one. If you use JSF in a Java EE 6 container like Glassfish, though, then you could use the new Contexual Dependency Injection spec to share managed beans across JSF and the component layer, which makes things easier to code.