Sun Java Solaris Communities My SDN Account Join SDN
 
Books & Authors

Advanced Programming for the Java 2 Platform

 

Book Index


View PDF | Take a Quiz

Advanced Programming for the Java 2 Platform Advanced Programming for the Java 2 Platform is a practical, hands-on guide that looks at the development, testing, and deployment of an example auction application. Experienced developers know how fast moving and comprehensive the Java platform is. A good deal of know-how is required to fully exploit the wealth of functionality provided by its many APIs. This book uses all the best APIs to construct an advanced business application. It explores many common situations and leaves you with the knowledge you need to design, build, debug, and deploy your own solutions with the Java platform.

The accompanying CD contains all the source code referenced in the book, the text of the book itself in HTML, and a Linux version of the J2SE SDK 1.2.2. and 1.3 beta update.

The book covers the following topics:

  • Matching Project Requirements with Technology
  • Auction House Application
  • Data and Transaction Management
  • Distributed Computing
  • JNI Technology
  • Project Swing: Building a User Interface
  • Debugging Applets, Applications, and Servlets
  • Performance Techniques
  • Deploying the Auction Application
  • Signed Applets and Security Managers
  • Security and Permissions
  • Classes, Methods, and Permissions
  • Security Manager Methods
  • API Reference

Covered in This Chapter

The Java platform is relatively new, which means there could be times when you will need to integrate programs written in the Java programming language with existing non-Java language services, API toolkits, and programs. The Java platform provides the Java Native Interface (JNI) to help ease this type of integration. Chapter 5 Jni Technology explains how to use JNI in programs written in the Java programming language to call libraries on the local machine, call Java methods from inside native code, and it explains how to create and run a Java virtual machine instance.

  • JNI Example
  • Passing Strings
  • Passing Arrays
  • Pinning Arrays
  • Object Arrays
  • Multidimensional Arrays
  • Language Issues
  • Calling Methods
  • Accessing Fields
  • Threads and Synchronization
  • Memory Issues
  • Invocation
  • Attaching Threads

Ordering Information

You can order this book from the following online book stores:

Amazon.com
Barnes and Noble

View PDF

About the Authors

Calvin Austin, is the lead staff engineer for the Java 2 Standard Edition Linux project at Sun Microsystems, Inc., and works with the Blackdown.org Java porting group. He is co-founder of the Java Developer Connection.

Monica Pawlan, a staff writer for the Java Developer Connection (JDC), is author of Essentials of the Java Programming Language: A Hands-On Guide (Addison-Wesley, 2000). Monica enjoys writing for developers and exploring the latest features of the Java programing language.


Reader Feedback
Excellent   Good   Fair   Poor  

If you have other comments or ideas for future technical content, please type them here:

Comments:

If you would like a reply to your comment, please submit your email address:
Note: We may not respond to all submitted comments.


Have a question about Java programming? Use Java Online Support.