7

Areas, in ASP.NET MVC, are handy for breaking a site into smaller, manageable components at a higher level than controllers. They are like mini-MVC pieces within a web application.

Is there an equivalent concept in any Java MVC framework to ASP.NET Areas?

If not, are there any suggestions on best practices when emulating their functionality in a Java MVC framework?

PeeHaa
  • 71,436
  • 58
  • 190
  • 262
Aj-itator
  • 211
  • 3
  • 6

4 Answers4

2

Try Spring MVC. This may be fulfill your wish.

Sai Ye Yan Naing Aye
  • 6,622
  • 12
  • 47
  • 65
0

Look at JSP Tiles and Velocity Templates. Tiles should look similiar to Areas.

SriN
  • 54
  • 8
0

As such, Java EE does not provide an out of box solution based on MVC but there are many OpenSource projects that have created a solution which implement a MVC framework - try the latest Spring and Struts versions.

Arjan Tijms
  • 37,782
  • 12
  • 108
  • 140
user1428716
  • 2,078
  • 2
  • 18
  • 37
0

Take a look on this Web Framework for java: playframework