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

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?

Installing GlassFish and PostgreSQL on Ubuntu Server Edition

Posted by cayhorstmann on July 18, 2006 at 8:09 AM PDT

??? style="float:left; padding-right: 1em;" />I am getting ready for the fall
semester. My software engineering students will be using href="">GlassFish for their projects.

Certified Insecurity

Posted by cayhorstmann on July 12, 2006 at 7:09 PM PDT

I am working on a Java client application to accompany a textbook. It
allows students to check their programming assignments before they turn
them in. After a few days of hacking, I was ready to show it to my editor.

No big deal, I thought. I'll just zip it up and tell him to unzip and
run it. Open a command shell and run

Railroad diagrams

Posted by cayhorstmann on July 5, 2006 at 11:35 PM PDT

Whatever happened to "railroad diagrams" like this one?


Don't Lie to the Entity Manager

Posted by cayhorstmann on July 2, 2006 at 8:10 PM PDT

JPA is the new object-relational mapping standard that you can use in
EJB3 or in standalone applications. For the most part, it is phenomenally
easy to use. But ever so often, you get a query from a developer such as

An EJB 3 Glossary for Elvis

Posted by cayhorstmann on June 25, 2006 at 5:32 PM PDT

Readers of my blog know about href="">Elvis, the Microsoft
persona of the programmer who is neither Einstein nor the
point-and-click/drag-and-drop "just give me a wizard" Mort. Elvis wants to
use EJB 3 because the annotations make it easy, but he is a bit taken
aback by the jargon.

Why Java Developers Should Switch to Linux

Posted by cayhorstmann on June 21, 2006 at 10:43 AM PDT

It's summer again, people have more time on their hand, and they think
about switching operating systems:

Honey, I built the JDK! (on Ubuntu)

Posted by cayhorstmann on June 13, 2006 at 2:09 PM PDT

??? style="float:left;padding-right:1ex" />As any mad scientist would do, just
to prove that it can be done, I decided to build Mustang on my shiny new
Ubuntu 6.06 "Dapper Drake" system.