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

Back from the JCrete Unconference

Posted by cayhorstmann on July 27, 2015 at 12:46 PM PDT

Some time ago, I got an invitation from Heinz Kabutz (the man behind the Java Specialists newsletter, to which you should subscribe right away if you haven't already), to join the JCrete conference. ♦

The Curious Case of the char Type

Posted by cayhorstmann on June 22, 2015 at 2:57 AM PDT

It's been almost twenty years that Gary Cornell contacted me to tell me “Cay, we're going to write a book on Java.” Those were simpler times. The Java 1.0 API had 211 classes/interfaces. And Unicode was a 16-bit code. ♦

Trying out the Java 9 REPL

Posted by cayhorstmann on May 25, 2015 at 4:56 AM PDT

One of the joys of programming with a dynamic language such as Lisp or Python is the instant feedback you get from the interpreter. You try out a thing or two, something starts working, you move on to the next issue, and before you know it, your task is done. Technically, the program that reads and evaluates the language statements is called a REPL, for “read-evaluate-print loop”.

Hello Java 8 (and how it makes GlassFish speechless...)

Posted by cayhorstmann on March 20, 2014 at 9:39 AM PDT

After all these years, Java 8 is finally available. Of course, I have used it for about a year, while writing my book Java SE 8 for the Really Impatient. But I switched JAVA_HOME and the PATH whenever I worked on the book.

Still Using Applets? Sign Them, Or Else

Posted by cayhorstmann on January 16, 2014 at 10:10 AM PST

When Sun Microsystems introduced Java in 1995, applets were considered the killer feature for the business success of Java. Don’t believe it? Check out this article.

Java 8 for the Really Impatient

Posted by cayhorstmann on December 6, 2013 at 11:45 AM PST

In my French class, we are reading Marcel Pagnol’s “La gloire de mon père”. It never ceases to amaze me how much more complex and arbitrary human languages are compared to programming languages. Could you imagine a programming language with irregular verbs or the subjunctive mood?

Scanners live in vain

Posted by cayhorstmann on October 14, 2013 at 9:22 PM PDT

JavaOne for the Impatient

Posted by cayhorstmann on September 26, 2013 at 4:09 PM PDT

Here are my impressions from the 18th Java One. Java SE 8 is around the corner, Java EE 7 was just released, and both are a joy to use. NetBeans 7.4 is awesome. And yet, people were strangely blasé at the conference. I still remember how much excitement there was at Java One when Java was in its infancy, and the promises greatly exceeded the reality. (Do you remember Jini?

I Didn't Ask for a Toolbar with That Java

Posted by cayhorstmann on February 2, 2013 at 8:37 AM PST

Summary: In these unhappy days where Oracle is working hard to regain the trust of users, it seems a staggeringly bad idea that the Java updater installs the Ask toolbar by default. It's plainly bad for Java and can't possibly be worth the few clams in additional revenue. If you agree, please sign the petition

A First Look at Scala Macros

Posted by cayhorstmann on January 14, 2013 at 9:32 PM PST

The final version of Scala 2.10 was released on January 4, 2013. Martin Christensen, a visiting scholar in our department, and myself have been playing with some of the new features, and I'll be blogging about some of our discoveries in my copious spare time.