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.
 

Weblogs

In the relentless fight against configuration boilerplate, JSF and Glassfish have taken yet another small step forward. As of Glassfish v3 build 68, you no longer need to declare the faces-servlet...

And now for something entirely different...one of my students asked how to write a recursive function in Scala with varargs.

I got a blogger pass for Oracle OpenWorld. Here is my report from the show floor.

Aaron Houston, the fearless leader of the Java Champions, got me a blogger pass to Oracle OpenWorld. Here is what I learned on the opening night.

When you need to produce lots of fairly straightforward graphs, Java2D is your friend. In this blog, I show you how you can render simple images as crisp-looking PDF or EPS files, provided you can...

The next edition of my CS1/Java book is going to print soon. At the last minute, we decided to put the real estate of the inside covers to good use and include a “cheat sheet” with the...

I just learned how to make Flash screencasts on my Linux system and deliver them (with GlassFish) on a server that the computer science department received as a donation (thanks Sun!!!).

This semester, I am teaching the CS1 course again. If you just teach plain Java, it isn't easy to come up with interesting lab assignments. Some of the students have built exciting animations with...

I write my lecture slides in XHTML, using the marvelous HTML Slidy package. I just dump
the images into the same directory as the HTML...

I am rewriting a Java book for beginners, and it seems to make so much sense
to use

import static java.lang.System.out;

public class Greeting...

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...

If you work with Eclipse and JSF 2, you too may be annoyed at the little
...

I am updating the “External Services” chapter in href="http://corejsf.com">Core JSF. There is lots of new and interesting
stuff: How to use JPA, stateless session...

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,...

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
perspective.

...

I just installed Eclipse 3.5 (Galileo)—it seemed a more attractive
...




jsf2-refcard
...

I teach computer science at San Jose State University. My department just
ended up on href="http://news.slashdot.org/story/09/06/13/123211/Student-Who-Released-Code-From-Assignments...

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...

For Packrats

packrat.jpeg

Like every year, I offer a quick script for...

The keynote

I do this to myself every year. I go to the opening keynote on Tuesday. I suffer through the love-in-with-Sun-partners part, just so I can get to the good part with the...

The Morning Keynote

I am no fan of keynotes, but I figured I should earn my press pass (thanks
Jacki!) and show up.

...

Today is day 0 of Java One, AKA “Community One,” with a focus on
open source and community projects. With the economy being what it is, and Java
One stretching the...

When I come
across an article such as...

style="float: left; margin-right: 1em;" />As everyone knows from yesterday...

I am currently
revising my “Big Java” book, a college text for beginning...

When teaching unit testing in the context of a simple EJB3.1 application, I
was looking for an easy way of testing managed beans and session beans inside
Glassfish.

style="float:right; margin-left: 1em;" />
A Thinkpad sale seduced me into
...

Java EE 6 makes it pretty straightforward to crunch out a basic web +
database application. This semester, my software engineering class is building
web apps, and I decided it is...

As a book author and glutton for punishment, I am often interested in
bleeding-edge Java technologies, as they are cooked up through the Java
community process. For example, when David...