Readers of my blog know about Elvis, the Microsoft
persona of the programmer who is neither Einstein nor the
point-and-click/drag-and-drop "just give me a wizard" Mort. Elvis wants to
use EJB 3 because the annotations make it easy, but he is a bit taken
aback by the jargon.
I am working on a glossary that gives both the official definition of
various terms (starting with...
It's summer again, people have more time on their hand, and they think
about switching operating systems:
From Windows
to Mac OS X
From Mac
OS X to Linux
From Windows
to Linux
I think that's great. A Windows monoculture is not healthy. Judging
from my students' crapware-infected
laptops, it is actually extremely unhealty.
In...
As any mad scientist would do, just
to prove that it can be done, I decided to build Mustang on my shiny new
Ubuntu 6.06 "Dapper Drake" system. The build
instructions warn you not to try this at home. The official build
environment is Redhat Enterprise Advanced Server 2.1 update 2, formerly
known as Redhat Advanced Server 2.1 update 2. Ugh.
I was not sure that this was...
When you
start a JPA client
application, tutorials such as this
one tell you to use this mysterious incantation on the command
line:
java -javaagent:toplink-essentials-agent.jar client.Client
What is the reason behind that? Go to the GlassFish
forum and search for javaagent. You'll get lots of confused queries.
(Ok, most of them are mine.) The gist of the...
Here is a simple code example from the JBoss EJB3
tutorial.
@Entity
public class LineItem implements java.io.Serializable
{
private int id;
private double subtotal;
private int quantity;
private String product;
private Order order;
@Id @GeneratedValue(strategy=GenerationType.AUTO)
public int getId()
{
return id;
}
public void setId(int id...
Several years ago, I switched from Emacs to Eclipse. It was a bit
painful at first, but Eclipse had two killer features that, once I
discovered them, I could not live without.
Autocompletion
Refactor -> Rename
I have since come to love Eclipse for many other features, small and
large, but those were the ones that made me switch. The instant...