wood burning stoves 2.0*
The moose likes Web Services and the fly likes Tools that converts Java, EJB, and Servlet app into Webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "Tools that converts Java, EJB, and Servlet app into Webservices" Watch "Tools that converts Java, EJB, and Servlet app into Webservices" New topic
Author

Tools that converts Java, EJB, and Servlet app into Webservices

S. Palanigounder
Ranch Hand

Joined: Apr 03, 2003
Posts: 145
I hope there are some free open source tools to use. Can anyone help?
Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
There are no such tools, though you can expose your existing code as web services with least effort.


My Blog
S. Palanigounder
Ranch Hand

Joined: Apr 03, 2003
Posts: 145
Originally posted by Vinod K Singh:
There are no such tools, though you can expose your existing code as web services with least effort.


That's what I mean. Exposing the interfaces to webservices and the tool help you to generate WSDL. I'm sure there are some.
Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
JAX-WS RI provides all necessary tools for doing such tasks. Though to get the WSDL generated, you need to write interfaces and its implementation, which can work just as a wrapper around your existing code. See here http://blog.vinodsingh.com/2008/09/building-jax-ws-web-service.html how to develop JAX-WS web services.
S. Palanigounder
Ranch Hand

Joined: Apr 03, 2003
Posts: 145
Do you know XFire? As long as your Java app uses well defined Java Interfaces,
you may not need to write a single line of code to covert it to web services.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12792
    
    5
Actually, XFire got sucked up into the Apache CXF project and no longer has a separate identity.
As I understand it, CXF still includes simple tools for turning POJO (Plain Old Java Objects) into web services with a minimum of fiddling.

Bill
Jos� Francisco Moreira
Greenhorn

Joined: Jun 09, 2004
Posts: 2
Apache Axis, @WebService J2EE 5 annotation... This should do the work for you...

Here is a simple sample using @WebService to publish an EJB as a Webservice:

http://www.theregister.co.uk/2007/01/23/ejb_web_services/
 
GeeCON Prague 2014
 
subject: Tools that converts Java, EJB, and Servlet app into Webservices