Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sun ONE Developer Model Anne Thomas Manes Director Market Innovation

Similar presentations


Presentation on theme: "Sun ONE Developer Model Anne Thomas Manes Director Market Innovation"— Presentation transcript:

1 Sun ONE Developer Model Anne Thomas Manes Director Market Innovation atm@sun.com

2 Agenda Web Services Sun ONE Overview ONE Architecture ONE Developer Model

3 Web Services Definition "Web services are loosely coupled software components delivered over Internet standard technologies." Daryl Plummer, Gartner June 15, 2001

4 Web Services Next phase in the continuum –Next generation Web applications –Web-accessible XML-based services –Internet, Intranet, Extranet –B2B, B2C, P2P Evolutionary in terms of technology, revolutionary in terms of business impact

5 Web Services Application Services –email, scheduling, gift registry, buy a car, stock quotes, credit card clearance, mortgage pre- qualification, billing, payroll, provisioning, logistics, procurement… System Services –storage, database, transactions, directory, security, content management, messaging, streaming media, collaboration… May be provided by someone else … somewhere else

6 Web Services Characteristics Programmatic interface Using standard Web protocols Loosely-coupled connections i.e., XML Messaging

7 Web Services The Service Grid Service discovery Service invocation and delivery Service Registry Service registration Service Descriptions

8 Web Services (current state) The Service Grid Service discovery XML Messaging (SOAP/ebXML) UDDI Service registration WSDL

9 Web Services Emerging Standards

10 XML Messaging Systems SOAP V1.1 SOAP V1.2 (W3C XMLP) SOAP with Attachments ebXML Message Service

11 <SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/>http://schemas.xmlsoap.org/soap/envelope/ <SOAP-ENV:Body SOAP-ENV:encodingStyle= “http://schemas.xmlsoap.org/soap/encoding/”http://schemas.xmlsoap.org/soap/encoding/ xmlns:SOAP-ENC=“http://schemas.xmlsoap.org/soap/encoding/”http://schemas.xmlsoap.org/soap/encoding/ xmlns:xsd=“http://www.w3.org/1999/XMLSchema”http://www.w3.org/1999/XMLSchema xmlns:xsi=“http://www.w3.org/1999/XMLSchema-instance” >http://www.w3.org/1999/XMLSchema-instance <mywsdl:getQuote xmlns:mywsdl=“http://my.com/MyStockQuote.wsdl/”>http://my.com/MyStockQuote.wsdl/ SUNW SOAP Request Example

12 <SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/>http://schemas.xmlsoap.org/soap/envelope/ <SOAP-ENV:Body SOAP-ENV:encodingStyle= “http://schemas.xmlsoap.org/soap/encoding/”http://schemas.xmlsoap.org/soap/encoding/ xmlns:SOAP-ENC=“http://schemas.xmlsoap.org/soap/encoding/”http://schemas.xmlsoap.org/soap/encoding/ xmlns:xsd=“http://www.w3.org/1999/XMLSchema”http://www.w3.org/1999/XMLSchema xmlns:xsi=“http://www.w3.org/1999/XMLSchema-instance” >http://www.w3.org/1999/XMLSchema-instance <mywsdl:ReturnLastTradePrice xmlns:mywsdl=“http://my.com/MyStockQuote.wsdl/”>http://my.com/MyStockQuote.wsdl/ 16.23 SOAP Response Example

13 SOAP Implementations See http://www.soapware.org/http://www.soapware.org/ –19 Java implementations Examples: –Apache: SOAP –Idoox: WASP (plug-ins for Forte and jBuilder) –The Mind Electric: GLUE –jBoss: ZOAP –Enhydra: kSOAP

14 WSDL Definitions Schema types Message formats Port types Bindings Service ports

15 <definitions name=“myStockQuote" targetNamespace=“http://my.com/myStockQuote.wsdl”http://my.com/myStockQuote.wsdl xmlns=“http://schemas.xmlsoap.org/wsdl/”http://schemas.xmlsoap.org/wsdl/ xmlns:tns=“http://my.com/myStockQuote.wsdl”http://my.com/myStockQuote.wsdl xmlns:xsd=“http://my.com/myStockQuote.xsd”http://my.com/myStockQuote.xsd xmlns:soap=“http://schemas.xmlsoap.org/wsdl/soap/”>http://schemas.xmlsoap.org/wsdl/soap/ <schema targetNamespace=“http://my.com/myStockQuote.xsd”http://my.com/myStockQuote.xsd xmlns=“http://www.w3.org/1999/XMLSchema”>http://www.w3.org/1999/XMLSchema WSDL Example

16

17 <binding name=“MyStockQuoteSoapRPCBinding" type="tns:MyStockQuotePortType"> <soap:binding style=“rpc” transport=“http://schemas.xmlsoap.org/soap/http”/>http://schemas.xmlsoap.org/soap/http http://my.com/getQuote <soap:body encodingStyle= “http://schemas.xmlsoap.org/soap/encoding/”http://schemas.xmlsoap.org/soap/encoding/ namespace=“http://my.com/MyStockQuoteService”http://my.com/MyStockQuoteService use=“encoded”/> <soap:body encodingStyle= “http://schemas.xmlsoap.org/soap/encoding/”http://schemas.xmlsoap.org/soap/encoding/ namespace=“http://my.com/MyStockQuoteService”http://my.com/MyStockQuoteService use=“encoded”/>

18 My Stock Quote Service <port name=“MyStockQuotePort" binding="tns:MyStockQuoteSoapRPCBinding"> <soap:address location=“http://my.com/myStockQuoteService”/>http://my.com/myStockQuoteService

19 UDDI Business Registry Service Type Registrations Business Registrations Marketplaces, search engines, and business apps query the registry to discover services at other companies 4.4. SW companies, standards bodies, and programmers populate the registry with descriptions of different types of services 1.1. 3.3. Assigns a unique identifier to each service and business registration Businesses populate the registry with descriptions of the services they support 2.2. Business uses this data to facilitate easier integration with each other over the Web 5.5.

20 ebXML BP Model ebXML BO Library ebXML BP Model ebXML BO Library 3 Build local system implementation Request ebXML specifications 1 ebXML specifications detail 2 Query about Company X 6 Company X’s Profile 7 Submit CPA 8 Accept CPA 9 Request Company X’s Scenario 10 Company X’s Scenario 11 Register scenarios and implementation Register company business profile 4 Confirm profile and scenarios 5 DO BUSINESS! 12 INDUSTRY INPUT Scenarios Profiles Specifications

21 Sun's Web Services Strategy Sun Open Net Environment (Sun ONE) Smart web services vision Open architecture Products Third party/ASP efforts

22 ONE Architecture Freedom of Choice Platform for Web services –Future smart services Open, vendor-neutral Industry standards Guidelines and recommendations Build your system your way

23 ONE Architecture Product Agnostic

24 ONE Architecture Standards Backplane

25 Sun ONE Integratable Stack Our Product Implementations

26 Integratable Stack Build it Your Way

27 ONE Developer Model: Overview Interface Logic Business Logic Integration Logic Process XML Messages Implement the Service Access data, applications, and services

28 ONE Developer Model: Based on Proven Platform: J2EE Interface Logic Business Logic Integration Logic JSP & Servlets and/or EJB JDBC, JMS, JCA & Web services

29 ONE Developer Model Anatomy of a Web Service

30 JAX Pack Java APIs for XML JAXP: Java API for XML Processing –(SAX, DOM, XSLT) JAXB: Java Architecture for XML Binding JAXM: Java API for XML Messaging –SOAP, ebXML (document style JAX/RPC: Java API for XML based RPC –SOAP (RPC style) JAXR: Java API for XML Registries –UDDI, ebXML reg/rep JWSDL: Java API for WSDL

31 Inside the Interface XML Message SOAP ebXML etc Servlet Receive XML Message Extract Payload Determine Contents Determine Action Convert XML to Java Invoke Action Processor JAXM or JAX/RPC (ebXML or SOAP) JAXP JAXB or JAXP RMI EJBs Get results Personalize data Convert Java to XML Transform XML to suit client requirements Package Payload Return XML Message XML Message RMI JAXB or JAXP JAXP (XSLT) JAXM or JAX/RPC (ebXML or SOAP)

32 JSR 109 – Enterprise Web Services Web Services Invocation Framework –Extends J2EE container model –See www.ibm.com/alphaworkswww.ibm.com/alphaworks Generate portable client stub from WSDL –Makes use of WSIF WSIF automates –Payload extraction –XML to object binding –Service invocation

33 Summary: ONE Architecture Guidelines for Web services –Create –Assemble –Deploy Based on Java, XML, and pervasive industry standards Fully interoperable with.Net Sun ONE = Sun’s implementation

34 ONE = Freedom of Choice Open, vendor-neutral Your business should drive your technology decisions Don’t let your technology drive your business decisions

35 ONE versus.Net ONE Choice Based on proven, existing platform, available today Supports existing applications Supports integration with through standard XML.Net No choice Based on new, unproven platform, not available today Requires re-write of existing applications Customers are saying that BizTalk doesn’t interoperate

36 How Much is Vapour? You can build Web services today –Build with Java and XML Additional tools and services are in development by Sun and partners –Tools: Forte, Cape Clear, Idoox, Tradia, IBM, The Mind Electric, Bind Systems,... –Services: ebXML, UDDI, WSDL, SOAP, etc. Future (vision) = smart services –Depends on new standards

37


Download ppt "Sun ONE Developer Model Anne Thomas Manes Director Market Innovation"

Similar presentations


Ads by Google