This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Is there a better Web Application (J2EE) framework that we can use?

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We're developing a request tracking tool and plan to use the Apache Struts framework for the project. The application would be based on an MVC architecutre and uses DB2 as the database and runs on WebSphere Application Server. Please suggest any better proven frameworks, persistence frameworks etc.
 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

What version of Struts are you thinking of using? Struts 2 has come under some flak for its templating mechanism (apparently the basics don't cover what you really need to do in an actual web-app and making your own is quite tough).

There are a wealth of options these days (I'm actually investigating myself out of curiosity)

* Spring MVC seems to be fairly popular and fits nicely with Spring Core. It also can apparently have Grails running on top of it (Grails being a convention over configuration framework which in theory would speed up your development).

* Wicket and Tapestry are also talked about

There are probably lots more!

Disclaimer: I'm not a front end developer, so take my words with a grain of salt

* Hibernate is seen as a defacto standard for data persistence. EJB3.0/3.1 is the other standard, both use JPA underneath so they're quite close to eachother

Hope that helps a little!
 
Bartender
Posts: 9583
13
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Martijn Verburg wrote:
Struts 2 has come under some flak for its templating mechanism (apparently the basics don't cover what you really need to do in an actual web-app and making your own is quite tough).


Are you referring to Scott's comments in the Moderators Only forum? I've used Struts 2 for two web apps that have made it into production and I'm pleased with it. Maybe he can chime in with specific things to be wary of.
Struts 2 can be used with Spring if you want the best of both frameworks.
This is my typical "which front-end framework" post.

 
Martijn Verburg
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Joe Ess wrote:
Are you referring to Scott's comments in the Moderators Only forum?


Partly that and partly from discussions I've had with some members of the London Java Community (Actual meet-up group), a couple of people there effectively echoed the same statements. There's a debate going on on the LJC mailing list at the moment on this topic, looks like it'll form the basis of the next meeting .

Joe Ess wrote:
I've used Struts 2 for two web apps that have made it into production and I'm pleased with it. Maybe he can chime in with specific things to be wary of. Struts 2 can be used with Spring if you want the best of both frameworks.



See! This is definitely why my thoughts on front end development should be taken with a great deal of skepticism .

Joe Ess wrote:
This is my typical "which front-end framework" post.



Neat link(s)! That's exactly what I was looking for, thanks Joe.
 
Joe Ess
Bartender
Posts: 9583
13
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Martijn Verburg wrote: . . .a couple of people there effectively echoed the same statements.



Between your sources and the conversation in MO, I'm beginning to wonder what I'm missing out on. . .

Martijn Verburg wrote:
Neat link(s)! That's exactly what I was looking for, thanks Joe.



Here's another you and Anshul may be interested in: Which is the Hottest Jave Web Framework?
 
Martijn Verburg
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Joe Ess wrote:
Between your sources and the conversation in MO, I'm beginning to wonder what I'm missing out on. . .



I suspect (without knowing anything about Struts 2) that Scott and the others simply hit a use case that wasn't so great for them, perhaps it's not a common use case?

Joe Ess wrote:
Here's another you and Anshul may be interested in: Which is the Hottest Jave Web Framework?



Cool, I've added that to the list of resources for our next LJC meeting, thanks again!
 
author
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anshul,

It is very difficult to recommend a web framework that is universally acceptable and a lot of times it comes down to an artibrary choice/personal taste. I personally recommend JSF. It is the clear winner in terms of market share/adoption, is a Java EE standard with competing coomercial and open source implementations, has very good third-party vendor/component/tool support, is component based instead of template/controller based and can be used in conjunction with Seam/Facelets, both of which have some very nice features.

Hope it helps,
Reza
 
I can't take it! You are too smart for me! Here is the tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!