So, I've got a small project here at work and I'd like to use Java EE 5 (EJB 3) to build it, if possible. I've never build an app w/ EJB (any version) before but have build a few mid-sized applications w/ Java 5, Servlets, JSP, Hibernate, etc. and would really like to learn...but using EJB 3, not 2.1. I've read a couple of books and understand the high-level concepts of EJB but not enough detail.
I just started thinking about requirements and what it boils down to is a fairly straight-forward shopping cart for B2C sales. For what little I know...here's what I'm thinking for basic technological requirements:
- JSF/JSP for presentation - EJB 3 for application layer(s) - Entity beans for domain model - Session beans for application logic - EJB 3 Persistence for data-access (Hibernate)
I'd really like to stick to the refrence standards. I know Java EE 5 isn't entirely complete yet but it appears to be fairly close and I've heard good things about the JBoss EJB implemenation. Can someone suggest a better (open source) app server/container? This application is important but not "mission critical"...and it certainly won't need to scale to infinite heights. However, I'm hoping that by using EJB, we could easily scale it out in the future, if necessary.
Please correct me where I'm wrong and add details...I really need some help understanding the conceptual approach! Thanks!