Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MVC framework for huge Java EE application

Tags:

java

java-ee-5

Which MVC-framework is the best option (performance/ease of development) for a web application, that will have + 2 million visits per week.

Basically the site is a search engine,but also there will be large amounts of XML parsing, and high db traffic.

We are using Java, over Jboss 4.2.3x, with PG as DB, and Solr for the searches.

We were thinking on code JSPs with taglibs, and Servlets, but we were feeling like there would be a better alternative, which don't know yet, as we are starting on the Java Web applications world.

Any opinions, and shares of your experience will be appreciated!
Thanks in advance!

like image 759
Mg. Avatar asked Dec 05 '25 08:12

Mg.


2 Answers

I think you really need to sit down with the options, and assess each one (or combination thereof).

Some possible framewords that you might use (that come to mind, beyond plain old JSPs with Servlets) are:

  • Struts and Tiles
  • Spring
  • Hibernate
  • Roll your own framework (often worthwhile for large projects, but only if you know what you need which is unlikely if you haven't done web apps before)
  • Grails (Groovy on Rails, but it runs on the JVM and can use Java libs)

and many more I'm sure...

Do you want to reinvent the wheel? What client-side frameworks will you also want to use?

like image 114
JeeBee Avatar answered Dec 07 '25 04:12

JeeBee


Spring MVC may be your best choice. While it is easy to use and integrate with the rest of the Java EE stack, it allows a huge level of customization, and last but not the least, it is really fast because there's little overhead. I highly recommend it.

like image 35
Antonio Avatar answered Dec 07 '25 05:12

Antonio