Programming Open Service Gateways with Java Embedded Server¿ Technology

Note moyenne 3
( 1 avis fournis par Goodreads )
 
9780201711028: Programming Open Service Gateways with Java Embedded Server¿ Technology

The Java Embedded Server™ from Sun Microsystems, Inc., is a solution for linking consumer devices with services over the Internet. It is based on the Open Services Gateway Initiative (OSGi) Service Gateway Specification 1.0. Written by authors who are intimately involved with the development and implementation of the specification, Programming Open Service Gateways with Java Embedded Server™ Technology reveals the concepts and inner workings of the Java Embedded Server framework and explains how to program and develop services for open gateways using the Java™ programming language.

With an emphasis on actual coding, this definitive guide begins by explaining the backdrop in which the residential gateway market emerged. Next, the book discusses the history and mission of the Java Embedded Server product and the OSGi consortium. Throughout the book, the Java Embedded Server technical architecture and the OSGi Service Gateway API are presented with examples and detailed implementations. The book's practical, how-to format shows you how to write code for residential gateway applications that is correct, robust, and efficient while avoiding common traps and pitfalls.

Highlights include:

  • Overview of OSGi architecture, including basic concepts and features
  • How to install Java Embedded Server and develop service bundles
  • Design patterns and pitfalls
  • How to use the OSGi standard services: log service and HTTP service
  • OSGi Device Access (DA) service
  • Permission-based security and administration
  • The future undertakings of the OSGi consortium
  • The OSGi Service Gateway Specification 1.0

Programming Open Service Gateways with Java Embedded Server™ Technology gives you an insider's perspective on the development process of new applications and services for the residential gateway environment.


0201711028B09102001

Les informations fournies dans la section « Synopsis » peuvent faire référence à une autre édition de ce titre.

About the Author :

Kirk Chen, a Staff Engineer at Sun Microsystems, has worked on design and implementation of the Java Embedded Server product since its inception. He has an M.S. in computer science from Stanford University.

Li Gong is managing director of Sun Microsystems' Engineering and Research Institute in Beijing, China. Previously at Sun, he was engineering head of Java Security and Networking, Java Embedded Servers, and JXTA. He obtained B.S. and M.S. degrees from Tsinghua University, Beijing, and a Ph.D. from the University of Cambridge. He is associate editor-in-chief of IEEE Internet Computing.

Excerpt. © Reprinted by permission. All rights reserved. :

Technology is invented and advanced by, well, technical people. However, a truly successful technology is marked by its adoption by people in their daily lives. Few ponder radio frequency modulation when they turn on the TV, or the internal combustion engine when they drive around. The technology has disappeared behind the utility.

The last decade saw two new technologies begin to blend into our lives: the computer and the Internet. We only need to launch a browser and the resources of the World Wide Web are at our fingertips, and we are hard pressed to tell the difference between a computer and a game console, a personal digital assistant (such as PalmPilot), or a cell phone. It is now entirely feasible to bring services to smart consumer devices at home and to small businesses through the Internet. Utility providers and network, computer, wireless, consumer electronics, and home appliance companies recognize the tremendous potential and have started to tap into this market. As a result, new horizons are open for application developers.

The Open Services Gateway Initiative (OSGi) was formed to explore these exciting opportunities, and its membership includes such diverse companies as Bell South, Echelon, Electricite de France, IBM, Sun, Ericsson, Nokia, Sony, Maytag, and Whirlpool, to name just a few from a roster of more than 80 organizations. With these combined resources, OSGi stands a good chance to turn this vision into reality.

The OSGi Service Gateway Specification 1.0 defines a Java™ technology-based software architecture for developing and deploying services, which is the topic of this book.

What compels us to write this book, in addition to our enthusiasm for the emerging new applications, is the unique software model involved. We stumbled through a lot of unfamiliar territory ourselves when we worked on the Java Embedded Server™ product, the predecessor to the OSGi Service Gateway Specification, only to find our fellow developers encountering and struggling with the same class of problems. It is our hope to be able to elucidate the model and capture the hard-won solutions in one place.

This book is primarily for programmers interested in writing services for residential gateways in the Java programming language. It should also be useful to anyone who wants to learn about residential gateway technology and the efforts made by the OSGi consortium.

This book may be of interest to those who are involved with component-based software construction in general. Interestingly, nothing in the underlying programming model limits the kinds of applications that can be written. It aims at residential gateway applications at the "small" end of the spectrum in terms of code size and resource consumption, but it is just as viable for developing applications for desktop and enterprise environments. Indeed, the task will be made easier and the end result will be more powerful when fewer constraints on computing resources are imposed.

We assume the readers are well versed in the Java programming language and experienced in software development on the Java platform. However, no experience is needed in embedded systems at the hardware and operating system levels.

Many trade-offs on the contents of the book had to be considered, and these were not easy decisions to make. We wrote this book with the following goals in mind:

  • Practical. This book is about programming service gateways and is primarily for programmers; therefore, a lot of its content is devoted to coding. The book does not dwell on the high-level vision, and it gets down to earth promptly. As a result, the material is best understood by practicing the examples near a computer. Reading it on a beach chair will almost surely ruin your vacation.
  • Software Only. We are primarily concerned with the software aspect of the residential gateway, and particularly with applications for the Java platform. We don't deal with hardware design and configuration or operating system and system software of the gateway in this book.
  • "Horizontal." One of the biggest challenges in developing examples for the book is to stay "horizontal" and relevant at the same time. By "horizontal" we mean you do not need to acquire highly specialized hardware and software to learn how to program a gateway. All the examples in this book can be built and run on a familiar personal computer or a workstation. We want to focus our effort on the generic mechanisms that apply to all service gateways with the OSGi architecture, rather than diverge into specifics of certain systems that are interesting to some readers but alien to others. For instance, as part of the Java Embedded Server project we have developed code to control a vending machine, a smart coffee maker, an NEC touch-panel golf score keeper, an Ericsson e-box, and an X10 lamp module. From first-hand experience we know that what we present is entirely within the realm of feasibility. However, the aforementioned applications are simply too complicated or have details that are too specialized to be good tutorials.
  • Realistic. We are not going to program a refrigerator, a washing machine, a microwave, a thermostat, or a toaster in this book. It is still not possible to go to Sears and buy a freezer that watches inventory and downloads e-coupons. Our smart espresso machine, for which we programmed a Web interface to monitor its water level and temperature and to control caffeine potency, uses proprietary commands and is not generally available. Many of the similar appliances we've seen are prototypes. This, however, is more an issue of business development than technological know-how. With the application development paradigm presented here, you should be able to develop applications for these smart appliances when they do roll down the production line en masse.
  • Focused Scope. The technologies applicable to residential gateway applications have mushroomed during the last few years. Each warrants a book of its own to treat the subject thoroughly. Therefore, we do not teach you BlueTooth, USB, or HomePNA here. We are confident that experts in these areas can readily plug implementations of these technologies into the OSGi framework after they have learned how it works and what benefits it brings.

Organization of the Book

You can read this book from cover to cover, or you can select the chapters that address your particular needs. For the impatient, it is possible to jump to Chapter 4 and try out the code in action, because clear step-by-step instructions are given. However, you are strongly encouraged to read Chapter 3, which puts things into context.

Chapter 1 describes the backdrop from which the residential gateway market emerged, and its propellants and challenges, then explains the history of the Java Embedded Server product and the OSGi consortium, and introduces our view of what OSGi is trying to achieve.

Chapter 2 outlines steps to develop your first bundle and familiarizes you with the Java Embedded Server execution environment.

Chapter 3 explains the OSGi architecture and basic concepts, including the interaction of various entities during interbundle class sharing, service registration and retrieval, and bundle life cycle operations.

Chapter 4 teaches you how to develop services, how to write library bundles, and how to include native code in your bundles. Two advanced examples are given in this chapter.

Chapter 5 analyzes the dynamic nature of cooperation with services, and proposes strategies to cope with the situation. Events are also discussed at the beginning of this chapter.

Chapter 6 describes design patterns and pitfalls.

Chapter 7 explains how to use the OSGi standard services: HTTP and Log services.

Chapter 8 explains the OSGi Device Access (DA) and how to develop services to communicate with devices using the DA.

Chapter 9 discusses permission-based security and administration.

Chapter 10 summarizes the issues being worked and our view of the future directions that the OSGi consortium could take.

Appendix A contains the complete source code of the examples in this book.

Appendix B is a copy of the OSGi specification. A list of references is included at the end of the book.

Online Resources

A copy of the Java Embedded Server product can be downloaded from Sun Microsystems' Web site at

http://www.sun.com/software/embeddedserver

For updated information about the book, visit the following URL:

http://java.sun.com/docs/books/jes

Full details of the OSGi consortium can be found at http://www.osgi.org



0201711028P08152001

Les informations fournies dans la section « A propos du livre » peuvent faire référence à une autre édition de ce titre.

Meilleurs résultats de recherche sur AbeBooks

1.

Kirk Chen; Li Gong
Edité par Addison-Wesley Professional (2001)
ISBN 10 : 0201711028 ISBN 13 : 9780201711028
Neuf(s) Paperback Quantité : 1
Vendeur
Irish Booksellers
(Rumford, ME, Etats-Unis)
Evaluation vendeur
[?]

Description du livre Addison-Wesley Professional, 2001. Paperback. État : New. book. N° de réf. du libraire 0201711028

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 22,65
Autre devise

Ajouter au panier

Frais de port : Gratuit
Vers Etats-Unis
Destinations, frais et délais

2.

Chen, KirkGong, Li
Edité par Prentice Hall
ISBN 10 : 0201711028 ISBN 13 : 9780201711028
Neuf(s) Quantité : > 20
Vendeur
INDOO
(Avenel, NJ, Etats-Unis)
Evaluation vendeur
[?]

Description du livre Prentice Hall. État : New. Brand New. N° de réf. du libraire 0201711028

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 30,59
Autre devise

Ajouter au panier

Frais de port : EUR 3
Vers Etats-Unis
Destinations, frais et délais

3.

Kirk Chen, Li Gong
Edité par Addison-Wesley Professional (2001)
ISBN 10 : 0201711028 ISBN 13 : 9780201711028
Neuf(s) Paperback Quantité : 1
Vendeur
Ergodebooks
(RICHMOND, TX, Etats-Unis)
Evaluation vendeur
[?]

Description du livre Addison-Wesley Professional, 2001. Paperback. État : New. 1. N° de réf. du libraire DADAX0201711028

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 38,09
Autre devise

Ajouter au panier

Frais de port : EUR 3,42
Vers Etats-Unis
Destinations, frais et délais

4.

Kirk Chen; Li Gong
Edité par Longman Group
ISBN 10 : 0201711028 ISBN 13 : 9780201711028
Neuf(s) Quantité : 4
Vendeur
Majestic Books
(London, ,, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre Longman Group. État : New. N° de réf. du libraire 5209690

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 38,21
Autre devise

Ajouter au panier

Frais de port : EUR 6,12
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

5.

Kirk Chen/ Li Gong
Edité par Addison-Wesley (2001)
ISBN 10 : 0201711028 ISBN 13 : 9780201711028
Neuf(s) Paperback Quantité : 1
Vendeur
Revaluation Books
(Exeter, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre Addison-Wesley, 2001. Paperback. État : Brand New. revised 2000 edition. 480 pages. 9.25x7.50x1.00 inches. In Stock. N° de réf. du libraire 0201711028

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 47,49
Autre devise

Ajouter au panier

Frais de port : EUR 6,68
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

6.

Kirk Chen; Li Gong
Edité par Addison-Wesley Professional (2001)
ISBN 10 : 0201711028 ISBN 13 : 9780201711028
Neuf(s) Couverture souple Quantité : > 20
Vendeur
Palexbooks
(Sanford, NC, Etats-Unis)
Evaluation vendeur
[?]

Description du livre Addison-Wesley Professional, 2001. État : New. Brand new! Please provide a physical shipping address. N° de réf. du libraire 9780201711028

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 54,46
Autre devise

Ajouter au panier

Frais de port : EUR 2,57
Vers Etats-Unis
Destinations, frais et délais

7.

Li Gong and Kirk Chen
ISBN 10 : 0201711028 ISBN 13 : 9780201711028
Neuf(s) Quantité : 1
Vendeur
Castle Rock
(Pittsford, NY, Etats-Unis)
Evaluation vendeur
[?]

Description du livre État : Brand New. Book Condition: Brand New. N° de réf. du libraire 97802017110281.0

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 55,34
Autre devise

Ajouter au panier

Frais de port : EUR 3,42
Vers Etats-Unis
Destinations, frais et délais