Skip to main content

Cay Horstmann

Cay Horstmann is author of Core Java (Sun Microsystems Press 1996-2009), Enterprise Java for Elvis (Sun Microsystems Press, to appear), and co-author of Core JSF (Sun Microsystems Press 2004-2009) Cay is professor of computer science at San Jose State University. He is a computer science series editor at Prentice-Hall and a frequent speaker at computer industry conferences. For four years, Cay was VP and CTO of an Internet startup that went from 3 people in a tiny office to a public company.


cayhorstmann's blog

Long in coming...

Posted by cayhorstmann on February 12, 2009 at 9:04 PM PST

style="float:right; margin-left: 1em;" />
A Thinkpad sale seduced me into
upgrading my laptop. My feeble rationale was that I could stop dual-booting,
use Linux on the new laptop and Vista on the old one.

Towards Java EE Nirvana

Posted by cayhorstmann on February 2, 2009 at 3:27 PM PST

Java EE 6 makes it pretty straightforward to crunch out a basic web +
database application. This semester, my software engineering class is building
web apps, and I decided it is simpler to have them use JSF + JPA in Glassfish
v3 rather than some technology that seems easy at first and then lets them

Here is a laundry list of recent simplifications.

A Call to Fix the JCP Oberver Status

Posted by cayhorstmann on January 22, 2009 at 1:20 PM PST

As a book author and glutton for punishment, I am often interested in
bleeding-edge Java technologies, as they are cooked up through the Java
community process. For example, when David Geary and myself wrote the first
edition of our Core JavaServer Faces book, we needed to work with the early
access versions of the spec and reference implementation (RI).

A simple JSF2+AJAX example

Posted by cayhorstmann on January 21, 2009 at 8:39 PM PST

JSF2 will provide a standard mechanism for adding AJAX capabilities to JSF
applications. Jim Driscoll has href="">this
example, but it is a bit odd—the property getter is actually a
mutator. Here is a more run-of-the-mill example.

Baby Steps with JSF 2

Posted by cayhorstmann on December 18, 2008 at 10:08 PM PST

There are
several blogs that tell you how to do fancy things with the upcoming JSF 2
(such as these by Ryan Lubke and href="">Jim Driscoll).

What Worked for Our Blackberry Project

Posted by cayhorstmann on December 8, 2008 at 10:34 PM PST

many weeks of labor, my software engineering class is ready to deliver our
BlackBerry project to Cinequest, the organizers of the San Jose Film Festival.
Moviegoers will be able to check the schedule on their Blackber

Where is the source?

Posted by cayhorstmann on December 1, 2008 at 7:55 AM PST

This semester, my software engineering class is working on a project to
bring the San Jose Cinequest film festival catalog to the Blackberry. RIM has
generously donated us some devices.

Grief with Gantt charts

Posted by cayhorstmann on November 17, 2008 at 2:27 PM PST

Occasionally, I have to put together a project schedule with a Gantt chart.
In my software engineering class, I figured I should use something
cross-platform and open-source, and not Microsoft Project, which I vaguely
remember as a muddleheaded mess.

Restless about REST

Posted by cayhorstmann on October 17, 2008 at 4:37 PM PDT

In my software engineering class, we are designing an application that shows films and events for the Cinequest film festival on Blackberry devices. We need to get film schedules and descriptions from a server onto the mobile phones.

Core Java Refcard

Posted by cayhorstmann on October 5, 2008 at 9:06 PM PDT

My second "refcard" has been published by DZone. This time, the DZone team managed to cram an unbelievable amount of Core Java language and library facts onto a small PDF file. Check it out here.