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

Open Letter for JCP Reform

Posted by cayhorstmann on November 4, 2010 at 8:19 PM PDT

More Scala Scripting

Posted by cayhorstmann on October 24, 2010 at 8:08 PM PDT

This semester, I am teaching a very bright and motivated group of students at the Ho Chi Minh Technology of University. (It's the standard undergraduate programming langugages course, and I use Scala as the primary language.

Java One From Far Away

Posted by cayhorstmann on September 29, 2010 at 11:30 PM PDT

The Next Big JVM Language

Posted by cayhorstmann on September 24, 2010 at 6:47 AM PDT

Stephen Colebourne has a very interesting article on the Next Big JVM Language (NBJL). The comments are good too. (I was going to add this as a comment to his blog, but it was rejected as spam. Maybe jroller is onto something...)

PrimeFaces works great with JSF 2.0/NetBeans 6.9

Posted by cayhorstmann on September 13, 2010 at 12:15 AM PDT

In 2002, JSF was introduced at Java One as “Swing for the Web”. The vision was that you would compose professionally designed components into web pages, add a bit of Java glue code, and presto, you would have a web app without having to worry about HTTP or the DOM.

A puny Java 7 isn't the end of the world

Posted by cayhorstmann on September 9, 2010 at 3:54 AM PDT

Mark Reinhold just published a blog stating what has been painfully obvious to everyone following the JDK 7 development: There is no way that it will ship 2010. He thinks that mid-2012 would be realistic.

Scala, JSF 2, and NetBeans

Posted by cayhorstmann on September 4, 2010 at 1:08 AM PDT

I am working on a web site that will help students practice their Scala programming skills.

Independence Day for Java?

Posted by cayhorstmann on September 1, 2010 at 7:11 PM PDT

I am on sabbatical in Vietnam right now, and today the country celebrates independence day. (On September 2, 1945, Ho Chi Minh gave his declaration of independence speech.)

The Horstmann Brace Style

Posted by cayhorstmann on June 28, 2010 at 3:31 PM PDT

Now here's a topic on which everybody has an opinion—brace styles. One common style is named after Kernighan and Ritchie:

if (x < 0) {
   printf("Negative\n");
   x = -x;
}

Another one is named after Eric Allman:

JSF and Power Windows

Posted by cayhorstmann on June 27, 2010 at 6:22 AM PDT

My dad is visiting, and he just picked up his rental car. He proudly announced that he got a good deal on a compact car without power windows.

What's wrong with power windows? Nothing, of course, until they break. Then it becomes expensive to diagnose and fix the problem.