1 / 4

JWire Concepts

JWire Concepts. Components play roles in one or more interaction protocols. Roles are named and typed. Components are Java objects. AComposite. foo : Foo. bar : Bar. out : Requirement<Input>. in : Input. Systems are created by instantiating components and “wiring” their roles together.

noelle-bell
Télécharger la présentation

JWire Concepts

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JWire Concepts Components play roles in one or more interaction protocols. Roles are named and typed. Components are Java objects. AComposite foo : Foo bar : Bar out : Requirement<Input> in : Input Systems are created by instantiating components and “wiring” their roles together. New component types can be defined as compositions of existing components.

  2. Meta-level Descriptors Descriptors are per instance not per class (c.f. Java Beans)

  3. Composition “Recipes” • To place components, ALAN run-time must know their resource requirements. • How? • Add this information to the descriptors • Create descriptors first: • Descriptors encapsulate how to create components and bind them • Act as “recipes” for a configuration

  4. What For? • Automatic creation of distributed app’s • User’s applications generates recipes • E.g. for searching, purchasing, negotiating, etc. • Pass recipe to ALAN services • ALAN deploys components in optimal locations around network • Mobile agents “done right” • Concurrency, distribution, efficiency

More Related