27%
Programming for the Java™ Virtual Machine

Programming for the Java™ Virtual Machine

          
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 core of Java technology, the Java virtual machine is an abstract computing machine that enables the Java platform to host applications on any computer or operating system without rewriting or recompiling. Anyone interested in designing a language or writing a compiler for the Java virtual machine must have an in-depth understanding of its binary class format and instruction set. If you are programming with the Java programming language, knowledge of the Java virtual machine will give you valuable insight into the Java platform's security capabilities and cross-platform portability. It will increase your understanding of the Java programming language, enabling you to improve the security and performance of your programs. The author employs a tutorial approach that provides a detailed look into the central workings of the technology and teaches the reader how to write real programs for the Java virtual machine. He describes methods for becoming a better programmer through an advanced understanding of the Java virtual machine and Java technology. Programming for the Java Virtual Machine offers comprehensive coverage of all the major elements of the Java virtual machine--classes and objects, control instructions, debugging, class loaders, compiling the Java programming language, performance issues, security, and threads and synchronization. The book provides an introduction to the Java Virtual Machine Specification (JVMS), with a collection of topics that help programmers understand the Java virtual machine and the JVMS better. In addition, the book features implementations of Prolog and Scheme, a language that runs on top of the Java virtual machine, generating Java virtual machine code as it runs and using a Java virtual machine class loader to load the generated code into the system. You will find detailed information on such topics as: *The Java virtual machine verification algorithm *How Java virtual machine security works, and what it can and can't do *Using class loaders to incorporate code and dynamically generated code from the Internet, the Java Foundation Classes, database queries, and other languages *The mechanics of compiling the Java programming language for the Java virtual machine *Implementing other languages using the Java virtual machine, including Scheme, Prolog, Sather, Eiffel, and regular expressions Numerous examples illustrate techniques and concepts, and exercises with solutions help you gain practical experience. 0201309726B04062001

Table of Contents:
Preface. 1. Introduction to the Java Virtual Machine. Java Virtual Machine and Java. What Is the Java Virtual Machine? Instruction Set. class File Format. Verification. Java Platform. Organization of the Java Virtual Machine. Class Area. Java Stack. Heap. Native Method Stacks. Example. Garbage Collection. Finalization. Timing of Garbage Collection. JVM Implementations. Versions of the Virtual Machine. Future of the Java Virtual Machine. 2. Oolong. Hello, World. .class and .super Directives. main Method. Instructions. Structure of an Oolong Program. Defining the Class. Superclasses. Declaring Fields. Declaring Methods. Interfaces. 3. Writing Methods. Some Definitions. Types. Numeric Types. Object Types. Type returnAddress. Mnemonic Naming Conventions. Testing Code Examples. Returns. Constants. General Constants. Small Constants and null. Local Variables. Initializing Variables. Local Variables as Method Arguments. Math. Arithmetic Operations. Nonnumbers and Infinity. Bitwise Operations. Floating-Point Arithmetic and strictfp. Type Conversions. Conversion Example. Widening and Narrowing. Stack Manipulations. Arrays of Numbers. Just Biding Your Time. 4. Classes and Objects. What Is an Object? Objects and References. Class Names. Packages. Creating Objects. Constructors. Using Fields. Types and getfield. Inheriting Fields. Changing Field Values. Invoking Methods on Objects. Virtual Invocation. Method Inheritance and Overriding. Overloading and Method Matching. Invoking a Method Directly. invokespecial and super. Casting. Casting, Fields, Methods, and Java. Returning Objects. Interfaces. Static Fields and Methods. Class Initialization. Arrays. Arrays of Reference. Multidimensional Arrays. Length of Arrays. 5. Control Instructions. Comparing Integers. Comparing References. Other Comparisons. Switches. Subroutines. Exceptions. Multiple Exception Handlers. .throws Directive. Other Ways to Throw Exceptions. A Gentler Way of Checking Type. 6. Verification Process. How the Verification Algorithm Works. Is It a Structurally Valid class File? Are All Constant References Correct? Will Each Instruction Always Find a Correctly Formed Stack and Local Variable Array? Example 1: Hello, World. Example 2: gotos and ifs. Example 3: Code That Doesn’t Verify. Example 4: Dealing with Subclasses. Algorithm. Do External References Check Out? Java Language and Verification Algorithm. Fooling the Virtual Machine with a Java Compiler. Other Languages and the Verification Algorithm. Other Safety Requirements. Checking Verification. 7. Debugging. Debugging Directives in Oolong. .source Directive and .line Directives. .var Directive. Debugging Oolong Programs. Runtime Tracing. 8. Class Loaders. How Classes Are Loaded. Loading. Linking. Loading Classes without a Class Loader. Making Your Own Class Loader. Caching Classes. Examples. Working with Class Objects. Reflection. 9. Inside a Java class File. class File Header. Constant Pool. UTF8 Entries. Constant Entries. Field, Method, and Class Entries. Class Information. Fields and Methods. Class Attributes. Other Attributes. ConstantValue Attribute. Exceptions Attribute. InnerClasses Attribute. 10. Compiling Java. Expressions and Statements. Expression Types. Numeric Types. Object Types. Expression Result Types. Compile-Time Types and Type Restrictions. Type Safety and Verifiability. Compiling Statements and Expressions. Local Variable Declarations. Fields and Variables. Abbreviations. Other Assignments. Assignments as Expressions. Type-Checking in Assignments. Creating New Objects. Class Name Abbreviations. Arithmetic Expressions. Numeric Coercions. Casting Numeric Values. Operator. Method Calls. Virtual Method Calls. Static Method Calls. Example of Method Calls. Overriding. Overloading. Interfaces. Expressions as Statements. Ifs and Booleans. Boolean Values. if Statements. Comparisons. Floating-Point Comparisons and NaN. Integer Comparisons. References and Object Equality. Boolean Operators. Other Control Structures. Loops. Compiling Control Constructs. Compound Statements and Verification. Returns. Field Declarations. Method Declarations. Constructors. Using Other Constructors in the Same Class. Default Constructors. Field Initializers and the Constructor. Conclusion. 11. Compiling Other Languages. Java Version 1.1. Class Literals. Inner Classes. Variable Scoping with Inner Classes. Regular Expressions. Iterators. Iterators in Sather. Implementing Iterators. Iterators with Arguments. Using Iterators. Parameterized Types. Implementing Parameterized Types with a Generic Class. Implementing Parameterized Types as Templates. Multiple Inheritance. Interfaces for Multiple Inheritance. Implementing the Interfaces. Fields. Conclusion. 12. Implementing Scheme. Scheme Concepts. Compiling Scheme into Bytecodes. Compiling Lambda Expressions. Example. Scheme Library. Optimizing Scheme. Static Scoping. Using Local Variables. Inlining. Tail Recursion. Using Type Information. 13. Implementing Prolog. Introduction to Prolog. Asking Questions. Binding Patterns. Implications. Binding Patterns and Implications. Facts as Rules. More About Unification. Implementation Basics. Unification. Unification Algorithm. Managing Bindings. Rules as Programs. inside. within. yield and Backtracking. Implementing Rules. Implementing within. Implementing Conjunctions. Constructing within. Compiling Facts. Case Study. 14. Performance. Fast Virtual Machines. Garbage Collection Performance. Implementing References. Bytecode Optimization Techniques. Warning. Constant Propagation. Strength Reduction. Loop Unrolling. Peephole Optimization. Inlining. Inlining Fields. Separate Compilation. 15. Security and the Virtual Machine. Java platform and Need for Security. Security Promises of the JVM. Security Architecture and Security Policy. Example. Basic Applet Security Policy. More Sophisticated Policies. Some Potential Attacks. Implementation Details. Protecting the Security Manager. Bypassing Java Security. Using Unconstructed Objects. Invalid Casts. Changing the Class of a Reference. Reading Uninitialized Fields. Array Bounds Checks. Catching Exceptions. Hidden Code. Conclusion. 16. Threads and Synchronization. Threads. Example: Multithreaded Web Server. Exceptions and Threads. Sharing State Between Threads. Need for Synchronization. Exception: longs and doubles. Monitors and Object Locks. Synchronization in Java. Synchronized Methods. Scheduling. Surrendering Control of the CPU. Waiting for Another Thread. Conclusion. A. Tables. Instructions by Opcode. Instructions Alphabetically. Instructions by Category. Arithmetic. Array. Constant. Control. Data Type Conversion. Object. Stack Manipulation. Synchronization. Variable. B. Oolong Reference. Using the Oolong Assembler. Gnoloo. DumpClass. Oolong Language. Comments. source. class. interface. end class. super. implements. field. method. limit locals. limit stack. line. var. throws. catch. end method. Instructions. Instructions with No Arguments. Integers. Labels. Classes. Fields and Methods. invokeinterface. multianewarray. ldc, ldc_w, and ldc2_w. newarray. tableswitch. lookupswitch. C. Answers to Selected Exercises. Further Readings. Java and the JVM. Newsgroup. Other Languages. Compilers. Index. 0201309726T04062001


Best Sellers


Product Details
  • ISBN-13: 9780201309720
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Depth: 25
  • Height: 187 mm
  • No of Pages: 512
  • Series Title: English
  • Weight: 839 gr
  • ISBN-10: 0201309726
  • Publisher Date: 23 Jul 1999
  • Binding: SA
  • Edition: PAP/CDR
  • Language: English
  • Returnable: Y
  • Spine Width: 23 mm
  • Width: 234 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
Programming for the Java™ Virtual Machine
Pearson Education (US) -
Programming for the Java™ Virtual Machine
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 for the Java™ Virtual Machine

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