Introduction to ArtificiaI Intelligence in Higher Education
Â
jini technology
1. Jini Technology
Submitted To:
Charmi Purohit
Rachana Kamalia
Mira Chavda
Prepared By:
Jignasha Limbasiya
MSc(IT & CA)
1
2. Outlines
• What is JINI?
• History of JINI Technology
• Why used JINI Technology?
• Purpose of JINI
• JINI Service-Oriented Architecture
• JINI Process
• Structure of JINI Technology
• Where is JINI used?
• A JINI System in Action - Remote PDA Printing
• How does JINI Technology help in devices?
• Advantages and disadvantages
• Conclusion
• References Jignasha Limbasiya 2
3. What is JINI?
• Jini is actually a Java program that serves as a translator for
communication between a computer and other devices on the
network.
• Enables all types of devices to simply connect into impromptu
networks, making access to and delivery of new network
services as simple as plugging.
• Enables all types of devices to work together in a community
put together without extensive planning, installation, or human
intervention.
Jignasha Limbasiya 3
4. • Jini is a distributed computing network environment that
offers, “Network plug and play”
• Jini is connection technology is base on a simple concept that
“device should work together.” no driver to find, no operating
system issues, no wired cables and connectors.
• It provides mechanisms for devices to join and detach from
network dynamically without the need for configuring each
device.
Jignasha Limbasiya 4
5. History of JINI Technology
• The idea of the Jini system sprang from Sun cofounder
Bill Joy at Sun Aspen Smallworks R&D lab in 1994.
• Under the leadership of Bill Joy and Jim Waldo.
• On January 25, 1999, Jini was officially launched and the
technology is available for download.
Jignasha Limbasiya 5
6. Why use JINI Technology?
• Provides an environment for creating dynamically network
components, applications, and services that scale from the
device to the enterprise.
• Offers an open development environment for creative
collaboration through the Jini Community.
Jignasha Limbasiya 6
7. Purpose of JINI
• Providing users easy access to the resources anywhere on the
network
• Enabling users to share services or resources over a network
• Simplifying the task of building , maintaining and altering a
Network of devices , software and users.
Jignasha Limbasiya 7
9. JINI Process
Proxy
Proxy
1 2 3 4
JJiinnii SSeerrvviiccee
Lookup
Service
Proxy
CClliieenntt
5
6
1. Discover: find a Lookup
Jignasha Limbasiya 9
service.
2. Join: send a copy of the
service proxy to the
Lookup service.
3. Discover: find a Lookup
service.
4. Lookup: request a service.
5. Receive a copy of the
service proxy.
6. Access service.
11. Lookup Services
• The Lookup service is a heart of a Jini.
• Lookup service may include entry for other lookup services.
• When new services become available on the network, they
register themselves with a lookup service.
• When clients wish to locate a service to assist with some task,
they consult a lookup service.
Jignasha Limbasiya 11
12. Discovery
Service
Provider
Proxy
Attributes
Lookup Service
Client
Service provider or
client seeks a
Lookup Service
Jignasha Limbasiya 12
13. Transactions
• A series of operations, either within a single service or
spanning multiple services, can be wrapped in a transaction.
• The Jini Transaction interfaces supply a service protocol
needed to coordinate a two-phase commit
– all results save in temporary storage
– move from temporary to permanent storage
Jignasha Limbasiya 13
14. JavaSpaces
• The JavaSpaces technology is written in the Java language and
is a simple, fast and unified mechanism for dynamic
communication and sharing of objects
• A JavaSpace is a Jini service that stores Java objects in
memory.
Jignasha Limbasiya 14
15. Distributed Events
• Jini supports distributed events.
• An object may allow other objects to register interest in events
in the object and receive a notification of the occurrence of such
an event.
• Serializable and can be moved across a network.
Jignasha Limbasiya 15
16. Where is JINI used?
• Look around: TVs, DVDs, cameras, phones, PDA, printers,
disk drives, pagers.
• A device performs a simple task, and only that task.
• Today devices are unaware of their surroundings - they are
rigid and cannot adapt.
• When you buy a disk drive, you expend a lot of effort to install
it or you need expert to do it for you.
Jignasha Limbasiya 16
17. A JINI System in Action - Remote PDA
Printing
17
4. Finds
printing
service
Lookup Service
Laser
Printing
Service
User
with
PDA
Lookup
Service
Data
Storage
Service
3. PDA locate s lookup services at office
through Internet
7, 8. PDA finds proxy from
Storage service
10. Document is drag and dropped
from the storage to printer,
transferred by the proxies without
going through the PDA
1. PDA uses discovery
and join to find
lookup service
2. Obtains
RMI
Interface to
service
5. Lookup returns
proxy to printing
service
6. PDA displays
GUI for selection
from proxy service
9. PDA user config
printer through
proxy service
18. How does JINI Technology help in
devices?
• With the help of JINI Technology, a device that can take
charge of its own interactions can self-configure, self-diagnose,
and self-install.
Jignasha Limbasiya 18
19. Advantages
• Jini is open-source, meaning that the program code is freely
available on the Internet and there are no fees for using it.
• Jini supports an extremely flexible network as Services and
Clients can move code to where it is needed.
• New services are easy to program in Java, and can be easily
added to the network.
Jignasha Limbasiya 19
20. Disadvantages
The Client may incur larger overheads compared to other
technologies, since it must have a Java Virtual Machine installed
as well as the code that is downloaded from the network. This
would not be a problem for a desktop computer, but could be
challenging for small devices.
Jignasha Limbasiya 20
21. Conclusion
Jini provides an extensive framework for developing flexible and
robust distributed systems. In addition to that it offers
capabilities, which are required to fulfill the needs of modern end
users of the network services.
Jignasha Limbasiya 21