JAX-RPC is a Java community effort to eliminate problems with Web service implementations and provide a well-known application programming interface (API) on both the client and the server side. JAX-RPC provides an easy to develop programming model for development of SOAP based Web services.
So in details: JAX-RPC (java API for XML based RPC) is the API specification for J2EE 1.4 and presented as RFC 101. SUN (in WSDP) and Apache (in AXIS) have its own implementation that API. JAX-RPC defines API for creating SEI (service end point) and client endpoint. JAX-RPC enables a Web service endpoint to be developed using either a Java Servlet or Enterprise JavaBeans (EJB) component model (JSR 109). A Web service endpoint is deployed on either the Web container or EJB container based on the corresponding component model.
(I mean JAX-RPC 1.1.)
The latest version of JAX-RPC is 2.0. But it has new name: JAX-WS 2.0 - JSR-224. JAX-WS programming model is JavaEE5 compliant.
EJB3 stateless session bean - JAX-WS.
EJB-2.1 stateless session bean - JAX-RPC.
A JAX-RPC client can use stubs-based, dynamic proxy or dynamic invocation interface (DII) programming models to invoke a heterogeneous Web service endpoint. JAX-RPC uses SAAJ API for SOAP message handlers.
Using wscompile from WSDP toolkit made by SUN:
wscompile.bat -classpath build/classes -gen:server -f:rpcliteral config.xml -d build/classes -nd WebContent/WEB-INF/wsdl -mapping WebContent/WEB-INF/mapping.xml
-d directory to put generated and compiled classes
-nd directory to put "non classes" generated stuff (wsdl etc.)
Subscribe to:
Post Comments (Atom)
1 comment:
When it comes to website development, India, graphics are given due importance as they form the first impression and a long lasting one.
India Website Development
Post a Comment