Developing Jini™ Applications Using J2ME™ Technology - Hinkmond Wong

Developing Jini™ Applications Using J2ME™ Technology

(Autor)

Buch | Softcover
368 Seiten
2002
Addison Wesley (Verlag)
978-0-201-70244-6 (ISBN)
39,95 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
'Developing Jini Applications Using Java 2 Micro Edition (J2ME)' provides a detailed roadmap on how to design a Jini network and make it work. It contains application examples, diagrams and code, and details the common traps and pitfalls, showing how to avoid mistakes happening.
Sun's Java 2 Platform, Micro Edition (J2MEaA A TM) offers a comprehensive platform for developing networked consumer and embedded devices, from set-top boxes to Internet appliances. In this book, Sun insider Hinkmond Wong presents a start-to-finish roadmap for using J2ME and JiniaA A TM connection technology to build real-world solutions. Unlike previous books, this one doesn't focus on specifications, but rather on practical applications: case studies, challenges, solutions, and code. Wong presents a concise, authoritative overview of both Jini technology and the new Java 2 Micro Edition. He reviews the key challenges faced by embedded developers who want to build Jini networks, offers practical guidance on choosing the optimal network architecture for your family of small devices, and describes a complete sample Gateway Service Framework that demonstrates how Jini devices can be integrated into a single seamless network. Wong provides case studies covering home automation, office automation, and factory-based Jini networks -- each with detailed diagrams and sample code.For all embedded engineers, architects, Java developers, technical managers, and other professionals working with Jini or competitive solutions for networking embedded devices.

Hinkmond Wong is a software engineer with Sun Microsystems, Inc. He holds a B.S. in electrical engineering from the University of Michigan and an M.S. in computer engineering from Santa Clara University. Currently, Hinkmond is the specification lead for the J2ME Connected Device Configuration (CDC) and Foundation Profile and works on J2ME CDC-based libraries and the Personal Profile. His previous writing on the EmbeddedJava™ Application Environment using Jini connection technology was published in Dr. Dobb's Journal. 0201702444AB03202002

(NOTE: Each chapter concludes with a Summary.)

Preface.


1. Introduction.


Distributed Computing and Embedded Devices: A Natural Fit.



How Traditional Networks Have Failed.



Benefits of Using Java Technology.



Advantages of Jini Network Technology.



How Java and Jini Technologies Work Together in Embedded Devices.



2. The Power of Java Technology in Small Devices.


Java Technology Addresses the Problems of Small Devices.



J2ME Technology.



The Increasing Power of Small Devices.



J2ME CLDC.



Technical Overview.



New Features.



Unsupported Features.



J2ME Connected Device Configuration.



3. The Jini Network Technology Vision.


Wire Protocols: Constricting and Fragile.



Objects on the Network.



The API Defines the Network Interface.



Byte-Level Protocols Are Irrelevant.



Late Binding Insulates Developers.



The Power of Write Once, Run Anywhere.



Capitalizing on the Simplifying Assumptions of Java Technology.



Objects on the Network.



Jini Technology Matters in Small Devices.



4. J2ME Basics.


Java Technology for Consumer and Embedded Devices.



J2ME PersonalJava.



J2ME Configurations and Profiles.



The Migration Path from PersonalJava to J2ME.



Programming Issues.



5. Developing with J2ME.


Preliminary Steps.



Deciding Which Profile to Choose.



Mobile Information Device Profile.



Download and Installation.



Building.



Running an Example Program.



Foundation Profile.



Download and Installation.



Building.



Running an Example Program.



Personal Profile.



Download and Installation.



Building.



Running an Example Program.



6. Jini Technology Basics.


Jini Network Terminology.



The Plug-and-Work Model.



Object Protocol.



Dynamic Network Edges.



Leases.



Attributes.



Groups.



Lookup and Discovery.



Simple Code Example.



Proxy.



Quick-Start Guide for the Jini Technology Environment.



7. Jini Technology in Small Devices.


Plug-and-Work in Small Devices.



Better Device Driver Distribution.



Powerful Adaptive Architectures.



Compute Server.



Leasing.



Resource Constraints.



Class Loading.



Intermittent Connectivity.



8. J2ME RMI Optional Package.


RMI Optional Package for the J2ME CDC.



RMI Optional Package Design Goals.



J2SE Features.



The Security of the Java Programming Model.



Dependency Considerations for Downloading Code.



Serving Java Code in a Small Environment.



Interoperability with J2SE.



Java Card RMI Technology.



J2ME CDC/CLDC Client Method Invocation Semantics.



Java Card Side-Server Implementation.



Other Considerations.



9. J2ME RMI Optional Package Example.


Building the J2ME RMI Optional Package.



A Simple RMI Service.



Connecting the RMI Service.



Using RMI Optional Package with Jini Technology.



10. Jini Surrogate Architecture.


Benefits.



Functional Requirements.



Overview.



Discovery.



Surrogate Retrieval.



Activation.



Deactivation.



Specifications.



Surrogate Interfaces.



Surrogate Packaging.



Security.



Downloading the Jini Surrogate Architecture.



11. Jini Surrogate Architecture Example.


Guide to Developing the Example.



Decide on the Client/Surrogate Protocol.



Write the Client Program.



Write the Surrogate Program.



Run the Jini Technology Environment.



Start the Client Program.



Verify the Surrogate Is Running.



12. Other Java Technology Environments.


Local Application Servers.



External Application Servers.



Integrating J2ME Devices with the Enterprise.



Sun Open Net Environment.



Integrating with CRM.



Integrating with ERP.



Integrating with a Sales Organization.



13. Another Java Technology Example.


Guide to Developing the Example.



Decide on which Java Technology Environment to Use.



Decide on the Protocol to Use to Interact with the Other Type of Environment.



Write the Client Program.



Write the Surrogate Program.



Run the Jini Technology Environment.



Start the Client Program.



Verify that the Surrogate Runs Correctly.



14. Jini Technology Design Ideas.


New Ideas for Jini Technology.



J2ME Future Enhancements.



Jini Future Enhancements.



Existing Peer-to-Peer Technology.



Peer-to-Peer Strategy.



J2ME Client Device Strategy.



Further Readings and Online Resources.



Legend for Appendices.


Appendix A. J2ME CDC/Foundation Profile Almanac.


Appendix B. J2ME CDC/RMI Optional Package 1.0 Almanac.


Appendix C. J2ME CDC Personal Profile (java.applet, java.awt, and java.beans) 1.0 Almanac.


Index. 0201702444T03202002

Erscheint lt. Verlag 5.4.2002
Verlagsort Boston
Sprache englisch
Maße 187 x 234 mm
Gewicht 725 g
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Mathematik / Informatik Informatik Web / Internet
ISBN-10 0-201-70244-4 / 0201702444
ISBN-13 978-0-201-70244-6 / 9780201702446
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
mit über 150 Workouts in Java und Python

von Luigi Lo Iacono; Stephan Wiefling; Michael Schneider

Buch (2023)
Carl Hanser (Verlag)
29,99
Einführung, Ausbildung, Praxis

von Christian Ullenboom

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90