objects * different processes, same environment => component (EJB, dotNet managed components ) * different processes, different environments => service (web service, rpc )"> objects * different processes, same environment => component (EJB, dotNet managed components ) * different processes, different environments => service (web service, rpc )">
Download presentation
Presentation is loading. Please wait.
Published byCarmel Sanders Modified over 9 years ago
2
Fall 2007 http://www.cis.ksu.edu 1 CIS 764 Database Systems Engineering L12.2: Web Services ++ Web service as an enterprise “component” Distributed business processes build using web services.
3
Fall 2007 http://www.cis.ksu.edu 2 CIS 764 Database Systems Engineering Objects, components, web-services: R. Sessions, "Fuzzy Boundaries: Objects, Components, and Web Services", ACM Queue, Jan. 04 http://www.acmqueue.org/modules.php?name=Content&pa=showpage&pid=246 factors: location, environment, protocol: * entity and the client in same process => objects * different processes, same environment => component (EJB, dotNet managed components ) * different processes, different environments => service http://www.acmqueue.org/modules.php?name=Content&pa=showpage&pid=246 (web service, rpc )
4
Fall 2007 http://www.cis.ksu.edu 3 CIS 764 Database Systems Engineering Web service is access of object methods for remote use (by client or other “components” via web protocols. Why remote use ? (vs local ejb ?) What kind application architecture? Why web protocols? (vs rmi, rpc ?)
5
Fall 2007 http://www.cis.ksu.edu 4 CIS 764 Database Systems Engineering one issue is efficiency: object << component << service Then why the focus, growth of web services?
6
Fall 2007 http://www.cis.ksu.edu 5 CIS 764 Database Systems Engineering "Web Services Protocol Stack", Wikipedia http://en.wikipedia.org/wiki/Web_Services_Protocol_Stack http://en.wikipedia.org/wiki/SOAPhttp://en.wikipedia.org/wiki/Web_Services_Protocol_Stack http://en.wikipedia.org/wiki/SOAP http://en.wikipedia.org/wiki/Web_Services_Description_Language http://en.wikipedia.org/wiki/Universal_Description_Discovery_and_Integration http://en.wikipedia.org/wiki/Business_Process_Execution_Language Service/transport layer …. Http, … Message encoding layer … XML: SOAP, RPC Description protocol ……. XML: WSDL Discovery service ……….. XML base, business services directory Business process model … BPEL
7
Fall 2007 http://www.cis.ksu.edu 6 CIS 764 Database Systems Engineering http://www.w3schools.com/soap/soap_example.asp POST /InStock HTTP/1.1 Host: www.example.org Content-Type: application/soap+xml; charset=utf-8 Content-Length: nnn <soap:Envelope xmlns:soap=http://www.w3.org/2001/12/soap-envelopehttp://www.w3.org/2001/12/soap-envelope soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> IBM
8
Fall 2007 http://www.cis.ksu.edu 7 CIS 764 Database Systems Engineering Response: HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: nnn <soap:Envelope xmlns:soap=http://www.w3.org/2001/12/soap-envelopehttp://www.w3.org/2001/12/soap-envelope soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> 34.5
9
Fall 2007 http://www.cis.ksu.edu 8 CIS 764 Database Systems Engineering Web Service Description Language: partial example http://www.w3schools.com/wsdl/wsdl_documents.asp syntax pattern http://www.w3schools.com/wsdl/wsdl_syntax.asphttp://www.w3schools.com/wsdl/wsdl_documents.asphttp://www.w3schools.com/wsdl/wsdl_syntax.asp Structure Element Defines The operations performed by the web service The messages used by the web service The data types used by the web service The communication protocols used by the web service
10
Fall 2007 http://www.cis.ksu.edu 9 CIS 764 Database Systems Engineering Partial example:
11
Fall 2007 http://www.cis.ksu.edu 10 CIS 764 Database Systems Engineering Universal Description, Discovery, and Integration service, and XML registry, with three parts: White Pages — address, contact, and known identifiers; Yellow Pages — industrial categorizations w standard taxonomies; Green Pages — technical info about services. e.g. UDD4J Java implementation http://uddi4j.sourceforge.net/http://uddi4j.sourceforge.net/
12
Fall 2007 http://www.cis.ksu.edu 11 CIS 764 Database Systems Engineering Example Oracle WS tutorials: Creating a Web Service from an EJB (reverse engineering) http://www.cis.ksu.edu/~hankley/d764/Oracle/Labs/J2EE_Track/Lab2WebServices/WebServicesLab.htm Developing, Deploying, and Managing a Web Service Using JDeveloper http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm calendar service, direct access in OC4J, (rev. engr --service from class) Developing a Web Service with JDeveloper (fwd engineering)http://www.cis.ksu.edu/~hankley/d764/Oracle/Labs/J2EE_Track/Lab2WebServices/WebServicesLab.htm http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm http://www.oracle.com/technology/obe/obe1013jdev/preview10131_wstopdown/wstopdown.htm credit rating service, direct service in OC4J, (component from contract) Securing Web Service using JDeveloper http://www.oracle.com/technology/products/jdev/101/howtos/securews/index.html http://www.oracle.com/technology/obe/obe1013jdev/preview10131_wstopdown/wstopdown.htm http://www.oracle.com/technology/products/jdev/101/howtos/securews/index.html
13
Fall 2007 http://www.cis.ksu.edu 12 CIS 764 Database Systems Engineering SOA - Service Oriented Architecture: http://en.wikipedia.org/wiki/Serviceoriented_architecture#SOA_and_Business_Architecture building of enterprise application based on web services and supporting components. Is it different than web-applications architecture (J2EE web apps) ?
14
Fall 2007 http://www.cis.ksu.edu 13 CIS 764 Database Systems Engineering SOA - Service Oriented Architecture: http://en.wikipedia.org/wiki/Serviceoriented_architecture#SOA_and_Business_Architecture building of enterprise application based on web services and supporting components. Is it different than web-applications architecture (J2EE web apps) ? Ans: focus on business processes (vs single app / ops) focus on sharing services/ components
15
Fall 2007 http://www.cis.ksu.edu 14 CIS 764 Database Systems Engineering major enterprise design aspect is on business process modeling (sometimes called “workflow” ) e.g. http://en.wikipedia.org/wiki/Business_Process_Modeling_Notationhttp://en.wikipedia.org/wiki/Business_Process_Modeling_Notation Interaction Patterns http://sky.fit.qut.edu.au/~dumas/ServiceInteractionPatterns/ Oracle SOA center: http://www.oracle.com/technology/tech/soa/index.html
16
Fall 2007 http://www.cis.ksu.edu 15 CIS 764 Database Systems Engineering
17
Fall 2007 http://www.cis.ksu.edu 16 CIS 764 Database Systems Engineering distinction between “orchestration” … constraint behavior for one participant vs “choreography”… coordination between various parties in a sense, UML sequence model is orchestration (a behavior model) UML swim lane process model is choreography (a process coordination model)
18
Fall 2007 http://www.cis.ksu.edu 17 CIS 764 Database Systems Engineering BPEL.. an executable control language http://en.wikipedia.org/wiki/BPEL Other slides: http://www.bptrends.com/publicationfiles/BPEL4ProgArchies.pdf Discussion: http://elementallinks.typepad.com/bmichelson/2005/09/view_bpel_proce.html Patterns: http://is.tm.tue.nl/research/patterns/download/Oracle_BPEL_v.10.1.2.pdf BPELJ …Java implemenation http://ftpna2.bea.com/pub/downloads/ws-bpelj.pdf …. More examples / discussion
19
Fall 2007 http://www.cis.ksu.edu 18 CIS 764 Database Systems Engineering Oracle BPEL Process Manager http://download-west.oracle.com/docs/cd/B14099_19/integrate.1012/b14448/introbpel.htm BPEL tutorial: Model and Deploy the Loan Flow Process using Oracle BPEL Process Manager http://www.oracle.com/technology/obe/obe_as_1012/integration/bpel/bpel_jdev/bpel_jdev.htm
20
Fall 2007 http://www.cis.ksu.edu 19 CIS 764 Database Systems Engineering end
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.