• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I hope there are some free open source tools to use. Can anyone help?
 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are no such tools, though you can expose your existing code as web services with least effort.
 
S. Palanigounder
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 145
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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/
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic