Skip to main content

Blog Archive for cayhorstmann during December 2009

As I happily wrote about new features of JSF 2.0, my coauthor David Geary kept asking me how to run the examples in Tomcat 6. I kept putting it off—hunting down all those JAR files and web.xml fragments is just too much like eating soup with a fork. I finally got around to doing the research and thought that others might benefit from the (unhappy) results, if only to realize that this may...
Java EE 6 has three different ways of defining “beans” that are “managed” in one way or another. Here is a quick recap. JSR 314 JSF 2.0 introduced annotations to avoid the tedium of declaring managed beans in faces-config.xml: @javax.faces.bean.ManagedBean(name="user")@javax.faces.bean.SessionScopedpublic class UserBean implements Serializable { ...
For the upcoming semester, I want to run a learning management system into which I can integrate an experimental feature for evaluating student programs. It needs to be open source so that I can modify it. I was first going to go with Sakai, which is based on Java, but just about everyone else is going to Moodle, and there are reasons for that. The problem is, Moodle is written in PHP, and I am...