Jini Technology
Jini Technology
Of
Bachelor of Engineering
In
November 2022
INTRODUCTION
Jini is a service-oriented architecture that defines a programming model that
both exploits and extends Java technology. This programming model enables
well-behaved network services. Jini helps to build networks that are scalable
scenarios.
technology. Both are released under the open-source Apache 2.0 License.
Jini provides desirable features and facilities like non protocol dependence
and code mobility. In fact, code mobility is the key concept. Jini not only
allows for the addition of printers, storage and other devices to a network, it
without having to reboot the system. Hardware devices declare to their own
network that they have been added and are available for use. This is
CHAPTER-1:Jini Technology
1.0 Technology
1.1 overview
1.2 History
1.3 Goals
2.2 Structure
3.2 Discovery
CHAPTER-5:Summarization
5.1 Drawbacks
5.2 Future
5.3 References
➢ 1.1 Jini Technology : An Overview
• The idea of the Jini system sprang from Sun cofounder Bill Joy at
Sun Aspen Smallworks R&D lab in 1994.
– Ann Wollrath, the inventor and designer for Java Remote Method
Invocation (Java RMI).
Example :
In this example , there are three professors Bob, Sue and Dave. They
are at a different site with each site having its own network. These
networks are connected with each other by using the jinni
technology. What these professors are doing is, they are working
over a same project with the devices on their own network using the
services provided by the devices on the another network.
Architecture
Jini is a set of APIs and network protocols that can help you build
and deploy distributed systems that are organized as federations of
services. A service can be anything that sits on the network and is
ready to perform a useful function. Hardware devices, software,
communications channels -- even human users themselves -- can be
services. A Jini-enabled disk drive, for example, could offer a
"storage" service. A Jini-enabled printer could offer a "printing"
service. A federation of services, then, is a set of services, currently
available on the network, that a client (meaning a program, service,
or user) can bring together to help it accomplish some goal.
• Jini Services
• Jini Infrastructure
• Jini Programming Model
• Java 2 Platform
➢ 2.2.1 Jini Infrastructure :
➢ Infrastructure is the set of components that enables
building a federated Jini system .
Jini Infrastructure:
The Jini TM technology infrastructure is built around the
model of clients looking for services. The notion of a service
encompasses access to information, computation, software
that performs particular tasks, and in general any component
that helps a user accomplish some goal. Services can
themselves be clients of other services, and can be grouped
together to provide higher-level functionality.
➢ 3.2 Discovery :
A client that wants to use a particular service finds the
appropriate server by looking in the Jini lookup service. But
before that the client has to locate the Jini lookup service. This
can be done by a process called discovery. Jini specification
for this defines at the network level the protocol by which
clients can find the lookup service. There are two ways in which
a client can discover the Jini lookup service:
3. The lookup service performs the query and sends back zero to
many matching service objects. The client gets a reference to the
matching service objects as the return value of the lookup () method.
4. After receiving a service object now it’s time for the client to use
that service.
➢ 5. Summarization
➢ 5.1 Drawbacks :
At any rate, some drawbacks for Jini exist. One of the most
restricting ones is that Jini is not compatible with the Kilobyte
Virtual Machine (KVM) which is a very limited VM. It is targeted
to embedded devices with approximately 128 kilobytes of
available memory. There exists a lack of interoperability,
because Jini requires some J2SE based features like RMI to
work, and these kinds of features are too heavyweight for the
current KVM implementations. The role of the KVM is to be a
part of the new running environment of the larger developing
solution J2ME for limited-resource mobile devices. This
development environment is constructed of configurations and
profiles (Figure 5-1). Configurations include a VM, optimized
APIs and core classes for a certain type of a device, such as a
PDA or a mobile phone, which is not capable of running a
full-blown JVM. Current basic configuration for the JVM is
called Connected, Limited Device Configuration,which has been
already approved by the Java Developer Community (JDC) as a
Java Specification Request (JSR).
➢ 5.2 Future :
➢ 5.3 References :
1) www. jini .org
2) www.devx.com/assets/download/4508.pdf
3)Java.sun.com/developer/technicalArticles/jini/.../Javatanks.ht
ml
4) en.wikipedia.org/wiki/Jini