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

Say Sayonara to sPAL!

Posted by cayhorstmann on July 22, 2009 at 8:21 AM PDT

When I teach my JSF crash course to my software engineering students,
everyone nods, works through the lab, and I don't hear any JSF issues from them
for a couple of weeks. Then they run into sPAL.

Add an XSD file to Eclipse and Eliminate Those Pesky XML Warnings

Posted by cayhorstmann on July 21, 2009 at 8:27 AM PDT

If you work with Eclipse and JSF 2, you too may be annoyed at the little
that shows up next
to all your faces-config.xml files (even those that are blessedly

Are Web Services the New CORBA?

Posted by cayhorstmann on July 8, 2009 at 8:56 AM PDT

I am updating the “External Services” chapter in href="">Core JSF. There is lots of new and interesting
stuff: How to use JPA, stateless session beans, and WebBeans. I ditched the
LDAP sections (for which I had received very few queries, even though the
examples are notoriously hard to set up).

WebBeans in Glassfish v3

Posted by cayhorstmann on July 5, 2009 at 9:39 PM PDT

As I am updating my share of chapters in the Core JavaServer Faces book
(with the hard parts fortunately being tackled by my coauthor, David Geary), I
started playing with WebBeans, erm, Java Contexts
and Dependency Injection.
I'll keep calling it WebBeans—the alternative JavaCandi is more than I
can take.

A First Look at NetBeans 6.7

Posted by cayhorstmann on June 29, 2009 at 8:54 AM PDT

A few days after Eclipse Galileo, Netbeans released its latest offering,
Netbeans 6.7. Here is a first look, as always from my entirely biased


Upgrading to Eclipse Galileo

Posted by cayhorstmann on June 26, 2009 at 9:54 AM PDT

I just installed Eclipse 3.5 (Galileo)—it seemed a more attractive
thing to do than actually getting my work done. Fortunately, I only need three
Eclipse plugins right now. Here is how they fared with Galileo.

JSF 2.0 Refcard available

Posted by cayhorstmann on June 16, 2009 at 12:03 PM PDT



My Department is Slashdotted

Posted by cayhorstmann on June 15, 2009 at 9:12 PM PDT

I teach computer science at San Jose State University. My department just
ended up on href="">Slashdot.
One of my colleagues, Dr.

Java One 2009 Day 4

Posted by cayhorstmann on June 5, 2009 at 9:03 PM PDT

The Toy Show

One of my favorite parts of Java One is the Friday morning “toy show” where James Gosling presents a random mixture of cool and inspirational projects. Of course, all these involve Java in some way.

Java One 2009 Day 3

Posted by cayhorstmann on June 4, 2009 at 9:17 PM PDT

For Packrats


Like every year, I offer a quick script for packrats who want to download
the slides for all the talks. Of course, you can just wait for them to become
available online after the conference, but then you'd not be a true packrat.
Here goes: