1 / 19

Java on Mac OS X

Java on Mac OS X. Insanely Great or Just Insane?. A presentation to the Los Angeles Java Users Group. Introduction. “I’m a back-end guy…” Adventures in GOO-EE programming Looking for what’s cool with Java on Mac OS X. Agenda. Architecture of Mac OS X Integration of Java 2

gaius
Download Presentation

Java on Mac OS X

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Java on Mac OS X Insanely Great or Just Insane? A presentation to the Los Angeles Java Users Group Craig E. Ward, cew@acm.org

  2. Introduction • “I’m a back-end guy…” • Adventures in GOO-EE programming • Looking for what’s cool with Java on Mac OS X Craig E. Ward, cew@acm.org

  3. Agenda • Architecture of Mac OS X • Integration of Java 2 • Development Tools • Cocoa Framework • Anatomy of a Cocoa Application • Tool Demonstrations • Sources for the talk and other Resources • Conclusions by the presenter • Discussion Craig E. Ward, cew@acm.org

  4. Architecture of Mac OS X Core operating system is based on Mach 3.0 and FreeBSD 3.2 Unix Craig E. Ward, cew@acm.org

  5. Architecture of Mac OS X Unix command line programs Craig E. Ward, cew@acm.org

  6. Architecture of Mac OS X Quartz OpenGL Quicktime Audio Craig E. Ward, cew@acm.org

  7. Architecture of Mac OS X Legacy Migration Legacy Craig E. Ward, cew@acm.org

  8. Architecture of Mac OS X J2SE 1.3.1 Native frameworks, Objective C Craig E. Ward, cew@acm.org

  9. Architecture of Mac OS X User Interface Look & Feel Craig E. Ward, cew@acm.org

  10. Architecture of Mac OS X Craig E. Ward, cew@acm.org

  11. Integration of Java 2 • Pre-installed on all new Macintosh computers • Peer core environment to Cocoa and Carbon • Mix Java code with Cocoa native code • Automatic Aqua PLAF • Optimized HotSpot VM • Almost latest releases (1.3.1) Craig E. Ward, cew@acm.org

  12. Development Tools • Standard J2SE command line tools • Many third-party tools • JBuilder • CodeWarrior • JDEE • Apple • MRJAppBuilder • Project Builder and Interface Builder • JavaBrowser, AppletLauncher, Java Web Start Craig E. Ward, cew@acm.org

  13. Cocoa Frameworks • Foundation • Low-level classes representing data types, files, threads, collections, etc. • AppKit • User interface components • Java Bridge • The wrapper classes Craig E. Ward, cew@acm.org

  14. Anatomy of a Cocoa Application • Hidden file structure • Property Lists in XML • Other Resources • Graphics • NIB files <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/ PropertyList.dtd"> <plist version="0.9"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> Craig E. Ward, cew@acm.org

  15. NIB Files • Serialized instances of interface objects • Important Concepts • Action • Outlet Craig E. Ward, cew@acm.org

  16. Tool Demonstrations • MRJAppBuilder • Project Builder and Interface Builder • JavaBrowser Craig E. Ward, cew@acm.org

  17. Sources & Resources • Apple Developer Connection • Free web membership • Inside Mac OS X: Java Development on Mac OS X • Inside Cocoa: Developing Cocoa Java Applications: A Tutorial • List java-dev@lists.apple.com • Early Adopter Mac OS X Java • Mac OS X: The Complete Reference Craig E. Ward, cew@acm.org

  18. Conclusions • First class Java development platform • User-friendly runtime • Cocoa applications have access to Java 2 features and vise-versa • More than just an educational toy Craig E. Ward, cew@acm.org

  19. Discussion and More Questions? • What wasn’t covered • Questions and Comments • More? Craig E. Ward, cew@acm.org

More Related