Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What stack would you use for a new web Java project if you started today? [closed]

If you were to start a brand new Java project today with the following requirements:

  • high scale (20k+ users)

  • you want to use something that is fairly mature (not changing dramatically) & wont be dead technology in 3 years

  • you want something very productive (no server restarts in dev, save the code and its automatically compiled and deployed), productivity and time to market are key.

  • some amount of AJAX on front end

  • no scripting language (JRuby, Groovy, PHP etc.), it has to be Java

  • has to support i18n

What stack would you use & Why? (when I say stack, I mean, everything soup to nuts, so app server, mvc framework, bean framework, ORM framework, javascript framework, etc...)

like image 699
Joelio Avatar asked May 27 '10 20:05

Joelio


1 Answers

I would consider using a Java EE 6 stack:

  • GlassFish v3 as app server: not heavy, very productive during development (and GlassFish 3.1, to be released before the end of the year, will have Centralized Administration / Clustering and High Availability / State Replication)
  • JQuery, JSF 2 (or Wicket) for the presentation
  • CDI, EJB 3.1 (Lite?), JPA 2.0 (Hibernate 3.5+ or EclipseLink)
  • Arquillian(1) with Weld SE and/or GlassFish Embedded for testing

(1) See also:

  • Testing Java EE the JBoss way
  • Arquillian 1.0.0 Alpha2 - Released
like image 87
Pascal Thivent Avatar answered Sep 18 '22 09:09

Pascal Thivent