Menu

EJBGen 1.0.4 : Support for default property values

The 1.0.4 release of EJBGen now allows default values to be specified for entity bean properties. The developer can now either specify an expression that can be applied to the property by default, or leave EJBGen to make a best assumption as to the default value that should be applied. These change means that null-pointer exceptions are more often avoided as null values must be explicitly declared.

Also ejb-jar deployment descriptors generated by this release include ejb-ref elements. Very handy.

It is hoped that this release is a significant step toward not not reducing the amount of tuning that is required on the generated code.

Posted by Nick Sharples 2001-04-16

Log in to post a comment.