| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 ] |
| Articles Tips |
- Write a Web Service Server by Kevin Jones - [Clicks: 130]
After you use the JAX-RPC SI toolkit to generate client-side code for your Web service, you can turn to the more complex task of writing the server. Learn an approach that is highly accessible but avoids the complexities of generating code from a WSDL document.
[Includes source code]
http://www.ftponline.com/javapro/2005_01/magazine/features/kjones_server/ - Dec, 2004 - Write a Web Service Client by Kevin Jones - [Clicks: 136]
As Web services become a standard for building client/server applications, there are several approaches you can take to create and implement Web services components. Here's an approach for using the JAX-RPC SI toolkit to generate client-side code.
[Includes source code]
http://www.ftponline.com/javapro/2005_01/magazine/features/kjones_client/ - Dec, 2004 - Leverage JNLP and SOAP for Java Thick-client Development by Allan Peda - [Clicks: 68]
Although Java never quite lived up to its early promise of thick-client computing on the Web, intranets can benefit from the capabilities the JNLP protocol affords - especially when combined with the SOAP protocol.
http://www.devx.com/Java/Article/22537?trk=DXRSS_JAVA - Nov, 2004 - Error-Proof Exception Handling by Shridhar Mysore - [Clicks: 56]
Exception handling in JAX-RPC-compliant Web services is fairly simple because the spec governs such tasks. It is good to know coding nuances for writing different types of clients.
http://www.ftponline.com/weblogicpro/2004_11/magazine/features/smysore/ - Oct, 2004 - Call Perl routines from Java by Richard Lawson - [Clicks: 26]
In a large enterprise, Java developers aren't the only kids on the block. You'll also find departmental developers who use other languages to create useful applications. Perl is particularly popular for its quick implementation of small targeted system- and file-processing tasks, and its large selection of libraries at CPAN (Comprehensive Perl Archive Network). This article shows you how simple it is to turn Perl applications into simple Web services using a simple XML-RPC (remote procedure call) server available at CPAN. Author Richard Lawson also shows you how to call the Perl methods as if they were Java code with minimum fuss from the Java XML-RPC client. The end result: Perl methods that look like Java code to your program.
[Includes sample code]
http://www.javaworld.com/javaworld/jw-10-2004/jw-1011-xmlrpc.html - Oct, 2004 - Patterns and Strategies for Building Document-Based Web Services by Sameer Tyagi - [Clicks: 17]
This article outlines some of the different architectural choices and the associated tradeoffs, alternatives, and best practices that architects and developers should keep in mind when building document-driven web services using JAX-RPC on the J2EE platform.
[Includes source code]
http://java.sun.com/developer/technicalArticles/xml/jaxrpcpatterns/index.html - Sep, 2004 - Using JAX-RPC to Expose a Java Object as a Web Service by N. Alex Rupp - [Clicks: 112]
In this tech tip we explore how to use JAX-RPC to successfully expose a Java object as a web service.
[Includes an example application]
http://java.sun.com/developer/EJTechTips/2004/tt0824.html#1 - Aug, 2004 - Turn EJB components into Web services by Debu Panda - [Clicks: 82]
Web services have become the de facto standard for communication among applications. J2EE 1.4 allows stateless Enterprise JavaBeans (EJB) components to be exposed as Web services via a JAX-RPC (Java API for XML Remote Procedure Call) endpoint, allowing EJB applications to be exposed as Web services. This article presents a brief introduction to JAX-RPC, outlines the steps for exposing a stateless session bean as a Web service, and provides the best practices for exposing EJB components as Web services.
http://www.javaworld.com/javaworld/jw-08-2004/jw-0802-ejbws.html - Aug, 2004 - Accentuate the power of JAX-RPC type mapping with Eclipse Modeling Framework by Jeffrey Liu - [Clicks: 38]
This article demonstrates how to use the Eclipse Modeling Framework (EMF) to enhance the JAX-RPC type mapping model. It also provides code samples to guide you through the creation of a Web service from a Web Services Description Language (WSDL) document that uses JAX-RPC unsupported XML data types.
http://www-106.ibm.com/developerworks/webservices/library/ws-mapprob/ - Jul, 2004 - Web Services Programming Tips and Tricks: Use collection types with SOAP and JAX-RPC by Andre Tost, Tony Cowan - [Clicks: 46]
This article introduces a couple of techniques that you can use to build interoperable Web services that take and return object collections. This is the first of a series of articles covering this subject. Future articles will cover more detailed scenarios.
[Includes source code]
http://www-106.ibm.com/developerworks/library/ws-tip-coding.html - May, 2004 - XML-RPC in Java programming by Roy Miller - [Clicks: 96]
Interapplication communication can be a nasty problem for programmers. Many of the available options, such as JNI, can be difficult to use. XML-RPC provides a much easier solution. It's clean, simple to implement, and well supported by open source libraries for most popular programming languages (such as Java language and C++). If you have a Java application, for example, that needs to talk to an application written in C++, XML-RPC just might be the simplest approach. In this article, software developer and coach Roy Miller talks about what XML-RPC is and how to use it effectively.
http://www-106.ibm.com/developerworks/library/j-xmlrpc.html - Jan, 2004 - Write and Configure JAX-RPC Handlers by Kevin Jones - [Clicks: 75]
When it comes to providing layered Web services, J2EE's interceptor method can fall short. See how to write and configure generic handlers for a JAX-RPC client and server.
http://www.fawcette.com/javapro/2004_01/online/webservices_kjones_01_06_04/ - Jan, 2004
- Web services programming tips and tricks: Extend JAX-RPC Web services using SOAP headers by Richard A. Sitze - [Clicks: 61]
In this article, the author examines how JAX-RPC SOAP handlers process SOAP message headers. Specifically, he shows how a handler adds a SOAP header to an outgoing message and how a corresponding handler removes the SOAP header from an incoming message. In addition, he presents the JAX-RPC programmatic configuration and deployment models as they relate to this topic.
[Includes source code]
http://www-106.ibm.com/developerworks/webservices/library/ws-tip-extend/ - Apr, 2004 - Web services programming tips and tricks: Roundtrip issues in Java coding conventions by Russell Butek, Richard Scheuerle - [Clicks: 28]
Java APIs for XML-Based Remote Procedure Call's (JAX-RPC's) Java-to-WSDL/WSDL-to-Java mapping rules do not try to preserve Java constructs during roundtripping. Many constructs are preserved, but not all. This tip describes, in particular, why following Java coding conventions is very important to maintaining the ability to roundtrip.
http://www-106.ibm.com/developerworks/webservices/library/ws-tip-roundtrip2.html - Apr, 2004 - Web Services Programming Tips and Tricks: Roundtrip issues, an introduction by Russell Butek, Richard Scheuerle - [Clicks: 11]
This tip introduces roundtripping, its definition, and its use. It begins to point out some roundtripping issues with the JAX-RPC specification. Subsequent tips will cover more issues in greater detail.
http://www-106.ibm.com/developerworks/webservices/library/ws-tip-roundtrip1.html - Mar, 2004 - Web services programming tips and tricks: SOAP attachments with JAX-RPC by Russell Butek - [Clicks: 48]
JAX-RPC supports SOAP with attachments. This tip describes how you can use JAX-RPC APIs to send MIME attachments.
[Includes source code]
http://www-106.ibm.com/developerworks/webservices/library/ws-tip-soapjax.html - Feb, 2004 - Exception Handling with JAX-RPC by Ping Wang, Russell Butek - [Clicks: 46]
Explicitly declaring faults in WSDL operations, like explicitly declaring exceptions in Java methods, is good programming practice. This tip first examines the exception behavior in the absence of wsdl:fault. It then focuses on how a wsdl:fault is mapped to a checked Java exception and how a JAX-RPC runtime handles this checked exception.
http://www-106.ibm.com/developerworks/webservices/library/ws-tip-jaxrpc.html - Feb, 2004