This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Technologies needed for a small e-commerce website?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Technologies needed for a small e-commerce website??" Watch "Technologies needed for a small e-commerce website??" New topic
Author

Technologies needed for a small e-commerce website??

Sammy Bill
Ranch Hand

Joined: Dec 29, 2008
Posts: 96
Hello Ranchers,

I m working on a small E-commerce website that i have to implement in Java EE 5.

What technologies do you advice to use for each layer??


Thanks in advance.
Oussama
Reza Rahman
author
Ranch Hand

Joined: Feb 01, 2005
Posts: 580
    
    5
Oussama,

Presentation tier: JSF/Seam
Service tier: EJB 3/Seam
Persistence tier: JPA

Hope this helps.

Reza


Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41085
    
  43
You're really not going to get a useful answer to a question like that. Everybody's got their favorite library/technology that they're going to pitch, but that doesn't mean that it's appropriate in your case. It depends so much on the expertise of the team that will develop this, the expertise of the team that is going to maintain this, the infrastructure to be used, etc. - all of which we know nothing about.


Ping & DNS - my free Android networking tools app
Reza Rahman
author
Ranch Hand

Joined: Feb 01, 2005
Posts: 580
    
    5
Oussama,

Ulf is of course right. You can use Spring instead of Seam/EJB 3 and Struts 1, Struts 2, Spring MVC, Wicket, etc instead of JSF. You can also use Grails/Rails on top of a Java EE 5 server, so in theory it will still be a "Java EE 5" application.

I noted Seam/EJB 3 because it is more tightly integrated with Java EE 5 and it is also obviously my preferered platform. Some of my clients also choose to use EJB 3 and Spring together without Seam and the results are very good.

As I see it, the Seam/EJB 3 stack is simpler to learn but the Spring stack is more flexible. If you would like to work with components/events/AJAX, JSF is the way to go. If you don't, the other web frameworks are a toss-up. Wicket is particularly lightweight. You can consider Grails/Rails if you prefer dynamic languages but they are less performant and can be harder to maintain/debug, especially with larger teams. Grails/Rails is not something I recommend.

You can use plain Hibernate for persistence, but I really would not recommend it. Neither would I recommend TopLink, JDO, etc. Spring JDBC or iBATIS can be the right choice if you want to stay away from heavy ORM or have a legacy database. Otherwise, these don't make much sense either.

Hope this helps,
Reza
 
wood burning stoves
 
subject: Technologies needed for a small e-commerce website??
 
Similar Threads
Help with my graduation project
Books on Real time J2ee development
Info Please ...
[ ANN ] MerchantSpace Commerce 2.9 released
Let's stop adding new "technologies"