2

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..

3
  • 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. Commented 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-2 Commented 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. Commented Mar 1, 2011 at 17:05

7 Answers 7

1

Look at Google App Engine (which also includes free hosting).

Sign up to request clarification or add additional context in comments.

1 Comment

Ohw i forgot to mention, this is a project for school, and it should be free, so this is not an option
0

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

0

Struts, Spring MVC, JSF are some common examples which are widely used.

Comments

0

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

Comments

0

For REST I'd look at jax-rs(RESTEasy) or sitebricks

2 Comments

jax-rs is something i'm familiar with, but i was wondering if there wasn't some kind of framework with a user management system too , or easy to add
I know you want java, but that best at that sort of thing is rails which you can use from jruby. Grails has some good plugins too, but still not java.
0

Lift (Scala based web framework) has a nice set of pre-built user management support

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.