This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Groovy and the fly likes Grails for Web Services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Grails for Web Services" Watch "Grails for Web Services" New topic

Grails for Web Services

Chase Simms

Joined: Mar 21, 2008
Posts: 13
I took a quick look at the TOC and didn't see a mention of web services. Much of my time over the last year has been spent creating web services or applications that consume web services. Most of the services I create use multiple databases. I've been using Spring for data access and creating my web services.

Will Grails make my life easier? Are there any compelling SOA related features of Grails?
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Pretty interesting question and I am indeed looking for Dave's reply here!


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

Grails has RESTful web service support out of the box. There are also plugins available for some of the other web service libraries out there. As far as SOA I did run across this which seemed somewhat related.

GenRocket - Experts at Building Test Data
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Thanks for the info Gregg!
Chase Simms

Joined: Mar 21, 2008
Posts: 13
Thanks for the reply Gregg. I downloaded that paper. It's a little too much for me to digest right now. I have some production changes to roll out.

But I will look it over later. The more I've thought about it, the more convinced I am that I need to take a serious stab at Grails.
Dave Klein
Ranch Hand

Joined: Aug 29, 2007
Posts: 77
As Gregg mentioned, there are plugins that add support for many popular web services frameworks, such as Axis2, XFire, CXF, and Spring WS. There are also plugins for Apache Camel, ActiveMQ and JMS(in general). And more are being added all the time. You can find more info on the Grails plugin portal:


Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Wow what an article! What type of SOA related stuff are you trying to achieve?

===Vyas Sanzgiri===
My Blog
I agree. Here's the link:
subject: Grails for Web Services
Similar Threads
Groovy, Web Services and EJBs
Why should I choose Ruby?
Web services and Grails
Grails for Beginners?
* Welcome Dave Klein