32%
Component Development for the Java™ Platform

Component Development for the Java™ Platform

          
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

If you're serious about writing components in Java, this book focuses on the component services you need to master. DevelopMentor Chief Scientist Stuart Halloway presents unprecedented, in-depth coverage of writing, deploying, and maintaining Java components. Halloway begins by showing how to use, control, and troubleshoot components. He offers real-world guidance on reflection performance, and demonstrates how reflection is used to build the Java serialization architecture. He also offers detailed coverage of using the Java Native Interface (JNI) to control the boundaries between Java code and components written in other environments. In Part II, Halloway presents a practical vision for using component services to become a more effective Java developer. Through examples and sample code, he introduces generative programming techniques that leverage Java into high performance. Finally, building on these techniques, he shows how to construct robust interoperability between Java and Win32/COM.

Table of Contents:
Preface. 1. From Objects to Components. 2. The Class Loader Architecture. Assembling an Application. Goals of the Class Loader Architecture. Transparency. Extensibility. Capability @ Configurability. Handling Name and Version Conflicts. Security. Explicit and Implicit Class Loading. Explicit Loading with URLClassLoader. Implicit Class Loading. Reference Type vs. Referenced Class. ClassLoader.loadClass vs. Class.forName. Loading Nonclass Resources. The Class Loader Rules. The Consistency Rule. The Delegation Rule. The Visibility Rule. Delegations as Namespaces. Static Fields are Not Singletons. Implicit Loading Hides Most Details. Hot Deployment. Using Hot Deployment. Unloading Classes. Making Sure Classes are Collectable. Bootclasspath, Extensions Path, and Classpath. The Classpath. The Extensions Path. The Bootstrap Loader. Debugging Class Loading. Instrumenting an Application. Using -verbose:class. Instrumenting the Core API. Inversion and the Context Class Loader. Onward. Resources. 3. Type Information and Reflection. The Binary Class Format. Binary Compatibility. Binary Class Metadata. From Binary Classes to Reflection. Reflection. Reflecting on Fields. The Difference between get and getDeclared. Type Errors Occur at Runtime. Reflecting on Methods. Reflective Invocation. A Reflective Launcher. Wrapping Primitive Types. Bypassing Language Access Rules. Exceptions Caused by Reflective Invocation. Dynamic Proxies. Delegation Instead of Implementation Inheritance. Dynamic Proxies Make Delegation Generic. Implementing InvocationHandler. Implementing a Forwarding Handler. The InvocationHandler as Generic Service. Handling Exceptions in an InvocationHandler. Either Client or Server can Install a Proxy. Advantages of Dynamic Proxies. Reflection Performance. Package Reflection. Setting Package Metadata. Accessing Package Metadata. Sealing Packages. Weaknesses of the Versioning Mechanism. Custom Metadata. Onward. Resources. 4. Serialization. Serialization and Metadata. Serialization Basics. Serialization Skips Some Fields. Serialization And Class Constructors. Using readObject and writeObject. Matching Streams With Classes. The serialVersionUID. Overriding the Default SUID. Compatible and Incompatible Changes. Explicitly Managing Serializable Fields. ObjectInputStream.GetField Caveats. Writer Makes Right. Overriding Class Metadata. Performance Problems. Custom Class Descriptors. Abandoning Metadata. Writing Custom Data After defaultWriteObject. Externalizable. Using writeObject to Write Raw Data Only: Bad Idea. Object Graphs. Pruning Graphs with Transient. Preserving Identity. Encouraging the Garbage Collector with Reset. Object Replacement. Stream-Controlled Replacement. Class-Controlled Replacement. Ordering Rules for Replacement. Taking Control of Graph Ordering. Finding Class Code. Annotation in RMI. RMI MarshalledObjects. Onward. Resources. 5. Customizing Class Loading. Java 2 Security. The Role of Class Loaders. Custom Class Loaders. Pre-Java 2 Custom Class Loaders. Class Loading Since SDK 1.2. A Transforming Class Loader. Protocol Handlers. Implementing a Handler. Installing a Custom Handler. Choosing Between Loaders and Handlers. Getting Past Security to the Loader You Need. Reading Custom Metadata. Example: Version Attributes. Serializable Classes as Attributes. Reading Attributes During Class Loading. Debugging Support. Onward. Resources. 6. Interop 1: JNI. Why Interoperate? The Dangers of Native Code. Finding and Loading Native Code. Name Mappings. Type Mappings. Overloaded Names. Loading Native Libraries. Class Loaders and JNI. Common Errors Loading Native Libraries. Troubleshooting Native Loading. Calling Java from C++. Minimizing Round Trips. Performance Comparisons. Differences Between JNI and Reflective Invocation. Error Handling in JNI. Failures in Native Code. Handling C++ Exceptions. Handling Java Exceptions from Native Code. Throwing Java Exceptions from Native Code. Resource Management. Interacting with the Garbage Collector. Managing Native Resources. Managing Arrays. Managing Strings. Onward. Resources. 7. Generative Programming. Why Generate Code? Object Oriented Approaches to Modeling Variabilities. Thinking in Terms of Bind Time. Separating Specification From Bind Time. Choosing a Specification Language. Reuse Requires More than One Use. A Little Domain Analysis is a Dangerous Thing. Why Generate Code with Java? Type Information Acts As a Free Specification Document. Class Loading Supports Flexible Binding Modes. Java Source is Easy To Generate. Java Binary Classes are Easy To Generate. Code Generation Boosts Performance. Levels of Commitment to Code Generation. A Taxonomy of Bind Times and Modes. Code Generation in RMI. Code Generation in JSP. Code Generation in EJB. The Deployment Descriptor. Alternate Implementations. Generating Strongly Typed Collections. Code Generation Language versus Target Language. Generating Custom Serialization Code. Onward. Resources. 8. Onward. Where We Are. Where We Are Going. Resources. Appendix—Interop 2: Bridging Java and Win32/COM. Index. 0201753065T11262001


Best Sellers


Product Details
  • ISBN-13: 9780201753066
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 232 mm
  • No of Pages: 360
  • Series Title: DevelopMentor
  • Weight: 730 gr
  • ISBN-10: 0201753065
  • Publisher Date: 07 Jan 2002
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Spine Width: 22 mm
  • Width: 186 mm


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
Component Development for the Java™ Platform
Pearson Education (US) -
Component Development for the Java™ Platform
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.

Component Development for the Java™ Platform

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

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA