http://localhost:<port>/web2Project/RPCAdapter/httprpc/The browser displays the exposed services as a table:


Web-remoting is a pattern that provides support for JavaScript™ or client-side code to directly invoke server side logic. This pattern provides the ability to invoke Java™ methods from JavaScript. The invocation is by means of a JSON-RPC call. The most common usage is asynchronous calls with XmlHttpRequest. Data is transferred between the server and client in JavaScript Object Notation (JSON) format. Therefore, this pattern is essentially a form of JSON Web services.
IBM® implementation for Web remoting is referred to as the Remote Procedure Call (RPC) adapter for IBM. The RPC adapter is designed to help developers create command-based services quickly and easily in a manner that complements programming styles for AJAX applications and other lightweight clients. Implemented as a generic servlet, the RPC adapter provides an HTTP interface to registered JavaBeans™.

The RPC adapter provides an HTTP interfaces to registered JavaBeans. It will deserialize the input and call the corresponding method in the JavaBean. It will serialize the output from the JavaBean to JSON/XML format.
The Remote Procedure Call (RPC) Adapter provides a mechanism for exposing server-side Java objects to AJAX-based user interfaces.