Your kidding!
The CBDrop interface is less flexible than CBProp which is
based on java.util.Properties and keeps a key/value pair
combination. That means it isn't positionally sensitive
and therefore can be used more flexibly.
As for the Enumerations versus collections, that doesn't
really make sense to us. The CBDrop stores values positionally
in a Vector and requires a bit more 'careful' programming by
the developer. You can certainly use it, but we don't use it
by default in ANY of our EJB related examples and none of our
EJB code templates are built for it.
You can certainly modify the templates to use CBDrop, but as
we stated before it's probably easier if you just generate
your java class as CBProp. We don't consider this a bug, we
consider it a default behavior based on our recommended
interface. We do list in the documentation that the CBProp
is the 'preferred' interface, perhaps we should be a little
more emphatic about this...
Sorry for the confusion!
THOUGHT Support
|