• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Glassfish Metro - Java Web Services Stack
 

Glassfish Metro - Java Web Services Stack

on

  • 2,669 views

 

Statistics

Views

Total Views
2,669
Views on SlideShare
2,669
Embed Views
0

Actions

Likes
0
Downloads
24
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Glassfish Metro - Java Web Services Stack Glassfish Metro - Java Web Services Stack Presentation Transcript

    • 1
    • <Insert Picture Here>Glassfish Metro – Java Web Services StackMartin GrebacMetro Project Lead
    • The following is intended to outline our general productdirection. It is intended for information purposes only,and may not be incorporated into any contract. It isnot a commitment to deliver any material, code, orfunctionality, and should not be relied upon in makingpurchasing decisions.The development, release, and timing of any featuresor functionality described for Oracle’s products remainsat the sole discretion of Oracle. 3
    • Agenda• Overview• Architecture• Demos• Roadmap• Q&A 4
    • What is Metro?Metro is one-stop shop for all your web services needs. 5
    • What is Metro?• Java Web Services Stack• Part of GlassFish project• Production Quality• High-Performance• Interoperability – Tested for Interop with RSP 1.0 and WS-I BSP 1.1 – Tested with WCF Stack 3.0 / 3.5 versions – Tested with other Oracle 11g products (security) • X.509, SAML, Username Token against SOA, OSB, ADF, WLS 6
    • METRO = JAX-WS RI + WSIT (Tango)• JAX-WS RI – Implements Java API for XML Web Services (JAX-WS) – Provides core web services support – Extensible and Pluggable Architecture• Web Services Interoperability Technology (WSIT) – Provides Quality Of Service (QoS) support • Security, Reliability, Transactions – Implementation of WS-* Specifications • Interoperability with .NET 3+ 7
    • Architecture 8
    • Core Features• JAX-WS – Easy to use Web services API• POJO concepts via annotations – Descriptor free programming• Databinding (new), Encoding, Protocol, Transport independence• Default integrated with Java Architecture for XML Binding (JAXB) – Java platform API – 100% schema support 9
    • Advanced Features• Bootstrapping Communication and Configuration – WS-MetadataExchange – WS-Policy• Quality of Service – Reliable Message Delivery – Atomic Transactions – Secured Communication• Transparent to application code 10
    • Reliable Messaging• Message Delivery Protocol• Different Message Delivery Assurance Modes – Exactly Once, At Least Once, At Most Once <wsrmp:RMAssertion> – In Order – can be combined with above <wsp:Policy> <wsrmp:SequenceSTR/>• Incomplete Message Sequence Handling <wsrmp:DeliveryAssurance> <wsp:Policy> – Discard entire sequence, discard after first gap <wsrmp:ExactlyOnce/> – Enforcing same-origin on a message sequence <wsrmp:InOrder/> </wsp:Policy> • Sequence bound to a WS-SC session </wsrmp:DeliveryAssurance>• Supports High Availability </wsp:Policy> </wsrmp:RMAssertion> 11
    • Transactions wsp:Policy wsu:Id=“TransactedPolicy”> <wsat:ATAssertion wsp:optional=“true”/> </wsp:Policy>• Message Delivery Protocol• Different Message Delivery Assurance Modes – Exactly Once, At Least Once, At Most Once – In Order – can be combined with above• Incomplete Message Sequence Handling – Discard entire sequence, discard after first gap – Enforcing same-origin on a message sequence • Sequence bound to a WS-SC session• Supports High Availability 12
    • Security• Supports Security Mechanisms – X.509 – Username Token – Saml Token – Kerberos …• Configurable Through WS-Policy configuration WSDL – Better in NetBeans• WS-Security, WS-Trust, STS, … 13
    • Programming Model• Develop using JAX-WS APIs – Server side: @WebService – Client side: use wsimport.sh to generate client proxy• Advanced features in configuration file – Server side: wsit-$endpointClassName.xml – Client side: wsit-client.xml – generate through NetBeans GUI 14
    • Latest Features• High Availability – Since Metro 2.1• Works with GlassFish 3.1(.x) Cluster• Replication of stateful session data – Reliable Messaging • Sequences, Unacknowledged Messages, … – Secure Conversation • Secure Conversation session – Security • Nonce Manager 15
    • Latest Features 16
    • Latest Features 17
    • Latest Features• Security Improvements – RSA-SHA256, 384, 512 – Use of JAAS KeystoreLoginModule – Policy Alternatives for client authentication tokens• Modular Databinding – JAXB RI / Moxy / SDO switchable• Lots of small improvements and bugfixes 18
    • DEMO • “Hello World” Service • Message Level Security • Reliable Message delivery 19
    • Which version?• Metro 2.1.1 – Latest greatest, download from http://metro.java.net – Production ready version – High Availability• Metro 2.2 – In development – Aligned with GlassFish 3.1.2 – Available early next year• Metro 2.2.1, 2.3 - TBD 20
    • Community• Lots of Adoption – Java SE/EE SDK, IBM JDK, GlassFish, Weblogic, …• Active mailing lists and forum• Extensible – JAXB, JAX-WS extensions – Spring, JSON, SMTP, …• Be Active! – Vote on issues, provide patches, improve and/or review our docs 21
    • Summary• METRO – Full featured WS Stack• Popular in Java Community• Many advanced features• Interoperability (Microsoft .NET)• High Performance• Integrated with GlassFish• Running standalone on Servlet containers 22
    • Q&A 23
    • Interested?• http://metro.java.net – http://wsit.java.net – http://jax-ws.java.net – http://jaxb.java.net – http://glassfish.java.net• users@metro.java.net 24