close menu
Bookswagon-24x7 online bookstore
close menu
My Account
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > Programming Open Service Gateways with Java Embedded Server™ Technology: (Java Series)
22%
Programming Open Service Gateways with Java Embedded Server™ Technology: (Java Series)

Programming Open Service Gateways with Java Embedded Server™ Technology: (Java Series)

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

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

Table of Contents:
Preface. Acknowledgments. 1. Introduction. The Internet and the Networked Home. The Service Gateway. Challenges. A Multitude of Competing Solutions. A New Application Environment. Java Embedded Server Technology. The Open Services Gateway Initiative. Operational Model. 2. Getting Started. Setting Up the Java Embedded Server Software. The "Home, Sweet Home" Bundle. Create the Directory. Define the Manifest. Write an Activator. Compile the Activator Class. Pack Up. Running the Bundle. Getting Help. The Cache Directory. The Bundle Base URL. Brief Summary of the Major Commands. 3. Architecture and Basic Concepts. Motivation. Architecture. Service. Bundle. A Bundle Is a Packaging Vehicle. A Bundle Is a Functional Module. The "Hooks" to the Framework. The Framework. Cooperation among Bundles and Services. Exporting and Importing Packages. Registering and Obtaining Services. Package versus Service Dependency. Life within the Framework. Installing a Bundle. Starting the Bundle. Importing Packages and Getting Services. Handling the Dynamic Service Dependency. Updating a Bundle. Stopping and Uninstalling a Bundle. The Component-based Model. Forget CLASSPATH. 4. Developing Bundles. Writing Service Bundles. Design the Service Interface. Implement the Service. Register the Service in the Activator. Define the Manifest Headers. Create the Bundle. Same Service Interface, Different Implementations. Retrieving Resources from within the Bundle. Obtaining and Calling Registered Services. Interbundle Dependency and Class Loading Issues. Service Use Count. Compiling Client Bundles. Service Factory. Producing a Customized Service for Each Client Bundle. Service Cache. Customization for Getting and Releasing Service. Relevant org.osgi.framework APIs. BundleContext Interface. ServiceReference Interface. ServiceRegistration Interface. Library Bundles. Advanced Examples. A Mailer. A Line Printer Daemon Print Service. Writing Bundles That Contain Native Code. Common Mistakes. Activator. Manifest. Creating a JAR File. 5. Cooperation among Service Bundles. Event Handling. Bundle State and Service Registration. Synchronous and Asynchronous Events. Dealing with Service Unregistration. Don't Start without the Service. Discovering Stale Service. Carrying On without the Service. Picking an Alternative. Cascading Service Registration. Refusing Service. Cooperation with Asynchronous Events. 6. Design Patterns and Pitfalls. Designing the Service. Separating Service Interface and Implementation. Challenges in Designing a Service Interface. Approaching an Interface Design. The Social Aspect. Designing Library Bundles. Delegation and Callback. Leveraging the Service Registry. Threading. Preventing Runaway Threads. Writing a Multithread Server Bundle. Using a Thread Pool. Managing Object Allocation. Nullify References After Use. Managing References among Bundles. 7. Standard Services. The Log Service. Using LogService to Write Logs. Using LogReaderService to Get Logs. Performing Persistent Logging. The HTTP Service. The Standard HttpService API. Performing Basic Authentication. The Extended HTTP Service. 8. Device Access. Introduction. The Software Stack in Device Access. What Device Access Is Not. Motivation. Cast of Characters. Device Service. Driver Services. Driver Locator. Device Manager. Writing DA Services. The Base Driver. Device Detection. Device Refinement. The Reconfiguration Process. Putting It Together. 9. Permission-based Security and Administration. Permission-based Security inside the Java 2 Platform. Code Source. Permission. Policy. Granting Permissions to Classes. Security Manager. OSGi Permissions. AdminPermission. ServicePermission. PackagePermission. Permission Required by the Framework APIs. Enabling Security. Setting Up a Policy. Running with Security Enabled. Using Permissions in Your Service. Checking Permissions. Performing Privileged Actions. Creating Your Own Permission Types. Administration. Resolving Bundles Dynamically. Relevant APIs. 10. Future Directions. Removing Phantom Bundles. Dynamic Permissions. Preferences. User Administration. Configuration Management. What's Next. Appendix A. Code Examples. Chapter 4--Developing Bundles. The LPD Print Service. Chapter 8--Device Access. Serial Service and Driver Locator. Driver Service and Modem Service. Web Interface to the Serial Ports. Chapter 9--Permission-based Security and Administration. Parameter Services. Parameter Configuration Servlet. Facilitator. Appenidix B. OSGi Service Gateway Specification. org.osgi.framework. AdminPermission. Bundle. BundleActivator. BundleContext. BundleEvent. BundleException. BundleListener. Configurable. FrameworkEvent. FrameworkListener. InvalidSyntaxException. PackagePermission. ServiceEvent. ServiceFactory. ServiceListener. ServicePermission. ServiceReference. ServiceRegistration. org.osgi.service.device. Device. Driver. DriverLocator. org.osgi.service.http. HttpContext. HttpService. NamespaceException. org.osgi.service.log. LogEntry. LogListener. LogReaderService. LogService. Bibliography. Index. 0201711028T08142001


Best Seller

| | See All


Product Details
  • ISBN-13: 9780201711028
  • Publisher: Pearson Education Limited
  • Publisher Imprint: Addison Wesley
  • Edition: 1
  • Language: English
  • Returnable: N
  • Spine Width: 20 mm
  • Width: 234 mm
  • ISBN-10: 0201711028
  • Publisher Date: 25 Sep 2001
  • Binding: Paperback
  • Height: 186 mm
  • No of Pages: 480
  • Series Title: Java Series
  • Weight: 771 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Programming Open Service Gateways with Java Embedded Server™ Technology: (Java Series)
Pearson Education Limited -
Programming Open Service Gateways with Java Embedded Server™ Technology: (Java Series)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Programming Open Service Gateways with Java Embedded Server™ Technology: (Java Series)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    | | See All


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA