Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring web services

 
louise rochford
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Craig & Ryan,

I've been using Spring for about 18 months now, but in a sort of 'get it going as the framework, then forget about it' kind of way. The framework moves fast and I'm sure its about time we reviewed how we hook into Spring.
Does the book cover integration with Struts? We do integrate, but probably not in the best way any more.

Also, I'm about to start developing Web services & I notice that there are web service classes in Spring. Does the book cover this? Do you need to use the rest of the Spring MVC to make use of these? (Maybe this would be a nice way to start migrating to use the Spring MVC instead of Struts?)

Regards,
Louise
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There was a dicussion some time back
http://www.coderanch.com/t/59778/oa/Spring-Web-Services
 
louise rochford
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link Pradeep.

There is a very short section in the HTML docs for version 1.1.5 which talks about exposing your bean as a web service (probably added since Lasse commented - the framework moves fast).

I was wondering if the topic is covered in the Spring in action book & if I need to use the Spring MVC to use it.

Thanks,
Louise
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by louise rochford:
There is a very short section in the HTML docs for version 1.1.5 which talks about exposing your bean as a web service (probably added since Lasse commented - the framework moves fast).

Heh. Apparently it was added in 1.1.5 only 2 days after my post
The docs for 1.1.4 didn't say a word about exporting beans as JAX-RPC services as far as I could tell...
 
Craig Walls
author
Ranch Hand
Posts: 363
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lasse Koskela:

Heh. Apparently it was added in 1.1.5 only 2 days after my post
The docs for 1.1.4 didn't say a word about exporting beans as JAX-RPC services as far as I could tell...


Right...at the time we were writing Spring in Action, the ability to expose beans as JAX-RPC services didn't exist--and therefore we didn't cover it. But we did cover how to wire a web-service into your application as a Spring-managed bean. This is a cool trick because any bean that uses the web-service doesn't need to know that it's dealing with a web-service...for all it knows it's just a POJO.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic