It's not a secret anymore!
The moose likes Spring and the fly likes New to Spring and New to Web Services. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "New to Spring and New to Web Services." Watch "New to Spring and New to Web Services." New topic

New to Spring and New to Web Services.

Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
Hi, I am new to both the Spring framework and web services.

I already have web services code (see below) that works although the code is not written by me. That web service code is to query data.

Now, I have to use web services together with the Spring framework. I have no idea about where and how to start. I can only show the web services code here to see if anybody could point me a direction as to how to do it. Thank you.

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

First I'd read up about Web Services. To me that code is not a web service, it can't be inside a public static void main. Now it could be a client calling a web service, but not a web service.

Then I would read about Spring. and learn and understand Spring.

I wouldn't try to tackle both at the same time.

I might first start learning Spring, then as I got some of it down learn about Spring's Web Service or Spring's RESTful Web Service modules to make creating Web Service simpler. But there isn't anyway anyone could put all that into a post on a forum.

For instance, I teach the Core Spring class for SpringSource, and it is a four day class. We don't discuss Web Services till the fourth day and only talk about RESTful Web Services, in older versions of the class we discussed the Web Service Module instead of RESTful Web Services because the REST supported was a recent addition to Spring Framework in version 3.0


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: New to Spring and New to Web Services.
It's not a secret anymore!