eugene.polschikov
eugene.polschikov

Reputation: 7339

Solution for easy generating rest services?

We have a application which works with MySql database. Now we are implementing mobile version of our application and I'm looking for java solution for easy generating rest services from already ready sql queries.

Details on security and performance: Security is required (LDAP). Performance - working time of rest request should be approximately equals working time of sql request.

What solutions can be used for it?

Upvotes: 5

Views: 463

Answers (9)

Saqlain
Saqlain

Reputation: 17928

In the Java™ world, you can build a RESTful web service in several ways: Some folks use JSR 311(JAX-RS) and its reference implementation Jersey, others use the Restlet framework, and some might even implement from scratch. Spring framework for building Java EE applications, also supports REST in its MVC layer.

http://www.ibm.com/developerworks/webservices/library/wa-spring3webserv/index.html

Below article also covers RESTful web services api using java and mysql

http://www.9lessons.info/2012/09/restful-web-services-api-using-java-and.html

Upvotes: 0

Pete B.
Pete B.

Reputation: 3286

Consider doing web services in PHP. No need for anything other than Tomcat, and offers LDAP verification. It is very quick time to market, and PHP works with MySql pretty seamlessly.

Upvotes: 1

Jeevan Patil
Jeevan Patil

Reputation: 6079

You can use spring-rest or grails to develop rest services.

Upvotes: 1

Joe2013
Joe2013

Reputation: 997

For Mobile applications, REST is the best recommended architecture. But you have to ensure the session handling at the client side (recommended).

Eclipse -> Webservice -->Create a Sample Rest Webservice will be a good starting point

Upvotes: 1

basav
basav

Reputation: 1453

If you are looking for just CRUD REST services - one of the above tools suggested by others can help.

But for something more check - Dropwizard

my 2c

Upvotes: 1

javadev
javadev

Reputation: 1669

I recommend using netbeans to generate rest webservices from database tables. Netbeans also offers the ability to generate REST webservices from entity beans (JPA entities). Have a look at this link.

Upvotes: 1

Moshe Shamy
Moshe Shamy

Reputation: 117

I suggest using spring roo very easy to use

Upvotes: 1

araknoid
araknoid

Reputation: 3125

You can give a look at Developing REST Web Services Tutorial.. not sure if it's the best solution but could be one... I used it twice and found it usefull and really easy.

Upvotes: 0

alexander.antsypov
alexander.antsypov

Reputation: 308

I think the best solution is REST4Enterprise also can take a look on and restSQL

Upvotes: 2

Related Questions