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 sig开发者_JAVA技巧nup 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..
Look at Google App Engine (which also includes free hosting).
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.
Struts, Spring MVC, JSF are some common examples which are widely used.
Spring 3.0 MVC would be a good place to start for the back-end. This will give you the basic REST web service support. You can probably tie in spring security to get some basic user management also
For REST I'd look at jax-rs(RESTEasy) or sitebricks
Lift (Scala based web framework) has a nice set of pre-built user management support
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
精彩评论