SlideShare a Scribd company logo
2007

                               Next Generation
                               Web Services Practices




            Core mechanisms for
           Web Services extensions


                                 Miguel Pardal
                           miguel.pardal@dei.ist.utl.pt


Lisbon,                   Seoul, October 30th, 2007
Portugal
Outline

• Service-oriented Enterprise Applications
• Web Service Extensions
     – Core mechanisms
• Conclusions




2007-10-30     Core mechanisms for Web Services extensions   2
Outline

• Service-oriented Enterprise Applications
• Web Service Extensions
     – Core mechanisms
• Conclusions




2007-10-30     Core mechanisms for Web Services extensions   3
“The whole world is made of
change”                 ~ Luís Vaz de Camões
                                                                         16th Century
                                                                     Portuguese Poet

                                                Cobol

                                                   Fortran

                                                     C
                                                                         DCE
                                                     Java
                                                                          CORBA
                                                           Dot Net
                                                                            DCOM

                                                                           Web
                                                                         Services
2007-10-30   Core mechanisms for Web Services extensions                           4
Service-oriented approach to
Enterprise Applications

• Customers’ needs change
     – Enterprises must adapt
     – And so do their applications


• Services
     – Focus on flexibility, reuse and interoperability
     – Web Services (WS) technology
     – Service-Oriented Architecture (SOA)

2007-10-30         Core mechanisms for Web Services extensions   5
Web Services in action
                                                                     #1 Publish
    Client                                                                              Service
                                 #2 Discover
                                                                                          Data
                                                                                          XML Schema
              WS
                                                 #3 Generate
             stubs                                                                        Functions
                                                                                          WSDL


                                               #4 Configure                               Policy
                                                                                          WS-Policy
                        WS
                     libraries



                                                #5 Invoke
                                                                                 #6 Execute




2007-10-30                         Core mechanisms for Web Services extensions                         6
Web Services libraries
                                   #4 Configure                        Policy
                                                                       WS-Policy
                WS
             libraries




• WS-Policy specifies additional requirements
    – Like security, distributed transactions, reliable
      messaging, etc.
    – But libraries are necessary to actually
      implement the requirements

2007-10-30               Core mechanisms for Web Services extensions               7
Requirements
• Functional
     – What the service does
             • Input, output, faults
• Non-functional
     – What properties hold when the service executes
     – Depend on circumstances and must be balanced
             • E.g. Security
                 – Low value messages can use a weaker but faster cipher
                   algorithm; high value messages use stronger security
                 – Intranet requests use local security credentials; Internet
                   requests use cross-domain credentials

2007-10-30                 Core mechanisms for Web Services extensions          8
Outline

• Service-oriented Enterprise Applications
• Web Service Extensions
     – Core mechanisms
• Conclusions




2007-10-30     Core mechanisms for Web Services extensions   9
WS standards for every requirement
          “Are we there yet?”

                                                            Short answer:
                                                            No, but we’re moving
                                                            forward

                                                            Long answer:

                                                            Visit WS-Map ☺
                                                            (or another overview site…)




     http://web.ist.utl.pt/miguel.pardal/ws-map

2007-10-30         Core mechanisms for Web Services extensions                            10
Why go beyond the standards?

• “One size does not fit all”

• Vendor WS implementations
     – From Microsoft, IBM, Sun, Oracle, …
     – Good library implementations of complex WS standards
     – Solve 90% of the problem but are difficult to customize to
       specific needs


• WS Extensions
     – Simpler library development
     – Appeal to a much broader developer community
     – Handle the remaining 10%...
2007-10-30            Core mechanisms for Web Services extensions   11
Analogy:
   Mozilla Firefox extensions




• Firefox implements 90% of requirements
     – Extensions add value to users, meeting specific needs
       and improving the browsing experience
2007-10-30         Core mechanisms for Web Services extensions   12
Example extension:
 Security report
• Some applications prefer not to know about security,
  they just want it
     – But others need to know, for instance, to store audit information
       in a database


• Security report extension
     – A report is produced during WS-Security processing
             • All actions and all parameters described
             • In a simple, easy-to-use object model
     – Leverage WS-Security standard implementation
     – Enables context sharing through meaningful abstractions,
       delegating security decisions in a simple and effective way


2007-10-30                 Core mechanisms for Web Services extensions   13
Problem statement

• What are the core mechanisms required
  for developing Web Services extensions ?
     – Like “security report”




2007-10-30        Core mechanisms for Web Services extensions   14
Proposed core mechanisms

                                                                     •   Policy
                                                                     •   Configuration
                                                                     •   Contexts
                                                                         management
                                                                     •   Message flow
                                                                         interception
                                                                     •   Operation
                                                                         implementation
                                                                         interception
  Packages and dependencies


2007-10-30             Core mechanisms for Web Services extensions                        15
Policy




• Requirements declaration
     – e.g. Declare that a WS can be invoked with transport
       security or with message security
• Policy negotiation between client and server




2007-10-30         Core mechanisms for Web Services extensions   16
Configuration




• Parameters
     – Which extensions to engage?
     – What are the parameter values?
             • e.g. Which digital certificate to use?




2007-10-30                 Core mechanisms for Web Services extensions   17
Contexts
                                            management




• Scoped state variables
     –   Application
     –   Session
     –   Operation
     –   Thread
• Enable data sharing between extensions and
  service implementation
2007-10-30             Core mechanisms for Web Services extensions   18
Message flow
                                                interception




• Message handling at service endpoint
     – Incoming or outgoing
     – Read/write header and body of SOAP messages
             • e.g. Do digital signature of body and place it in header




2007-10-30                Core mechanisms for Web Services extensions     19
Operation
                                        implementation
                                        interception


• Execute additional code before or after the
  service implementation
     – e.g. Implement authorization and access logging
• Object factories can return different
  implementations according to the desired
  behavior


2007-10-30         Core mechanisms for Web Services extensions   20
Proof-of-concept
• All mechanisms implemented on Java Web Services
     – Apache Commons Policy 1.0
             • Policy
     – JAX-WS Handlers
             • Message interception
     – Custom coding
             • Configuration, Contexts and Operation Execution


• Field-tested on a prototype and several course projects:
     – Security and distributed transactions extensions
     – Multiple development teams
     – Significant improvements in ease of development and learning


2007-10-30                 Core mechanisms for Web Services extensions   21
Outline

• Service-oriented Enterprise Applications
• Web Service Extensions
     – Core mechanisms
• Conclusions




2007-10-30     Core mechanisms for Web Services extensions   22
Conclusions
• Web Services development
     – Functional requirements are satisfied with components
     – Non-functional requirements are satisfied with aspects that
       can differ according to invocation circumstances

• Web Services extensions
     – Simplify custom library development
     – Broaden developer community

• Future work:
     – Enterprise application framework
             • Local and remote services
             • Integrated extensions engine
     – Platform-independent extensions: Java and Dot Net

2007-10-30                Core mechanisms for Web Services extensions   23
Looking ahead…


 With extensions, more developers can try new ideas.
 This encourages competition and best-of-breed selections,
 that can further advance the state-of-the-art of
 Web Services technology


                       Obrigado
  Thank you
                                                                         Questions
                                                                         &
                                                                         Answers
     miguel.pardal@dei.ist.utl.pt


2007-10-30                 Core mechanisms for Web Services extensions          24

More Related Content

PDF
Building multi-services in personal mobile devices based on partially trusted...
PPTX
Exset company overview3
PDF
Fibertech Overview 10 1 2011
PPT
EarthLink Business Corporate Overview pres 6 13-11
PDF
Fibertech Networks Overview
PDF
Mns Product Portfolio 050610b (2)
PDF
4G Mobile: Opportunities and Challenges in Indonesia
PDF
Investor presentation december 2011
Building multi-services in personal mobile devices based on partially trusted...
Exset company overview3
Fibertech Overview 10 1 2011
EarthLink Business Corporate Overview pres 6 13-11
Fibertech Networks Overview
Mns Product Portfolio 050610b (2)
4G Mobile: Opportunities and Challenges in Indonesia
Investor presentation december 2011

What's hot (20)

PDF
Mobile Networks - Evolving to all-IP Backbone
PPT
PDF
Broadview Networks Site Seller R2011
PDF
Smallworld_Network_Inventory_Brochure_-_print-HR_with_bleed_for_printers_0
PDF
Bw Overview 0607
PDF
offload
PDF
ABSS Comprehensive
PPTX
Welcome to Level(3)
PPSX
Gtt Overview
PDF
NSN / Samsung Brusknet PR
PDF
Cisco Carrier Packet Transport System: Foundation for Next-Generation Transport
PDF
Cdn prospects 2011
PPTX
Total Network Solutions
PDF
1vc.tv approach for securuty vertical
PDF
CORE2AFRICA 4page Brochure
PDF
Ethernet Demarcation Devices for managing end to end Ethernet service delivery
PDF
Delivering the 'optimal mobile backhaul' experience
PDF
Flair Data Systems - Overview
PDF
A Business Guide to MPLS IP VPN Migration: Five Critical Factors
PDF
ABSS Essentials
Mobile Networks - Evolving to all-IP Backbone
Broadview Networks Site Seller R2011
Smallworld_Network_Inventory_Brochure_-_print-HR_with_bleed_for_printers_0
Bw Overview 0607
offload
ABSS Comprehensive
Welcome to Level(3)
Gtt Overview
NSN / Samsung Brusknet PR
Cisco Carrier Packet Transport System: Foundation for Next-Generation Transport
Cdn prospects 2011
Total Network Solutions
1vc.tv approach for securuty vertical
CORE2AFRICA 4page Brochure
Ethernet Demarcation Devices for managing end to end Ethernet service delivery
Delivering the 'optimal mobile backhaul' experience
Flair Data Systems - Overview
A Business Guide to MPLS IP VPN Migration: Five Critical Factors
ABSS Essentials
Ad

Similar to Core mechanisms for Web Services extensions (20)

PPT
webservices overview
PPTX
Five Cool Use Cases for the Spring Component in Oracle SOA Suite
PDF
Nllug 2010 - Web-services bootcamp
PDF
Nllug 2010-web-services
PPT
Web services and SOA [Modified]
PPT
AppSec 2007 - .NET Web Services Hacking
PDF
Java Web Services [1/5]: Introduction to Web Services
PDF
Keynote-Service Orientation – Why is it good for your business
PDF
Aniketos effects plus_6sep_2012-v04
PDF
Exposing Business Value
PDF
Radovan Janecek R E S Tor S O A Pv1
PPT
Java web services
PPT
WARE: a tool for the Reverse Engineering of Web Applications
PDF
Pal gov.tutorial3.session7
PPTX
Web services
PDF
SOA and WCF (Windows Communication Foundation) basics
PPTX
Five Cool Use Cases for the Spring Component of the SOA Suite 11g
PDF
JBoss / Red Hat: bridging the gap between web services technologies and real ...
PDF
Softsphere 08 web services bootcamp
PPT
Web services and SOA
webservices overview
Five Cool Use Cases for the Spring Component in Oracle SOA Suite
Nllug 2010 - Web-services bootcamp
Nllug 2010-web-services
Web services and SOA [Modified]
AppSec 2007 - .NET Web Services Hacking
Java Web Services [1/5]: Introduction to Web Services
Keynote-Service Orientation – Why is it good for your business
Aniketos effects plus_6sep_2012-v04
Exposing Business Value
Radovan Janecek R E S Tor S O A Pv1
Java web services
WARE: a tool for the Reverse Engineering of Web Applications
Pal gov.tutorial3.session7
Web services
SOA and WCF (Windows Communication Foundation) basics
Five Cool Use Cases for the Spring Component of the SOA Suite 11g
JBoss / Red Hat: bridging the gap between web services technologies and real ...
Softsphere 08 web services bootcamp
Web services and SOA
Ad

More from Miguel Pardal (20)

PDF
Master Beginners Workshop - Feb 2023
PDF
Master Beginners Workshop - September 2019
PDF
SafeCloud Secure Communication solutions (WP1 overview)
PDF
Master Beginners' Workshop September 2018
PDF
IoT Middleware for Precision Agriculture: workforce monitoring in olive fields
PDF
Rastreabilidade na Internet das (muitas) Coisas
PDF
Vulnerability-tolerant Transport Layer Security
PDF
Master Beginners
PDF
Arranque Seguro de Redes 6LoWPAN para prevenir Ataques Vampiro na Internet da...
PDF
Precision Agriculture with Sensors and Technologies from the Internet of Things
PDF
Smart Places INForum16 presentation
PPTX
Eclipse workshop presentation (March 2016)
PDF
LaTeX workshop (NEB)
PDF
Thesis for beginners 2015-10
PDF
LaTeX workshop (JEQ)
PDF
Thesis for beginners
PDF
Scalable and secure RFID data discovery
PDF
Breve introdução à investigação
PDF
Eclipse workshop presentation
PDF
BEST Lisboa 2013 - The Internet of Things class
Master Beginners Workshop - Feb 2023
Master Beginners Workshop - September 2019
SafeCloud Secure Communication solutions (WP1 overview)
Master Beginners' Workshop September 2018
IoT Middleware for Precision Agriculture: workforce monitoring in olive fields
Rastreabilidade na Internet das (muitas) Coisas
Vulnerability-tolerant Transport Layer Security
Master Beginners
Arranque Seguro de Redes 6LoWPAN para prevenir Ataques Vampiro na Internet da...
Precision Agriculture with Sensors and Technologies from the Internet of Things
Smart Places INForum16 presentation
Eclipse workshop presentation (March 2016)
LaTeX workshop (NEB)
Thesis for beginners 2015-10
LaTeX workshop (JEQ)
Thesis for beginners
Scalable and secure RFID data discovery
Breve introdução à investigação
Eclipse workshop presentation
BEST Lisboa 2013 - The Internet of Things class

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Encapsulation theory and applications.pdf
PPTX
Cloud computing and distributed systems.
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
cuic standard and advanced reporting.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Big Data Technologies - Introduction.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Electronic commerce courselecture one. Pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Review of recent advances in non-invasive hemoglobin estimation
“AI and Expert System Decision Support & Business Intelligence Systems”
Encapsulation theory and applications.pdf
Cloud computing and distributed systems.
Programs and apps: productivity, graphics, security and other tools
cuic standard and advanced reporting.pdf
Chapter 3 Spatial Domain Image Processing.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Approach and Philosophy of On baking technology
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Big Data Technologies - Introduction.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Unlocking AI with Model Context Protocol (MCP)
The Rise and Fall of 3GPP – Time for a Sabbatical?
sap open course for s4hana steps from ECC to s4
Electronic commerce courselecture one. Pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Understanding_Digital_Forensics_Presentation.pptx
Machine learning based COVID-19 study performance prediction
Review of recent advances in non-invasive hemoglobin estimation

Core mechanisms for Web Services extensions

  • 1. 2007 Next Generation Web Services Practices Core mechanisms for Web Services extensions Miguel Pardal miguel.pardal@dei.ist.utl.pt Lisbon, Seoul, October 30th, 2007 Portugal
  • 2. Outline • Service-oriented Enterprise Applications • Web Service Extensions – Core mechanisms • Conclusions 2007-10-30 Core mechanisms for Web Services extensions 2
  • 3. Outline • Service-oriented Enterprise Applications • Web Service Extensions – Core mechanisms • Conclusions 2007-10-30 Core mechanisms for Web Services extensions 3
  • 4. “The whole world is made of change” ~ Luís Vaz de Camões 16th Century Portuguese Poet Cobol Fortran C DCE Java CORBA Dot Net DCOM Web Services 2007-10-30 Core mechanisms for Web Services extensions 4
  • 5. Service-oriented approach to Enterprise Applications • Customers’ needs change – Enterprises must adapt – And so do their applications • Services – Focus on flexibility, reuse and interoperability – Web Services (WS) technology – Service-Oriented Architecture (SOA) 2007-10-30 Core mechanisms for Web Services extensions 5
  • 6. Web Services in action #1 Publish Client Service #2 Discover Data XML Schema WS #3 Generate stubs Functions WSDL #4 Configure Policy WS-Policy WS libraries #5 Invoke #6 Execute 2007-10-30 Core mechanisms for Web Services extensions 6
  • 7. Web Services libraries #4 Configure Policy WS-Policy WS libraries • WS-Policy specifies additional requirements – Like security, distributed transactions, reliable messaging, etc. – But libraries are necessary to actually implement the requirements 2007-10-30 Core mechanisms for Web Services extensions 7
  • 8. Requirements • Functional – What the service does • Input, output, faults • Non-functional – What properties hold when the service executes – Depend on circumstances and must be balanced • E.g. Security – Low value messages can use a weaker but faster cipher algorithm; high value messages use stronger security – Intranet requests use local security credentials; Internet requests use cross-domain credentials 2007-10-30 Core mechanisms for Web Services extensions 8
  • 9. Outline • Service-oriented Enterprise Applications • Web Service Extensions – Core mechanisms • Conclusions 2007-10-30 Core mechanisms for Web Services extensions 9
  • 10. WS standards for every requirement “Are we there yet?” Short answer: No, but we’re moving forward Long answer: Visit WS-Map ☺ (or another overview site…) http://web.ist.utl.pt/miguel.pardal/ws-map 2007-10-30 Core mechanisms for Web Services extensions 10
  • 11. Why go beyond the standards? • “One size does not fit all” • Vendor WS implementations – From Microsoft, IBM, Sun, Oracle, … – Good library implementations of complex WS standards – Solve 90% of the problem but are difficult to customize to specific needs • WS Extensions – Simpler library development – Appeal to a much broader developer community – Handle the remaining 10%... 2007-10-30 Core mechanisms for Web Services extensions 11
  • 12. Analogy: Mozilla Firefox extensions • Firefox implements 90% of requirements – Extensions add value to users, meeting specific needs and improving the browsing experience 2007-10-30 Core mechanisms for Web Services extensions 12
  • 13. Example extension: Security report • Some applications prefer not to know about security, they just want it – But others need to know, for instance, to store audit information in a database • Security report extension – A report is produced during WS-Security processing • All actions and all parameters described • In a simple, easy-to-use object model – Leverage WS-Security standard implementation – Enables context sharing through meaningful abstractions, delegating security decisions in a simple and effective way 2007-10-30 Core mechanisms for Web Services extensions 13
  • 14. Problem statement • What are the core mechanisms required for developing Web Services extensions ? – Like “security report” 2007-10-30 Core mechanisms for Web Services extensions 14
  • 15. Proposed core mechanisms • Policy • Configuration • Contexts management • Message flow interception • Operation implementation interception Packages and dependencies 2007-10-30 Core mechanisms for Web Services extensions 15
  • 16. Policy • Requirements declaration – e.g. Declare that a WS can be invoked with transport security or with message security • Policy negotiation between client and server 2007-10-30 Core mechanisms for Web Services extensions 16
  • 17. Configuration • Parameters – Which extensions to engage? – What are the parameter values? • e.g. Which digital certificate to use? 2007-10-30 Core mechanisms for Web Services extensions 17
  • 18. Contexts management • Scoped state variables – Application – Session – Operation – Thread • Enable data sharing between extensions and service implementation 2007-10-30 Core mechanisms for Web Services extensions 18
  • 19. Message flow interception • Message handling at service endpoint – Incoming or outgoing – Read/write header and body of SOAP messages • e.g. Do digital signature of body and place it in header 2007-10-30 Core mechanisms for Web Services extensions 19
  • 20. Operation implementation interception • Execute additional code before or after the service implementation – e.g. Implement authorization and access logging • Object factories can return different implementations according to the desired behavior 2007-10-30 Core mechanisms for Web Services extensions 20
  • 21. Proof-of-concept • All mechanisms implemented on Java Web Services – Apache Commons Policy 1.0 • Policy – JAX-WS Handlers • Message interception – Custom coding • Configuration, Contexts and Operation Execution • Field-tested on a prototype and several course projects: – Security and distributed transactions extensions – Multiple development teams – Significant improvements in ease of development and learning 2007-10-30 Core mechanisms for Web Services extensions 21
  • 22. Outline • Service-oriented Enterprise Applications • Web Service Extensions – Core mechanisms • Conclusions 2007-10-30 Core mechanisms for Web Services extensions 22
  • 23. Conclusions • Web Services development – Functional requirements are satisfied with components – Non-functional requirements are satisfied with aspects that can differ according to invocation circumstances • Web Services extensions – Simplify custom library development – Broaden developer community • Future work: – Enterprise application framework • Local and remote services • Integrated extensions engine – Platform-independent extensions: Java and Dot Net 2007-10-30 Core mechanisms for Web Services extensions 23
  • 24. Looking ahead… With extensions, more developers can try new ideas. This encourages competition and best-of-breed selections, that can further advance the state-of-the-art of Web Services technology Obrigado Thank you Questions & Answers miguel.pardal@dei.ist.utl.pt 2007-10-30 Core mechanisms for Web Services extensions 24