Announcement Announcement Module
Collapse
No announcement yet.
Exposing web-services from a standalone Java application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exposing web-services from a standalone Java application

    I'm looking for a way to expose a simple web-service from a standalone Java application and I'm hoping to use spring-ws.

    I have the following constraints:
    • standalone Java application (not WAR), bootstrapped using JINI
    • Java 1.4, but I might be able to push to Java 1.5
    • App is already using Spring 2.0 or 2.5

    I've had a good search and all examples show using web.xml to bootstrap Spring and well as provide the servlet context and configure the servlet dispatcher. What I'm looking for is a way to configure spring-ws or otherwise expose a web-service without requiring the application to be a web app.

    Any help or links greatfully appreciated.

    William

  • #2
    If you were using Sun's 1.6 JRE, you could have used the embedded http server transport. Otherwise, you could investigate using an embedded Jetty instance in your application.

    Comment

    Working...
    X