Looking back at the Java programming track from last week’s O’Reilly Mac OS X Conference, you’ll find the following including some with presentations.
Java Servlets on Mac OS X
OK, so you know how to program a little Java and want to run Servlets on your Mac OS X machine. Ian Darwin discussed everything you need to know, including installing and configuring Tomcat (the Open-source Java Web Server from the Apache Foundation) as a standalone web server and Java Servlet/JSP engine under MacOS X.
Once itís up and running, learn how to deploy Servlets, JSPs and complete “web apps,” as well as how to integrate Tomcat with the Apache HTTPD–you may want to do this for performance reasons or because part of your website depends on software outside of Tomcat’s realm. By the end of this session, you’ll have (or know how to get) your Tomcat web site up and charging!
Download Java Servlets on Mac OS X session presentation here.
Java Media: QT or Not QT?
As Mac programmers, we find QuickTime to be an old and trusty friend; as Java programmers, we usually tend towards Sun’s API’s because they’re de facto ďstandards.Ē So what to do when we want to write media apps in Java on our Macs? We can choose between QuickTime for Java and the various JavaSoft media API’s, including Java Media Framework (JMF), JavaSound, Java 2D (and Java 3D) and Java Advanced Imaging (JAI). So how do we make the choice?
Java consultant Chris Adamson offered an overview of the two sides of Java media, helping those who haven’t invested deeply in one or the other (or both) see the issues that face Java media programmers:
Supported platforms: The status of what works where, and how well
Supported media types and codecs: What can you play or display, and how much freedom you have to work with it
Deal-killers: Which framework has MIDI device support that doesn’t actually work with physical MIDI devices? Which has broken sound-input support? Which doesn’t play nicely with Swing?
MPEG-4: Is it really the future, and how can we work with it?
Future support: Will QuickTime keep pace? Is JMF dead? Does it matter to you?
Aimed at Java programmers new to media programming, Adamsonís talk provided both a taste of the media API’s and a road-map for how to use them.
What made Adamson pick this topic for his presentation? “Client-side java seems to get the short-end of the stick, even from JavaSoft sometimes, and the idea of doing media work in Java seems inconceivable to some people–adding MP3 support to Java is one of the top-10 feature-requests on Sun’s website, even though playing an MP3 is a one-line program with the Java Media Framework, and maybe five lines with QuickTime for Java. Since Mac people tend to be so media-savvy, I’d like to help them see that if they’re java programmers too, then robust media APIís are here today, they work, and that we should start doing great things with them.”
Download the Java Media: QT or Not QT session presentation here.
Tutorial: Java and Mac OS X
Every Mac OS X box ships with Java 2 installed. From the familiar command line applications to Apple’s free IDE, Daniel Steinberg gave a half-day tutorial on how to develop Java applications on and for Mac OS X from three perspectives:
The tools: What are the tools available for you for developing Java applications on your Mac? Many of your favorite open source and commercial applications just work on Mac OS X. Others work better on the Mac and still others are available only on the Mac. You’ll have a comprehensive overview of configuring your toolset on Mac OS X.
Platform Advantages: There are features that you can take advantage of when you target Mac OS X for your Java application. You may be interested in adding Spell Checking, or Speech Synthesis and Recognition. You may want to use Java to control your QuickTime movies. This section highlights the benefits of bringing your Java application to Mac OS X.
Targeting the Mac: A Java application can be made to feel almost native on Mac OS X. We’ll explore options in deploying your application as well as the tweaks you should make to your code to make it more “Mac like.”
Check back later for a link to his tutorial presentation.
What did you think of the O’Reilly Mac OS X Conference and the Java tutorial and session track? Share your views here.