0

I don't know if I should continue the other post of mine because this is a different question. But the questions are related.

I am looking for web java framework that: 1. will be MVC framework.
2. will be well documented.
3. will allow me use javascript of my own without using the framework modules.
4. will support feature like masterpage in asp.net.
5. will have the ability to create predefined components and use them wherever I need.

Is there something like this?
I appriciate very much examples for those features.

Community
  • 1
  • 1
Naor
  • 23,465
  • 48
  • 152
  • 268

3 Answers3

3

Judging by the tags you chose, it all points to:

Spring Web MVC framework

In my opinion it also satisfies your 5 requirements.

I would recommend using Spring Roo to generate your first project. Roo projects use the technologies that Ralph recommends:

  • JSPX, with some preconfigured tagx files
  • Tiles as templating framework

Roo will also setup Hibernate with Mysql, which are the technologies you mentioned in your other post

Heinrich Filter
  • 5,760
  • 1
  • 33
  • 34
  • (+1) using Roo at least a demo to have a look how that technology stack works is a good idea -- compleatly independend of the point if you want to use Roo or not – Ralph Jan 20 '12 at 15:51
  • Agreed Ralph. Even if you don't use Roo, the generated project is still a good reference point. It demonstrates Spring's chosen technology stack and their preferred configuration. – Heinrich Filter Jan 23 '12 at 08:16
1

I can't speak to #4, because I don't know masterpage, but Spring MVC satisfies the other four requirements. I'd recommend it highly.

Be warned that Spring has an MVC framework, but it's much, much more. It's a three-legged stool:

  1. Dependency injection and IoC
  2. Aspect oriented programming AOP
  3. Modules like MVC, persistence with JDBC and ORM, messaging, remoting, security, etc.
duffymo
  • 305,152
  • 44
  • 369
  • 561
1

I would recommend this setup:

  • Spring (Spring Core and Spring MVC),
  • Tiles,
  • JSPX (the X markes the spot)

Tiles for "support feature like masterpage in asp.net."

JSPX, because you can easyly write Tagx files to define your predefined components.

Ralph
  • 118,862
  • 56
  • 287
  • 383