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

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.

The innermost secrets of -javaagent:toplink-essentials-agent.jar revealed

Posted by cayhorstmann on June 9, 2006 at 6:40 PM PDT

???When you
start a href="">JPA client
application, tutorials such as href="">this
one tell you to use this mysterious incantation on the

Say No to Properties Boilerplate!

Posted by cayhorstmann on June 8, 2006 at 4:15 PM PDT

Here is a simple code example from the href="">JBoss EJB3

Programmer Productivity, JSF, and NetBeans

Posted by cayhorstmann on June 7, 2006 at 9:08 AM PDT

Several years ago, I switched from Emacs to Eclipse. It was a bit
painful at first, but Eclipse had two killer features that, once I
discovered them, I could not live without.