September 2002
Intermediate to advanced
608 pages
14h 20m
English
The JAX-RPC reference implementation includes a servlet named JAXRPCServlet that can accept requests and route them to the appropriate service implementations. Like all servlets, we'll need a web.xml deployment descriptor to configure the servlet. The web.xml is shown in Listing 16.8. Note that the .properties file generated by xrpcc is passed in via an initialization parameter. We've also set the servlet to catch requests having /jaxrpc/ in their URLs, so we'll need to include this in our access URL.
As mentioned earlier, I found that I needed to chmod the xrpcc program to have execute access with both the EA1 and EA2 distributions (chmod a+x xrpcc.sh.) in order for the build to succeed. ...
Read now
Unlock full access