I'm currently working on a project where the front-end has to be a mobile application or a website.I want the back-end to be in java.I want to use rest as communication between the front-end and back-end. My question is : Is there a java web framework that has some kind of user management (with maybe webservices to login and signup users). For example so that the login details can be send from the front-end to webservice and then would see if it's correct etc..
-
Where are you planning to maintain the user records, in your custom data store (ldap , db) or you want to leverage using exiting store like google accounts, open ids.billygoat– billygoat2011-03-01 16:57:12 +00:00Commented Mar 1, 2011 at 16:57
-
I believe most of the answers you will get will not be specific. There are three major rest frameworks in java, Jersey (based on Jax-rs spec), Restlet and Spring 3.0 (does not comply with Jax-rs). The easiest way to get started is using spring 3.0 Rest framework. You need to be comfortable with Dependency Injection and some other spring niceties, but to have a working copy you could just use spring roo and get it done within 15 mins.blog.springsource.com/2009/05/27/roo-part-2billygoat– billygoat2011-03-01 17:03:52 +00:00Commented Mar 1, 2011 at 17:03
-
The reason I say easiest is Spring Roo will expose your entities ( in this case user tables) as rest api and spring security module can add authentication framework on top of it without much coding.billygoat– billygoat2011-03-01 17:05:07 +00:00Commented Mar 1, 2011 at 17:05
7 Answers
Look at Google App Engine (which also includes free hosting).
1 Comment
I would suggest using Grails which has a rich catalog of plugins, including the spring security plugin which should do as you require without having to write much code.
If you must use Java only, then Spring MVC with the Spring Security is a good option.
Comments
For REST I'd look at jax-rs(RESTEasy) or sitebricks
2 Comments
Take a look at CUBA Platform. It has pretty strong back-end and admin UI plus generic REST-API with Google Polymer UI for custom mobile applications or web sites. http://github.com/cuba-platform/cuba