Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Java have an equivalent to ASP.NET MVC's sample site - specifically with authentication?

I'm trying to develop a simple website that employs forms authentication, but I do not want to build the authentication framework from scratch. ASP.NET MVC provides a great sample website with authentication built in, but I would rather use Java technologies so that I can lower start-up cost by utilizing open source software. Does Java (any framework) have an equivalent?

like image 852
Nathan Murray Avatar asked Jan 24 '11 18:01

Nathan Murray


1 Answers

For a Java based, clean, bloat-free MVC web framework, take a look at Play:

http://www.playframework.org/

For authentication, take a look at this link:

http://www.playframework.org/documentation/1.1/guide8

The above page is part of the Play framework tutorial:

In this tutorial you will learn the Play framework by coding a real web application, from start to finish. In this application, we will try to use everything you would need in a real project, while introducing good practices for Play application development.

But, by the way, ASP.NET MVC is open source... And you always have the option of using it with Mono (ASP.NET MVC is compatible with it) and Linux. So you can have a complete open-sourced solution based upon it - and without learning a whole new environment.

like image 94
rsenna Avatar answered Oct 03 '22 11:10

rsenna