Java Equivalent for ASP.NET MVC Areas
Asked Answered
Q

4

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?

Questionless answered 7/8, 2012 at 21:13 Comment(1)
See also list of other .NET <-> Java equivalencies. https://mcmap.net/q/265374/-analogues-of-java-and-net-technologies-frameworks/55452Poult
C
2

Try Spring MVC. This may be fulfill your wish.

Credence answered 8/8, 2012 at 6:59 Comment(0)
C
0

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

Cordwain answered 7/8, 2012 at 21:17 Comment(0)
P
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.

Pomposity answered 7/2, 2013 at 18:56 Comment(0)
P
0

Take a look on this Web Framework for java: playframework

Poteen answered 17/2, 2013 at 7:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.