Comments on: Publish a WebService from a POJA (plain old Java application) – that is: out of the container using EndPoint class https://technology.amis.nl/2009/06/05/publish-a-webservice-from-a-poja-plain-old-java-application-that-is-out-of-the-container-using-endpoint-class/ Friends of Oracle and Java Wed, 08 Jul 2015 07:37:03 +0000 hourly 1 http://wordpress.org/?v=4.2.3 By: peter https://technology.amis.nl/2009/06/05/publish-a-webservice-from-a-poja-plain-old-java-application-that-is-out-of-the-container-using-endpoint-class/#comment-5775 Mon, 28 Nov 2011 18:29:54 +0000 http://technology.amis.nl/blog/?p=5560#comment-5775 Hi ALL
I need to implement above featuer, hosting a webservice through POJO in Java 1.5. can anyone provide me steps to implement if possible.
Thanks in advance
PETER

]]>
By: Graham Williamson https://technology.amis.nl/2009/06/05/publish-a-webservice-from-a-poja-plain-old-java-application-that-is-out-of-the-container-using-endpoint-class/#comment-5774 Mon, 29 Jun 2009 15:45:19 +0000 http://technology.amis.nl/blog/?p=5560#comment-5774 Hi Lucas

Yeah, it is very cool that this functionality is now *built-in* to JSE.

I read somewhere that Sun’s reasoning for including it in the standard edition was similar to the provision of RMI in the standard edition.

Cheers
Graham

]]>
By: Lucas Jellema https://technology.amis.nl/2009/06/05/publish-a-webservice-from-a-poja-plain-old-java-application-that-is-out-of-the-container-using-endpoint-class/#comment-5773 Mon, 29 Jun 2009 06:09:07 +0000 http://technology.amis.nl/blog/?p=5560#comment-5773 Hi Graham,
Thanks for your comments and the useful resource link. Of course my article did not so much go into details of exposing Java based functionality as a WebService as such – that topic has been covered at length in many places and is also largely done for us by IDEs such as JDeveloper. The real essence of this brief post was the fact that you can publish a WebService in J2SE – outside of the container – at an EndPoint that is largely user definable.
Lucas

]]>
By: Graham Williamson https://technology.amis.nl/2009/06/05/publish-a-webservice-from-a-poja-plain-old-java-application-that-is-out-of-the-container-using-endpoint-class/#comment-5772 Wed, 24 Jun 2009 08:43:02 +0000 http://technology.amis.nl/blog/?p=5560#comment-5772 Hi

Your post is certainly a nice starting place for exposing a POJO as a web service, but for anything other than trivial Hello World applications developers will need a lot more information regarding the exposure of complex data types, programming to interfaces (JAXB fun), error handling, etc. While none of these topics are really complicated, there are a number of conventions that must be adhered to and … well… known gotchas, if you like.

I’ve documented my experience of exposing a real-world application and all of the issues it brings here: http://invertedindex.wordpress.com/2009/05/04/java-6-web-services/. The post also provides a selection of the best links on the topic of Java SE 6 / Mustang web services, from the original Sun tutorials (also blog posts).

Cheers
Graham

]]>
By: Emiel Paasschens https://technology.amis.nl/2009/06/05/publish-a-webservice-from-a-poja-plain-old-java-application-that-is-out-of-the-container-using-endpoint-class/#comment-5771 Mon, 08 Jun 2009 10:08:17 +0000 http://technology.amis.nl/blog/?p=5560#comment-5771 Wow, that’s quite nice and powerful! This will create a lot of other possibilities. How about when running Java on the client, as in a applet, … I can not think of sensible functionality, but I’m sure someone will (peer2peer application communicating with webservices?).

]]>