Translate

Pages

Friday, 30 March 2012

Web Services architectures from Sun


Sun Open Net Environment (Sun ONE) is an open framework to support "smart" Web Services, and in which the Java 2 Platform Enterprise Edition (J2EE) platform plays a fundamental role. 
The Sun ONE Web Services developer model shows how developers can build Web Services, using XML, servlets, JavaServer Pages, EJB architecture, and Java technologies, as shown below. Note that EJB wrappers allow existing applications to become Web Services.








Java API for XML Processing (JAXP)
Provides a Java interface to DOM, SAX, and XSLT.
Java Architecture for XML Binding (JAXB)
Bind XML data to Java code. A developer uses JAXB to
compile XML schema information into Java objects. At
runtime, JAXB automatically maps the XML document data to
the Java object, and vice versa
Java API for XML Messaging (JAXM)
Provides a Java interface to XML messaging systems, such as
the ebXML Message Service, XMLP, and SOAP
Java API for XML Registries (JAXR)
Provides a Java interface to XML registries and repositories
such as the ebXML Registry and Repository, and the UDDI
Business Registry.
Java APIs for XML based RPC (JAX/RPC)
Provides direct support for an RPC programming convention
for XML messaging systems, such as SOAP and XMLP




The Sun ONE architecture recommends four types of XML-messaging systems: SOAP, SwA (SOAP with Attachments),
ebXML Message Service, and XML Protocol (XMLP). ebXML Message Service extends SwA by adding a QoS network
that ensures reliable and secure message delivery. An ebXML message can transport any number of XML documents and
non-XML attachments.


Layer

Type
JAXP, JAXB, JAXM, JAXR, JAX/RPC, servlets, JSP, and EJB
Java Technologies

                 UDDI, ebXML
Registries
WSDL
Service Description Language (may be automatically generated depending
on a partner module)
                     SOAP, SwA, ebXML, XMLP
XML-Messaging Systems




A Web Service example is myServices.ONE that provides a shopping basket spanning multiple sites. Created using iNsight
for Forte for Java, this Web Service allows Internet shoppers to view and update their purchases in one basket. Making up
myServices.ONE are three basic services:
myIdentity providing identification across the sites. This identifies the users uniquely across multiple sites, so they will
not login repeatedly as they go from one site (http://www.barnesandnoble.com) to another (http://www.sears.com).
myBasket consolidating items from multiple sites. Users can add items to the basket from different sites and view the
consolidated list of all items in a central, secure basket.
myJeeves automating the purchase process across various domains. It handles the actual payment and shipping details.








0 comments:

Post a Comment

Thank you for your valuable comments..

 
Twitter Bird Gadget