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