1 Reply Latest reply on Jan 14, 2006 8:36 PM by treespace

    EJB3 Trailblazer Faux Pas

    treespace Novice

      The Trailblazer guide on EJB 3.0 is very concise but there are a couple of minor tidbits that hit me like fingernails scratched across a chalkboard.

      First, they have a note about generics and a link to a generics reference. IMO there should be zero bandwidth taken up with a discussion about essential language elements. EJB 3.0 requires Java 5.0, 'nuff said.

      public ArrayList starts = new ArrayList ();

      Second, it's a rather entrenched best-practice that you would use List as the reference type in the example above. Not a big deal but I immediately wondered whether there was a reason for not adhering to that convention.