Java on mac os x
This presentation is the property of its rightful owner.
Sponsored Links
1 / 19

Java on Mac OS X PowerPoint PPT Presentation


  • 51 Views
  • Uploaded on
  • Presentation posted in: General

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

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Java on mac os x

Java on Mac OS X

Insanely Great or Just Insane?

A presentation to the Los Angeles Java Users Group

Craig E. Ward, [email protected]


Introduction

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, [email protected]


Agenda

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, [email protected]


Architecture of mac os x

Architecture of Mac OS X

Core operating system is based on

Mach 3.0 and FreeBSD 3.2 Unix

Craig E. Ward, [email protected]


Architecture of mac os x1

Architecture of Mac OS X

Unix

command

line programs

Craig E. Ward, [email protected]


Architecture of mac os x2

Architecture of Mac OS X

Quartz

OpenGL

Quicktime

Audio

Craig E. Ward, [email protected]


Architecture of mac os x3

Architecture of Mac OS X

Legacy

Migration

Legacy

Craig E. Ward, [email protected]


Architecture of mac os x4

Architecture of Mac OS X

J2SE

1.3.1

Native frameworks,

Objective C

Craig E. Ward, [email protected]


Architecture of mac os x5

Architecture of Mac OS X

User Interface Look & Feel

Craig E. Ward, [email protected]


Architecture of mac os x6

Architecture of Mac OS X

Craig E. Ward, [email protected]


Integration of java 2

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, [email protected]


Development tools

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, [email protected]


Cocoa frameworks

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, [email protected]


Anatomy of a cocoa application

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, [email protected]


Nib files

NIB Files

  • Serialized instances of interface objects

  • Important Concepts

    • Action

    • Outlet

Craig E. Ward, [email protected]


Tool demonstrations

Tool Demonstrations

  • MRJAppBuilder

  • Project Builder and Interface Builder

  • JavaBrowser

Craig E. Ward, [email protected]


Sources resources

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 [email protected]

  • Early Adopter Mac OS X Java

  • Mac OS X: The Complete Reference

Craig E. Ward, [email protected]


Conclusions

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, [email protected]


Discussion and more questions

Discussion and More Questions?

  • What wasn’t covered

  • Questions and Comments

  • More?

Craig E. Ward, [email protected]


  • Login