I have discovered a bug one of the EJB 3.0 tutorials. In the Entity Beans section both entity beans (Order and LineItem) lack an empty constructor. This will in turn produce a nullPointerException if attempting to recover data from persistent storage.
Is it possible to thow a ....say "EmptyConstuctorNotFoundException" or something more intuitive then a nullpointer? I had a hard time figuring out exactly what whent wrong.