This week's book giveaway is in the Design and Architecture forum.
We're giving away four copies of Communication Patterns: A Guide for Developers and Architects and have Jacqui Read on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Help w/ concepts: My first Java EE 5/EJB 3 app

 
Ranch Hand
Posts: 207
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
sunglasses are a type of coolness prosthetic. Check out the sunglasses on this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic