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

Dr. Gafter comes to SJSU

Posted by cayhorstmann on April 12, 2007 at 10:30 PM PDT

I teach a graduate programming languages class at San Jose State
University. In order to inject some topics of current interest, I had a
lab about closures and the competing closure proposals for Java 7.

Microsoft Copies, then Patents Java Education Tool

Posted by cayhorstmann on January 28, 2007 at 9:34 AM PST

BlueJ is a tool for teaching OO programming in Java that is very well
regarded in the CS education community. Microsoft engineers who were
familiar with the BlueJ "workbench" added a similar feature to Visual
Studio, didn't give credit to the BlueJ inventors, and filed a patent
application. Not the way to win the hearts and minds of the education

Properties are Design Features

Posted by cayhorstmann on January 18, 2007 at 11:42 AM PST

Mapping Design Intent to Code

??? style="float: left; margin-right: 1em; width: 10%;" />Chapter 3 in
Fowler's UML
discusses class diagrams. His first design
concept: properties

Pie in the Sky Properties

Posted by cayhorstmann on January 10, 2007 at 12:07 PM PST

The Rules of the Game


Arrows in the Back

Posted by cayhorstmann on January 7, 2007 at 3:25 PM PST

I had href="">blogged
on property boilerplate and the work of my graduate student Alexandre
Alves in the summer, but I didn't get much reaction then. But recently,
there has been a flurry of blogs on native property syntax. Let's try this

A JDK6 JavaScript Console Conundrum

Posted by cayhorstmann on January 3, 2007 at 10:18 PM PST

I haven't blogged for a while, but I have plausible deniability. We
just got twins.


The World's Simplest Unit Testing Framework

Posted by cayhorstmann on October 24, 2006 at 6:48 PM PDT

??? style="float: right; padding-left: 0.5em;" />I teach computer science at
San Jose State University. In my experience, the habits from the first
programming course stay with students for a long time and are very
difficult to break.

The Power and Pain of POJOs

Posted by cayhorstmann on September 8, 2006 at 5:20 PM PDT

In my software engineering course, I assign readings from a href="">SafariU

How Not to Report an Internal Error

Posted by cayhorstmann on August 23, 2006 at 7:43 AM PDT

I got up early this morning to get some coding done. Instead, I am
writing this blog.

Something in NetBeans has become unstable, and it pops up this


Clicking on "Show Details" reveals

Track+ On GlassFish

Posted by cayhorstmann on July 18, 2006 at 7:01 PM PDT

??? style="float:left; padding-right: 1em;" />I use the href="">Track+ bug tracking system in my href="">software engineering
class. (Why not Bugzilla?