Joel Shemtov
Joel Shemtov

Reputation: 3078

SOAP message on Java SE

Using JAX-WS on Java SE 7.

The guides on Soap Handlers seem to assume a Java EE server. Is this essential for SOAP handlers or can they also work in Java SE?

Upvotes: 2

Views: 980

Answers (2)

Will Hartung
Will Hartung

Reputation: 118593

You can implement web services in Java SE.

You just need to start up an Endpoint and publish it.

This is a simple example.

Java EE and servlet containers handle the publishing part for you. Outside of that, they're pretty much the same thing and handled the same way.

Upvotes: 4

rai.skumar
rai.skumar

Reputation: 10667

A web service gets deployed either on a Servlet container (like Tomcat) or any Java EE application server (like JBoss AS, WebLogic etc).

So Java SE is not enough for deploying your web service.

Upvotes: -2

Related Questions