This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Spring web services

 
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
 
Ranch Hand
Posts: 8934
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There was a dicussion some time back
https://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
 
author
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...
 
author
Posts: 396
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.
 
I will suppress my every urge. But not this shameless plug:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!