What is the simplest way to create web service?

I'm planing to write some web service from scratch. The service must be secured & will massivelly use the DB.

I looking for framework(s) for completing such project without reach expirience in web developing.

It must be:

  • Easy to learn/use
  • Fast & iterative development
  • Scalable (the service can grow into complex project with huge db)  
  • Ability to upgrade the system on the fly (upgrade of functionality + db)
  • And of course freeware as much as possible 

 

I taking this project as study case - so any platforms/languages/methodologies will be taken into account.

Comments

I think the classic approach in the java world today would be Spring+Hibernate+cxf+tomcat. you can consider spring ws instead of cxf. but I'm sure some people will have more creative advices like grails or django.

For the last 3 bullets, check out Akka. It is focused around enterprise applications, has integration with many databases, can upgrade on the fly and is free. Because you'll be using Scala you can also obtain a free JRebel license.

 

However, it is not easy to learn, and without JRebel I'm not sure how iterative development is.

 

For the first 2 bullets, you might want to try the play framework. Google shows this blog for how to set up a REST service: http://coffeebean.loicdescotte.com/2010/05/how-to-write-restxml-api-with-play.html. It can reload code on the fly.

I tryed Play Framework - it is very simple to use, very cool framework. I played with Play for few hours & got only positive expirience!

Thank you!

Security wise (e.g. authentication + authorization) you can combine Spring security + LDAP template coupled with ApacheDS/OpenLdap/Active directory.