Electronic Design

  
Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


[Embedded in Electronic Design]
Software Directory: Embedded Networking Series

William Wong  |   ED Online ID #3847  |   July 9, 2001


Jini—Network Service Location
Embedded network devices use infrastructures, like Sun's Jini, to locate network-based services. Jini thrives because most embedded devices support Java. Gateways provide a link to embedded network devices that don't run Java.

Jini's dependence on Java is both an advantage and a disadvantage. On the positive side, Java provides a consistent execution platform for services. It also supplies access to other Java-based technologies. Examples include JavaSpaces and Java Remote Method Invocation (RMI), which are both part of Jini. On the other hand, a Java virtual machine (JVM) requires a significant amount of memory and processing power, making it unsuitable for smaller 8- and 16-bit platforms. These can still be used in a Jini environment, but they need a Java-based gateway.

Jini is designed to work with a range of devices, from portable units, such as digital cameras, personal digital assistants (PDAs), and cell phones, to gateways, printers, network-attached storage (NAS) devices, and even PCs. Jini works with most network transport protocols, although TCP/IP is the most popular. Jini can work with other technologies too, such as Bluetooth, JetSend (a service protocol for devices like printers), and Home Audio-Video interoperability (HAVi).

Jini services automatically register themselves with a Jini lookup service, so an application can use Jini to locate a service. Services use the same mechanism to utilize other services. Plus, Jini allows services to be located on the same device or network.

See associated figure



Architecture
Jini devices broadcast only when trying to locate a lookup service on a locator device. Devices that provide a service register that service with a lookup server, while client applications locate a service by sending a lookup request to a lookup server. In response to a request, a client receives a service object used to invoke actions on the service provider.

Jini facilitates connections between services located on devices. For example, a Jini-enabled digital camera could download images to a Jini-enabled printer.

At least one lookup service is required, but multiple lookup services can be used. Lookup services also can implement other lookup services to locate services not registered in the local service database. This hierarchical architecture is significant because devices are part of larger networks, such as the Internet. It also is useful when clients are on the other side of a gateway or firewall and thus unable to locate a remote lookup service.

Attributes identify services. The service database stores these attributes so that clients can request a service based on a collection of them.

Jini provides more than just location services, which also separates it from other architectures, like Universal Plug and Play (UPnP). Jini supports remote invocation of services. It provides security and access control services, and it even supports complex transactions with a two-phase commit. These features are often built on top of other architectures instead of by using a consistent architecture and environment like Jini and Java.

Jini employs JavaSpaces. This technology provides distributed object access that may be employed by clients and services. Although JavaSpaces is comparable to CORBA, it requires a Java environment, as does Jini. JavaSpaces provides Jini's transaction and event support that simplifies distributed applications.

See associated figure



FEATURES
ArchitectureLookup server
ExpansionHierarchical lookup services
Discovery
Lookup server
Service

Broadcast
Query lookup server
Services
Initial access
Leasing
Remote invocation
Client interaction

Via lookup service
Yes
Yes
Direct
SecurityAccess control lists, encryption
TransactionsTwo-phase commit
Event supportYes
LicensingNo royalties


PLATFORMS
Target applicationsInternet appliances, networked devices
Target CPUsMust support Java virtual machine (JVM)


NETWORKING
ProtocolsTCP/IP
Interprocess communication servicesJava Remote Method Invocation (RMI), JavaSpaces


Sun Microsystems Inc.
(800) 786-7638
www.java.sun.com




<-- prev. page     [1] 2     next page -->

Reprints   Printer-Friendly  Email this Article  RSS    Font Size   What's This?


  • In EDA, A Year Of Mergers, Failed And Otherwise
  • 2008 BEST Electronic Design Winners
  • Engineers Rely On Internet For Product Info
  • Rochester Electronics Establishes New Design and Technology Group
  • November 17, 2008
  • Custom Sources Light Way To 22-nm IC Lithography
  • Software Turns Scopes Into Vector RF Signal Analyzers
  • Couple’s $15 Million Gift Advances Rice Engineering Education
    1) Behind The Bright Lights, LED Drivers Evolve To Meet New Requirements
    (732 views today)
    2) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (271 views today)
    3) Wi-Fi Chips Stand Out In A Sea Of Wireless Products
    (205 views today)
    4) What's All This "Adjustable Slew Rate Stuff," Anyhow?
    (187 views today)
    5) Ten Top Design Skills For Tough Times
    (184 views today)
    ALL TOP 20



    POST YOUR COMMENTS HERE
    Name:

    Email:
    Your Comments:

    Enter the text from the image below


    Please refresh the page if you have trouble reading this text.

    Search Electronic Design
         
      
     
    Web Seminar
    Sponsored By:
    Title: Read Pacing: A Performance Enhancing Feature of PCI Express Gen 2 Switch Devices
    Speakers: 
    Date: 07/01/08
    Register: 

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources