110 likes | 190 Views
Architecture. ISL Building Blocks. Federation Integration Layer Provides seamless interconnection between SOA frameworks (Web Services, .NET, …) Group Provides visibility to agents and services Supports one or more Habitats Habitat Virtual Machine One or more on a physical device
E N D
ISL Building Blocks • Federation • Integration Layer • Provides seamless interconnection between SOA frameworks (Web Services, .NET, …) • Group • Provides visibility to agents and services • Supports one or more Habitats • Habitat • Virtual Machine • One or more on a physical device • Container for one or more services or agents • Service • A method based provider residing in a Habitat • Interacts with a source (e.g. device, database, web page, other service) • Agent • A service provider that uses asynchronous messages to communicate • BehaviorAgent contains one or more dynamic Behaviors • Behavior • Defines some of the capability of an agent
Habitat Habitat Habitat Habitat Agent Agent Service Agent Service Agent Service Service Behavior Dispatch Behavior Behavior Dispatch Dispatch Dispatch Behavior Event Event Event Event Event Event Event Event Behavior • Enterprise Tier • Enterprise Systems • Transaction Systems • Web Services Interfaces • ERP/ J2EE/ .NET Filters Queue Filters Filters Queue Filters Queue Queue Interface Interface Interface Interface Interface Interface Interface Interface Federation Core Service Service Bridge Adaptor JMS Integration Layer Group Group • Site Tier • Event processing • Distributed business processes • Device Mgmt Tier • Device Comm (native/ specialized) • High volume real time Data Source Tier Source Source Source Source ISL Overview
Federation Group Group Habitat Habitat Habitat Habitat Service Service Service Service Agent Agent Agent Agent Source Source Source Source ISL Overview
Agent Service Dispatch Behavior Event Event • Enterprise Tier • Enterprise Systems • Transaction Systems • Web Services Interfaces • ERP/ J2EE/ .NET Filters Queue Interface Interface Federation Service Bridge Adaptor JMS Integration Layer • Site Tier • Event processing • Distributed business processes • Device Mgmt Tier • Device Comm (native/ specialized) • High volume real time • Devices/Sensors Tier • Special purpose or Java capable Source Source Source Source ISL Overview Behavior Core Service Group Group Habitat Habitat Agent Service
Remote Admin CHAIN Solutions and Services Habitat (i.e. Container) BasicService, BasicAgent, DirectoryService, Message ISL Core Discovery, Registration, and Lookup SOA Fabric Architectural Layers
SCA • Component Implementation • Language independent • Implements contract of Component Type • Component Type • Services • Interfaces exposed to others • References • Interfaces that it uses • Properties • Control behavior at run-time • Component Composition and Assembly • Composite of components (SCDL file) • Wires components together and has Services, References, and Properties • Used by runtime to instantiate
Component Type • XML file named Foo.componentType • Describes Services, References, and Properties • Can use Java annotations • implementation tag will introspect class file <componentType> <service name=“MortgageCalculatorService”> <interface.java interface=“mortgage.MortgageCalculator” /> </service> </componentType>
Component Composition and Assembly <composite xmlns=“…” name=“MortgageComposite” > <component name=“LoanApprovalComponent”> <implementation.java class=“mortgage.LoanApprovalImpl” /> <property name=“interestRate”>7.5</property> <reference name=“CreditCheck”>CreditCheckComponent</reference> </component> <component name=CreditCheckComponent”> <implementation.java class=“mortgage.CreditCheckImpl” /> </component> </composite>
JNLP <?xml version="1.0" encoding="utf-8"?> <!-- JNLP File for SwingSet2 Demo Application --><jnlpspec="1.0+" codebase="http://my_company.com/jaws/apps" href="swingset2.jnlp"> <information> <title>SwingSet2 Demo Application</title> <vendor>Sun Microsystems, Inc.</vendor> <homepage href="docs/help.html"/> <description>SwingSet2 Demo Application</description> <description kind="short">A demo of the capabilities of the Swing Graphical User Interface.</description> <icon href="images/swingset2.jpg"/> <icon kind="splash" href="images/splash.gif"/> <offline-allowed/> </information> <security> <all-permissions/> </security> <resources> <j2se version="1.4.2"/> <jar href="lib/SwingSet2.jar"/> </resources> <application-desc main-class="SwingSet2"/> </jnlp>