Académique Documents
Professionnel Documents
Culture Documents
A Computing History
Disk Centered Microprocessor Computing Age Network Age Service Age
1950s
CPU Disk Disk-oriented OS Multi-chip CPUs Systems on a board Inexpensive disks Embedded devices Personal devices Network services Jini Communities Java Technology Services
History of Jini
Sun R&D project (Bill Joy, and
Jim Waldo with Ann Wollrath, theinventor/designer of RMI, Ken Arnold, the designer of JavaSpaces, and Bob Schleifer, designer of Lookup/Discovery).
Ten Megatrends
1. 2. 3. 4. 5. 6. Services not applications Wireless > Internet > PC markets eMarketPlaces Content => service => device Network centric development Focus on business logic and accessibility 7. Capacity planning is an oxymoron 8. Supply chain integration and auctioning as examples of new business model 9. Everything is mission critical 10.Simplicity!
Entertainment
Big Questions
How rich does the set of networksupported services become? How can we interoperate without a PhD in networking?
Jini technology, based on Java technology, enables digital services to simply connect together.
What is Jini?
Software layer (48kB) to describe services to the net Runs on all Java Virtual Machines (JVM) on any device (from mainframe to toaster) Only the Front-End of the service is transmitted---Distributed Computing End of all Protocols as we know them
Jini Technology Enables You to Simply Introduces Simple, Powerful New Concepts Connect
Instant On Plug it in and it just works, no fuss, hassle free Impromptu community Create your personal community of devices and services at home, in the office, or on the road and interact with other communities quickly and easily Resilient Your Jini community maintains itself & adapts to change Your Jini community is always available The Service Age allows the system to be more tolerant and redundant Special delivery Services are available on demand
Small Office
Home
Services
Corporate Data Center
Mobile
Jini Technology Signals the Creates New Easier StartOpportunities Anwith theWay to Interact of the ServiceWorld Business Digital Age
Device Manufactures Consumers
Phone VCR TV Storage, peripherals, PDAs, CPUs, etc.
Developers
Service Providers
System restores state after failures Resilience Easy access to Jini technology Anyone can join the Jini community
Jini Technology
Let objects find each other,... add simple APIs for remote objects and basic distributed computing,... then everything else is a service.
Infrastructure
Java Virtual Machine RMI Java Security
Programming Model
Java APIs JavaBeans Components etc...
Services
JNDI Enterprise JavaBeans Components JTS etc...
Discovery & Join Leasing Distributed Transactions Security Distributed Events Lookup Service
Discover (find) and join a community of Jini technology-enabled devices Advertise its capabilities Provide any required software and attributes no drivers required Requires only one Java Virtual Machine on the network
Send out a multicast packet with reference to yourself Receive a RMI reference to the Lookup Service
Repository of available services Stores service as extensible set of Java application objects
ID, interface, GUIs, attributes, drivers...
Service objects downloaded as required May be federated with other lookup services Lookup Service interface
Registration, Access, Search, Removal
Basic communication mechanism between components in a Jini system Secure ability to find, activate, and garbage collect objects Allows data as well as code to be passed from object to object
Protocol for managing resources using a renewable, duration based model Contract between objects Resources can be shared or nonshared
Designed for distributed object conversations Light weight, object-oriented Supports subset levels of ACID properties Supports nested transactions Uses leasing protocol
Extends Java platform event model to allow it to work in a distributed network Register interest, receive notification Allows for easy use of event managers Can use numerous distributed delivery models: Push, pull, filter ... Uses leasing protocol
Jini distributed security adds notion of principal and access control lists Jini services are accessed on behalf of a principle which traces back to a particular user/device Access to a service depends on the access control list associated with that service
JavaSpaces Technology
Shared, dynamic memory for networked Java Virtual Machines Helps federate the network of Java Virtual Machines Provides simple, dynamic object persistence Facilitates alternative messaging patterns
async, store and forward, routed, filtered... Writing, finding, reading, removing, event
Service Request
Print Service
Service Request
Image Service
January 25, 1999 - Jini is officially launched and the technology is available for download March - Sun hosts the first Community event: the Printer Group March - jini.org goes live April - Sun hosts the second Community meeting: the Storage Group May - Sun hosts the first full Community Summit. Over 70 companies participate June - Suns Professional Services launch a full suite of Jini technology service offerings.
Customers
2nd FCS
connections: 1-3 3-12 12-25 >25
FCS
Echelon
maturi ty
beta
printers
?Data missing
alpha
prototype
?
large device embedded laptop
? ?
?
storage
target
>1 E10000
desktop
E10000
Ultra60
E250
com.mycom.jini.ServiceA[B,C] Jini Services com.mycom. jini.ServiceA Device could be repackaged as a native Jini device com.mycom.jini.ServiceA[B,C] Jini Clients Jini/X Surrogate Host
Jini Technology:
Innovation for the Future
Powerful, yet simple technology & licensing Enables mobile behavior and computing Drives emerging networks of devices/services Catch system-on-a-chip wave No bloated fragile OS with complex configuration Appropriate software for the networked age Platform independent via Java Virtual Machine Object-oriented via best language Allows dynamic systems that can easily evolve
Simply connect.
Quotes on Jini
Services