Tuesday March 22, 2005
Bug in Duke's Bank example in the J2EE 1.4 Tutorial update 4, and workaround
There is a bug in NextIdBean.ejbCreate() in update 4 of the J2EE 1.4 Tutorial.
public Object ejbCreate() throws CreateException {
return null;
}
should be:
public String ejbCreate() throws CreateException {
return null;
}
This bug doesn't show up when using J2SE 5, only when using J2SE 1.4. J2SE 5 allows subclasses to have different return types. Look for a bug-fix update to the J2EE 1.4 Tutorial within a few weeks.
Trackback URL: http://blogs.sun.com/ievans/entry/bug_in_duke_s_bank
Post a Comment:

Posted by johannes steffen on April 08, 2005 at 03:20 AM PDT #
Posted by Ian Evans on April 09, 2005 at 04:14 PM PDT #
Posted by Shruti on February 01, 2007 at 03:08 PM PST #