228
Developing Client Applications to Use a Web Service
Name: Duke Smith
Code Example 5.10
HTML Document
A different use case might be EJB components using returned data in a work 
flow. For example, as the workflow progresses, they may provide order tracking
updates by formatting the tracking data in HTML and attaching it to an e mail
message sent to the customer. Unless the initial request originated from a Web tier
client, EJB components in a workflow situation do not have Web tier technologies
such as JSP available to them. Furthermore, the order tracking service may return
results as XML documents, requiring EJB components to apply XSL transforma 
tions to these documents. Code Example 5.11 shows an XML document contain 
ing the returned data from the service. 
54321
SHIPPED
Smith
Duke
Code Example 5.11
Data Returned as XML Document
An EJB component may use the XSL stylesheet shown in Code Example 5.12
to transform an order details XML document to the same HTML document as in
Code Example 5.10. This HTML document may be attached to an e mail message
and sent to a customer. XSLT transformations may also be used to transform a
document into multiple formats for different types of clients. 
    xmlns:xsl= http://www.w3.org/1999/XSL/Transform >
 
 






New Page 1








Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

java web hosting

 

 

 Our partners: | PHP: Hypertext Preprocessor | Best Web Hosting | Java Servlet Web Hosting | Inexpensive Web Hosting |

Jsp Web Hosting | Cheapest Web Hosting | Jsp Hosting | Cheap Hosting

 

Virtualwebstudio. Business web hosting division of Web Design Plus. All rights reserved