JINI NETWORK TECHNOLOGYAbstract:                                        Jini network technology is an open                ...
systems issues, no weird cables andconnectors. It is designed to facilitate thecommunication of cellular phones, pocket-si...
point of contact between the system and users of the           before it is freed—either because the resource issystem. In...
   Stub is Light weight and does not                                                  carry any extra UI classes         ...
Upcoming SlideShare
Loading in …5

Jini network technology


Published on

Jini network technology

  1. 1. JINI NETWORK TECHNOLOGYAbstract: Jini network technology is an open architecture that enables developers to create network-centric services -- whetherJini is a network architecture for the implemented in hardware or software -- thatconstruction of the distributed systems are highly adaptive to change. Jiniwhere scale, rate of change and the technology can be used to buildcomplexity of the interactions within and adaptive networks that are scalable,between networks are extremely important evolvable and flexible as typically requiredand cannot be satisfactorily addressed by in dynamic computing environments. It isexisting technology. This technology based on java & TCP/IP..provides a flexible infrastructure fordelivering services in a network and for History:creating spontaneous interactions between Jini was introduced by Sun Microsystemsclients that use these services regardless of under the leadership of Bill Joy and Jimtheir hardware or software implementations. Waldo on January, 1999. The first majorExamples ranges from business enterprises, step in bringing computing technology to the world occurred when chips were first fittedmedical systems, financial applications, and onto circuit board in 1978.battlefield implementations, to a Jini enabled Bill Joy, Sun’s co-founder and CEO,car or a Smart House. It’s source code is describes five areas of research andavailable at no cost. There are no fees of any development that led to Jini.kind associated with the licensing and use of 1: Remote Method Invocation: alone it fails,this technology. The Jini architecture is the but it works within Jini. 2: Object and information storage: figuringonly technology in the marketplace that out how to store massive amounts ofmoves Objects around the network and information and objects for a limited time isrelegates wire protocols to mere key to Jini.implementation details. It’s vision is 3:Transactions: transactions systems mustnetwork anything , anytime, anywhere !.Due allow immediate change.to the simplicity of Jini architecture it 4:Distributed events: events are necessarilyclearly wins and will be. logical. 5: Distributed security: good security enables trust. Joy points out that JiniIntroduction : resolved and brought together all these areas of Java.Jini™ (pronounced like genie) is a networkarchitecture for the construction ofdistributed systems where scale, rate What is Jini?of change and complexity of interactionswithin and between networks are extremely Jini connection technology is based on aimportant simple concept that “devices should work together”. No drivers to find, no operating
  2. 2. systems issues, no weird cables andconnectors. It is designed to facilitate thecommunication of cellular phones, pocket-sized computers, pagers and other devicesover computer networks. In simple terms,it’s really a Java program that serves as atranslator between the device and the rest ofthe devices on the network .JINI Technology KeyConcepts  The jini technology makes a network more dynamic The architecture of a single Jini system is  It provides mechanism for devices to targeted to the workgroup. Members of the join and detach from network federation are assumed to agree on basic dynamically without the need for notions of trust, administration, configuring each device identification, and policy. It is possible to  Jini is also called “Apache River” federate Jini systems themselves for larger  Jini addresses the problems of organizations. distributed computing using a set of simple interfaces and protocols 1:Services  Jini enables spontaneous network of software services to assemble into The most important concept within the Jini working group of objects of architecture is that of a service. A federations. service is an entity that can be used by a  Jini builds on the Java 2 Platforms person, a program, or another service.  Jini enables self healing when one or A service may be a computation, storage, a more devices are removed from the communication channel to another federations user, a software filter, a hardware device, or  Jini is useful for hardware as well as another user. software services. Services in a Jini system communicate with each other by using a service Purpose of Jini protocol, which is a set of Java interfaces.  Enabling users to share services or The set of such protocols is open resources over a network ended. The base Jini system defines a small  Providing users easy access to the number of such protocols which resources anywhere on the network define critical service interactions. For some  Simplifying the task of building, of these protocols we will provide maintaining and altering a Network example implementations of services that of devices , software and users. use them. JINI Architecture 2:Lookup Service Services are found and resolved by a lookup service. Overview The lookup service is the central bootstrapping mechanism for the system and provides the major
  3. 3. point of contact between the system and users of the before it is freed—either because the resource issystem. In precise terms, a lookup service maps no longer needed, the client or network fails, orinterfaces indicating the functionality provided by a the lease is not permitted to be renewed—thenservice to sets of objects that implement the service. both the user and the provider of the resource can conclude the resource can be freed. Leases A service is added to a lookup service by a are either exclusive or non-exclusive.pair of protocols called discovery and join--firstthe service locates an appropriate lookup service 6:Transactions(by using the discovery protocol), and then it A series of operations, either within a single service or spanning multiple services, can be wrapped in ajoins it (by using the join protocol). transaction. The Jini transaction interfaces supply3:Remote Method Invocation a service protocol needed to coordinate a two-phase commit. How transactions are implemented—and(RMI) indeed, the very semantics of the notion of a transaction—is left up to the service using theCommunication between services is accomplished interfaces.using Java Remote Method Invocation (RMI). Theinfrastructure to support communication betweenservices is not itself a service that is discovered and 7:Eventsused but is, rather, a part of the Jini infrastructure. The Jini architecture supports distributed events.RMI provides mechanisms to find, activate, and An object may allow other objects to registergarbage collect object groups. RMI also provides the interest in events in the object and receive ainfrastructure for multicast, replication, and the notification of the occurrence of such an event.mechanisms for basic security and confidentiality. This enables distributed event-based programs toFundamentally, RMI is a Java-programming- be written with a variety of reliability andlanguage-enabled extension to traditional remote scalability guarantees.procedure call mechanisms. RMI allows not onlydata to be passed from object to object around thenetwork but full objects, including code. Much of the Jini Service orientedsimplicity of the Jini system is enabled by this abilityto move code around the network in a form that is Architectureencapsulated as an object.4:Security This section discusses the fundamental issueThe Jini security model is built on the twin of how services connect and register withnotions of a principal and an access the network in a SOA.control list. Jini services are accessed on The basic networks elements in the Jinibehalf of some entity—the principal— architecture related to this issue are:which generally traces back to a particular  Lookup Serviceuser of the system. Services themselves may  Service Proxyrequest access to other services based on the  Clientidentity of the object that implements theservice. Jini Process5: Leasing 1:Jini service discovers LUS and registers itsAccess to many of the services in the Jini serviceenvironment is lease based. A lease is 2:Jini client discovers LUS and locates thea grant of guaranteed access over a time period. desired jini serviceEach lease is negotiated between the user of the 3:Jini client receives java proxy for jinniservice and the provider of the service as part of service.the service protocol: A service is requested for 4:Jini client uses proxy to contact JINIsome period; access is granted for service directlysome period, presumably taking the requestperiod into account. If a lease is not renewed
  4. 4.  Stub is Light weight and does not carry any extra UI classes  Adding support for new UI tech by simply adding new builders at service end Unique Benefits  Resiliency-Networks readily adapt to changes in the computingDiscovery: Environment  Integration-Allows fast , easyJini discovery is the process of adding a incorporation of Legacy ,current andservice to a jinni sy future network components.  Licensing-jini network technology is available free of charge With an evergreen license. Future Work  Identifying and refining the UI patternsstem.  Security in jini:  Who can accessJoin services?  Authentication  Who can invoke what services?  Authorization conclusion The overall goal is to turn the network into a flexible, easily administered tool on which resourcesLookup: can be found by human and computational clients. Resources can be implemented as either hardware devices, software programs, or a combination of the two." You can use the Jini Network technology to create technology systems that are scalable, evolvable, and flexible, inMerits dynamic runtime environments in a multifaceted way… Happy  Dynamically builders can be loaded reading!!!! with various kinds of Factory settings  Support for different Display Technologies