Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring 3.0 and SOAP - What's best practice?

I'm reimplementing a web app in Spring, and I need to expose the business logic with SOAP. I'm going for Spring 3.0, and I'd like to know: what is the recommended way of exposing Spring beans? The rest of my stack is Tomcat 6, JDK 1.6, Struts 2.

Cheers

Nik

like image 658
niklassaers Avatar asked Nov 06 '22 20:11

niklassaers


1 Answers

You can use Spring WS if you are using Spring 3. The Spring folks prefer contract first web services which is outlined in the tutorial.

Alternately, Jersey-WS is really good for REST based web services.

like image 153
stevedbrown Avatar answered Nov 11 '22 06:11

stevedbrown