File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Spring web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring web services" Watch "Spring web services" New topic
Author

Spring web services

louise rochford
Ranch Hand

Joined: Apr 04, 2002
Posts: 119
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

Joined: Feb 27, 2002
Posts: 8919

There was a dicussion some time back
http://www.coderanch.com/t/59778/oa/Spring-Web-Services


Groovy
louise rochford
Ranch Hand

Joined: Apr 04, 2002
Posts: 119
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
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...


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Craig Walls
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 301
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.


Spring in Action - Unleash POJO power in your applications!
Modular Java - Discover the secret weapon to modularity on the Java platform!
XDoclet in Action - Your complete guide to code generation with XDoclet.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring web services