SOA Today with. Agenda SOA defined Introduction to XFire A JSR 181 Service Other “stuff” Questions.

Slides:



Advertisements
Similar presentations
MIT Lincoln Laboratory A Service-Oriented Approach to Application Development Robert Darneille & Gary Schorer WPI MQP Presentations ICS Group 10 October.
Advertisements

Mule and Web Services Dan Diephouse, MuleSource. About Me Open Source: Mule, CXF/XFire, Abdera, Apache-* Exploring how to make building distributed services.
Siebel Web Services Siebel Web Services March, From
Overview of Web Services
31242/32549 Advanced Internet Programming Advanced Java Programming
Francisco Gonzalez Mario Rincon.  Apache CXF is an open source services framework.  CXF helps you build and develop services using frontend programming.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
SOAP.
Web Services and AIXM. Introduction Subramanyam “Subbu” Nadavala Contractor, L-3 Communications FAA Air Traffic Organization (ATO) Information Technology.
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Spring, Hibernate and Web Services 13 th September 2014.
Web Services with Apache CXF
Webservices using JAXB and JAX-WS Lalit Bhatt SpiderLogic
Application Integration, Data Access, and Process Change.
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
CSC-8530: Distributed Systems Christopher Salembier 28-Oct-2009.
6/11/2015Page 1 Web Services-based Distributed System B. Ramamurthy.
Introduction to Service-Oriented Architecture. Outline Definition Features Examples of SOA Web Service Standards Example Pros and Cons Integration with.
CSE 636 Data Integration Web Services.
Peoplesoft: Building and Consuming Web Services
SOA-4: Introduction to OpenEdge ® Integration Technologies Jamie Townsend Applied Architect.
Comparison Jersey and Apache CXF RESTful webservices.
1 3. Implementing Web Services 1.Create SOAP proxy interfaces and WSDL based service descriptions 2.Register/publish services 3.Stores service descriptions.
Introducing Axis2 Eran Chinthaka. Agenda  Introduction and Motivation  The “big picture”  Key Features of Axis2 High Performance XML Processing Model.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Prepared By : Monika Darji Web Services using REST & JAX-WS.
FIORANO FOR SAAS.  Fiorano addresses the need for integration technology that bridge the gap between SaaS providers and Consumers.  Fiorano enables.
Web Services & WCF ~ Ankit. Web services A web service is a collection of protocols and standards used for exchanging data between applications or systems.
Web Services MnSCU Web Services Roundtable David Purcell, OoC IT JoDee Haugrud, MN State Moorhead Gary Hayden-Sofio, MCTC Dave Kruse, SCTC.
Web servisu izstrāde JAX-WS. Ievads JAX-WS = Java API for XML Web Services JAX-WS ir fundamentāla Web servisu izstrādes tehnoloģija Java EE 5 un Java.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Web Services with Apache CXF Part 2: JAXB and WSDL to Java Robert Thornton.
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
Random Logic l Forum.NET l Web Services Enhancements for Microsoft.NET (WSE) Forum.NET ● October 4th, 2006.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Security Token Service Valéry Tschopp - SWITCH.
WebService. Outline Overview of Web Services SOAP (messaging) WSDL (service description) UDDI (registry)
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks AMGA PHP API Claudio Cherubino INFN - Catania.
Overview: Application Integration, Data Access, and Process Change November 16, 2005 Tom Board, NUIT.
Web Services (SOAP) part 1 Eriq Muhammad Adams J |
XML and Web Services (II/2546)
Tu sca ny 1 The Tuscany Project in the Apache Incubator and The Service Component Architecture Jeremy Boynes Simon Nash 28 June 2006.
INT-9: Implementing ESB Processes with OpenEdge ® and Sonic ™ David Cleary Principal Software Engineer.
Kemal Baykal Rasim Ismayilov
Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
INFSO-RI Enabling Grids for E-sciencE Web Services Mike Mineter National e-Science Centre, Edinburgh.
Kai Ruhl, Pablo Beltrami November 2009 Webservices for Distributed Access to Space Weather Models ESWW6, Bruges, Belgium.
Introduction to Web Services Srinath Vasireddy Support Professional Developer Support Microsoft Corporation.
The Java API for XML-Based Web Services. A Web Service example in Java SOAP-awareServlet (e.g. Apache Axis2) SOAP-awareServlet Any class processing the.
Added Value to XForms by Web Services Supporting XML Protocols Elina Vartiainen Timo-Pekka Viljamaa T Research Seminar on Digital Media Autumn.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
Web Services-JAX-RPC JAX-RPC enables a Web Service endpoint to be developed using either a Java Servlet or Enterprise JavaBeans (EJB) component model.
Unit – 5 JAVA Web Services
ASP.NET Web Forms and Web Services
Implementing a service-oriented architecture using SOAP
Introduction to Web Services and SOA
Introduction to Web Services
Developing and testing enterprise Java applications
Distributed System using Web Services
Introduction to Web Services and SOA
Standards, APIs, and Applications
Distributed System using Web Services
Presentation transcript:

SOA Today with

Agenda SOA defined Introduction to XFire A JSR 181 Service Other “stuff” Questions

Service Oriented 1. to orient around services 2. buzzword 3....

Service oriented is NOT (but can be) NEW XML Web Services ESBs [insert cool product here]

Service oriented is an architectual style

Loosely Coupled NOT

Highly Interoperable Built on standards Crosses boundaries

Service oriented is business oriented

XFire Web Services for Java Standards based: XML, SOAP, WSDL, WS-* Open Source (MIT license) Easy to use: –JSR181 –Spring support –Code->WSDL –WSDL->code

Architecture Streaming xml (StAX) Pluggable bindings – POJOs, JAXB, XMLBeans, Castor, Custom types Multiple transports – HTTP, XMPP, JMS, In-JVM transports –(and write your own easily via our Transport API!) Embeddable

Performance Traditional Web Services Build Objects Build DOM Invoke Service Build DOM Write DOM Requires building two object representations –Document Object Model –Business domain objects

XFire Performance Streaming Model Invoke Service Build objects from stream Write objects to stream Builds domain objects directly from the XML stream Low latency and high throughput model 2-5+x the throughput of Axis and 1/2-1/5 the latency

XFire and JSR 181 Easy code first deployment Model service via annotations Java 5 and Java 1.4 through commons- attributes or Retroweaver

The public interface OrderService { … }

Our public Collection public long addOrder(Order public void removeOrder(long id);

Our Operations public long Order o);

Service endpointInterface=“OrderService”, serviceName=“OrderService”) public class OrderServiceImpl { // implement operations here }

Configure the Service A ServiceFactory creates a Service A Service is registered in the ServiceRegistry XFireHttpServer creates a Jetty instance configured for XFire An XFireProxyFactory creates a proxied Client

Create the Service XFire xfire = XFireFactory.newInstance().getXFire(); AnnotationServiceFactory factory = new AnnotationServiceFactory( new Jsr181WebAnnotations(), xfire.getTransportManager()); Service service = factory.create(OrderServiceImpl.class); xfire.getServiceRegistry().register(service); XFireHttpServer server = new XFireHttpServer(); server.start();

Easy client XFireProxyFactory xpf = new XFireProxyFactory(); OrderService service = (OrderService) xpf.create(model, OrderService.class); service.getCustomers();

The services.xml version jsr181 OrderServiceImpl

A “pure” Spring version

A “pure” Spring version

A “pure” Spring version

A “pure” Spring version

Testing Test against your target platforms –.NET, PHP, Ruby, Perl, [fancy lang here] Record messages and play back Use AbstractXFireAegisTest –invokeService(serviceName, document)

Security Authentication – HTTP, WS-Security, Custom headers Authorization – Acegi, Custom code Integrity – WS-Security Privacy – HTTPS, JMS, WS-Security Avoid WS-Security whenever possible. Its dead slow.

Custom authentication public void AuthToken Order order); public class AuthToken { String username; String password; …. }

SOA with XFire perspective Loosely Coupled – OrderService is independent of others Highly interopable – All you need is the WSDL Business oriented –Shares data across business boundaries

Where to now Use XFire Mapping files to control WSDL/XSD Do Schema/WSDL first with JAXB, XMLBeans or Castor for more control Hook up services to JMS or ServiceMix or Mule Write more services! Investigate WS-* needs

Questions? More Information: Web site: Mailing Lists: My Blog: Commercial Support: Send to for performance