Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Embedded Axis2/Jetty and POJO Deployment  RSS feed

 
Yohan Liyanage
Ranch Hand
Posts: 132
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I found this interesting article about running an EmbeddedAxis2Server which uses SimpleHTTPServer to programmatically deploy a POJO as a web service.

However, is there any possibility to use embedded Jetty instead of SimpleHTTPServer and deploy a POJO (not a full blown WebApp) in a similar fashion ?

(A similar question, which is not answered is in that article as well.)
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jetty is a web container - so my guess is that the answer to your question is "no". Jetty lacks the features to simply deploy a POJO because it has no "web service toolkit" functionality. If you were so inclined you could probably hand code a faux-implementation of a "web service" that exposes your POJO. Or you could deploy Axis2 as a web app to the Jetty component and then have Axis2 expose the POJO for you. But I don't think that either of those solutions is what you are looking for.
 
Dilshan Edirisuriya
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hope this will help you http://ssagara.blogspot.com/2009/10/axis2-on-embedded-jetty.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!