• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

POJO

 
Greenhorn
Posts: 27
Eclipse IDE Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please explain me how can i make a 'POJO' as Web service?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Axis 2 toolkit from the Apache Software Foundation supports creating a web service from a Plain Ole Java Object. It depends on your class conforming to certain naming conventions.

Bill
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using JAX-WS, it could be as simple as adding a single @WebService annotation to a POJO. See here for details on how to make it work on Tomcat.
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and a worked out example at Apache AXIS2 sources
 
phani bhushan reddy
Greenhorn
Posts: 27
Eclipse IDE Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell me i am using JBoss as my Application server, I was unable to use wscompile because, JBoss has wsconsume as a tool to convert it into mapping files, please any body can tell me the behaviour starting from creating a starting class to the end of the deploying for creating the mapping files

Please tell me now i am in this position .............
 
phani bhushan reddy
Greenhorn
Posts: 27
Eclipse IDE Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Ulf Dittmer:
Using JAX-WS, it could be as simple as adding a single @WebService annotation to a POJO. See here for details on how to make it work on Tomcat.



Please tell me i am using JBoss as my Application server, I was unable to use wscompile because, JBoss has wsconsume as a tool to convert it into mapping files, please any body can tell me the behaviour starting from creating a starting class to the end of the deploying for creating the mapping files
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This may contain some pointers:
Seam - Contextual Components: Chapter 20. Web Services

Seam's /examples directory will probably contains compile and deploy scripts that can tell you what needs to be done.
 
My honeysuckle is blooming this year! Now to fertilize this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic