• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

New to Spring and New to Web Services.

Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Posts: 17347
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

    Bookmark Topic Watch Topic
  • New Topic