examples of web services
I had made numerou开发者_如何学Gos web applications in java..
I read a lot about web services
But don't know how to make working example in web services?
Also, don't have any idea about ejb,jmx,etc.
Is it necessary to put web application on some server in order to implement web services?
Depending on how you define a "web service", it can be as simple or as complex as you like. Many REST-based web services are just normal web applications that return JSON as their response instead of HTML. At the other end of the spectrum, there are SOAP (and others) that are much more involved, but can basically be called just like any other method by the consuming application.
you can use Apache Axis2[1] to create and consume web services. This article[2] shows the steps to how to write a simple web service.
[1] http://axis.apache.org/axis2/java/core/
[2] http://wso2.org/library/95
精彩评论