rapid application development for the server side
; you can quicklyand easily construct server-side components in Java by
leveraging a prewrittendistributed infrastructure
provided by the industry. EJB is designed to support
across any vendor’s enterprisemiddleware services.
SOA and Web Services
(SOA) thus is a paradigm focusing on development of services rather than piecemeal components such that these services provide a higherlevel of abstraction from afunctional standpoint. Of course, there are more properties to SOA than mere coarse-granularity. One such characteristic property of SOA is that they are autonomous innature. These independent entities can interact with others in spite of differences inthe way they have been implemented or the platformthey have been deployed on. The notion of putting together (integrating) suchautonomous and loosely coupled services to address the changing business needshas a huge value proposition and it is well on its way to realization with theemergence of various choreography, orchestration and collaboration technologiessuch as
WS-BPEL, EbXML BPSS,
SOA is a paradigm. There are many possible ways of building software so that itimplements salient features of SOA, mainly coarse granularity and loose coupling.One such way is Web services.Simple Object Access Protocol (
) is an XML-based application-level protocolintended for exchanging information in a distributed network. SOAP supports both themodels of distributed computing: RPC as well as document style messaging. RPCstyle SOAP allows remote invocation of operations. Parameters and return in/outvalues of these operations are serialized in XML. Whereas, in document-style SOAPbecause an operation’s input and output are XML, serialization of parameters andreturn value to XML is not needed.Web Service Description Language (
) is an XML-based metadata standard thatis used to describe the service interface—in terms of the operations it supports, theparameters that the operations accept, and their return values in case of SOAP RPC,the XML schema that the input and output messages to the operations in case of document-style SOAP—as well as service binding information— in terms of thecommunication protocols, ports, service URL, and so on.
a replacement for component architecture; rather it neatlycomplements the component architecture. While component architecturesenhance reusability at a finer grain level, SOA can enhance reusability at acoarser grained level.
Hence, from an implementation standpoint
, a givenservice might very well be developed using well-defined componentframeworks such as EJB.
The latest EJB standard, therefore, has in-built support forWeb Services, the most popular stack for building SOA.
(Internal department providing EJBs to other departmentsDevelopers writing the EJBs.
© 2006, Watsh Rajneesh. All Rights Reserved.