
[ Team LiB ] • Table of Contents • Index • Reviews • Reader Reviews • Errata Mac OS X for Java™ Geeks By Will Iverson Publisher : O'Reilly Pub Date : April 2003 ISBN : 0-596-00400-1 Pages : 296 Mac OS X for Java Geeks delivers a complete and detailed look at the Mac OS X platform, geared specifically at Java developers. Programmers using the 10.2 (Jaguar) release of Mac OS X, and the new JDK 1.4, have unprecedented new functionality available to them. Whether you are a Java newbie, working your way through Java Swing and classpath issues, or you are a Java guru, comfortable with digital media, reflection, and J2EE, this book will teach you how to get around on Mac OS X. You'll also get the latest information on how to build applications that run seamlessly, and identically, on Windows, Linux, Unix, and the Mac. [ Team LiB ] [ Team LiB ] • Table of Contents • Index • Reviews • Reader Reviews • Errata Mac OS X for Java™ Geeks By Will Iverson Publisher : O'Reilly Pub Date : April 2003 ISBN : 0-596-00400-1 Pages : 296 Copyright Preface Organization Conventions Used in This Book Comments and Questions Acknowledgments Chapter 1. Getting Oriented Section 1.1. All Those Confusing Names Section 1.2. Why Now? Chapter 2. Apple's Java Platform Section 2.1. Apple JVM Basics Section 2.2. Apple's JVM Directory Layout Section 2.3. Additional APIs and Services Section 2.4. Going Forward Chapter 3. Java Tools Section 3.1. Terminal Section 3.2. Code Editors Section 3.3. Jakarta Ant Section 3.4. Additional Tools Chapter 4. GUI Applications Section 4.1. Swing and Aqua Section 4.2. An Example Swing Application Chapter 5. Apple Extensions Section 5.1. The Mac OS X Finder Section 5.2. Native Access Chapter 6. Cross-Platform Programming Section 6.1. GUI Construction Section 6.2. New Line Section 6.3. File Encoding Section 6.4. Threading Section 6.5. File Separator Section 6.6. Testing Cross-Platform Compatibility Section 6.7. For More Information Chapter 7. Standalone Applications Section 7.1. Packaging Section 7.2. JAR Files Section 7.3. Application Bundles Section 7.4. Building an Application from Scratch Section 7.5. MRJAppBuilder Section 7.6. Next Steps Chapter 8. Web-Delivered Applications Section 8.1. Applets Section 8.2. Java Web Start Section 8.3. GUI Application Delivery Comparison Section 8.4. Next Steps Chapter 9. The Mac OS X Speech Framework Section 9.1. The Speech API Section 9.2. Putting Speech to Work Chapter 10. QuickTime for Java Section 10.1. Getting Started Section 10.2. The QuickTime API Section 10.3. The SimplePlayer Application Chapter 11. The Mac OS X Spelling Framework Section 11.1. Getting Set Up Section 11.2. The Spelling API Section 11.3. Spelling in Action Chapter 12. Databases Section 12.1. Basic Concepts Section 12.2. Mac OS X Databases Section 12.3. Next Steps Chapter 13. Servlets, JSP, and Tomcat Section 13.1. Apache Tomcat Section 13.2. Database-Driven JSP Applications Section 13.3. Frontending Tomcat with Apache Section 13.4. Next Steps Chapter 14. EJB and JBoss Section 14.1. JBoss Section 14.2. Getting Started with J2EE Section 14.3. Pushing the Envelope Chapter 15. Web Services Section 15.1. RPC Section 15.2. XML-RPC Section 15.3. SOAP Section 15.4. Additional Reading Section 15.5. Final Thoughts Colophon Index [ Team LiB ] [ Team LiB ] Copyright Copyright © 2003 O'Reilly & Associates, Inc. Printed in the United States of America. Published by O'Reilly & Associates, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O'Reilly & Associates books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly & Associates, Inc. The association between the image of a striped hyena and the topic of Mac OS X for Java geeks is a trademark of O'Reilly & Associates, Inc. Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc., in the United States and other countries. O'Reilly & Associates, Inc. is independent of Sun Microsystems. Apple, the Apple logo, AppleScript, AppleTalk, AppleWorks, Carbon, Cocoa, Finder, FireWire, iBook, iMac, iPod, Mac, Mac logo, Macintosh, PowerBook, QuickTime, QuickTime logo, and WebObjects are trademarks of Apple Computer, Inc., registered in the United States and other countries. While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. [ Team LiB ] [ Team LiB ] Preface This was a surprisingly difficult book to write. It was difficult not because of the topic's technical complexity-after all, I've been working with Java™ since before the release of JDK 1.0 and developing on the Mac for over a decade. No, the hard part was deciding what should actually go into a book called Mac OS X for Java Geeks. The unknown element of this book is the skill set possessed by the reader. If you're an expert on Swing looking for tips on how to build a Java application, you won't want to slog through pages of duplicated content explaining how to build such an application. The same goes for readers interested in JSP™, EJB™, SQL, and everything else related to the Java platform. In the end, I relied on two main guides. First, I leaned on conversations with other developers (particularly developers who were unfamiliar with Mac OS X and interested in switching platforms). Second, much time was spent with the broad array of excellent existing Java development texts. If you've never developed an application in Swing, this text won't teach you everything you need to know, but it will teach you how to transfer that application to Mac OS X, package it, and generally make it behave in a first-class manner while maintaining cross-platform compatibility. If you really have never built an application in Swing, this book provides an annotated working example. If you're just beginning to develop applications in Java on the Mac OS X platform, you'll find an excellent survey of Java development by installing and working your way through the examples in this text, following the suggestions for further reading when appropriate. Fortunately, O'Reilly provides an excellent library from which to choose. This book, then, is meant to supplement the Java programmer's library. If you're a Java developer and want to see what Mac OS X can do, or are just getting into Java and want to ensure that Mac OS X is a viable development platform, I think you'll find your answers in this work. Enjoy! [ Team LiB ] [ Team LiB ] Organization This book provides a learning path for a Java developer new to the Mac OS X platform. It assumes a basic working familiarity with Java. Chapter 1 Covers the history of Mac OS X and provides a preliminary introduction to the platform. Chapter 2 Explores the technical underpinnings of the Mac OS X Java implementation, including the layout, classpath, and additions to the standard Java environment. Chapter 3 Explores the pragmatics of Java development, including how to set up your development environment, and an overview of available tools. Chapter 4 Builds a local desktop application in Swing and examines how to extend this application while still retaining cross-platform capability. Chapter 5 Discusses and gives examples of Apple's various additions to the Java platform. Chapter 6 Looks at the potential pitfalls of developing applications that are intended for multiple platforms and examines how to mitigate them. Chapter 7 Describes how to package and deliver an application to end users that looks and behaves like a native Mac OS X application. Chapter 8 Examines how to build client applications that are delivered via the Web, including applets and Web Start applications. Chapter 9 Discusses how to make an application generate human speech and respond to your speech. Chapter 10 Examines an application that provides support for rich multimedia. Chapter 11 Adds real-time support and interactive spellchecking to an application. Chapter 12 Provides basic information on installation, setup, and usage of the popular MySQL and PostgreSQL databases. Chapter 13 Builds and debugs a web application using standard Java presentation technologies. Chapter 14 Examines the development process for creating Enterprise JavaBeans™ on Mac OS X, and details installation of the JBoss application server. Chapter 15 Builds XML-RPC and SOAP web services and communicates with these services by using Apple's AppleScript scripting package. [ Team LiB ] [ Team LiB ] Conventions Used in This Book The following font conventions are used in this book: Italic is used forUnix pathnames, filenames, and program names; for Internet addresses, such as domain names and URLs; and for new terms where they are defined. Constant Width is used for command lines and options that should be typed verbatim; and for names and keywords in Java programs, including method names, variable names, and class names. Constant Width Bold is used occasionally for emphasis in code. Indicates a tip, suggestion, or general note. Indicates a warning or caution. [ Team LiB ] [ Team LiB ] Comments and Questions Please address comments and questions concerning this book to the publisher: O'Reilly & Associates, Inc. 1005 Gravenstein Highway North Sebastopol, CA 95472 (800) 998-9938 (in the United States or Canada) (707) 829-0515 (international or local) (707) 829-0104 (fax) There is a web page for this book, which lists errata, examples, or any additional information.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages314 Page
-
File Size-