Hi Mats,
An important point: we're not talking about working around errors
with "smart fallbacks." Enterprise JavaBeans have two parts: a
portable core (deployment descriptor, home interface, remote
interface, implementation classes, maybe a primary key...) and a
container-specific part (bindings to the namespace, time-outs,
resource pools, etc.).
We are only talking about ways to make the container-specific
information (which will differ from container to container by
definition) as easy as possible. If we can figure something out,
that's one less task for the deployer. If a competitor can't figure it
out, then that's one more task for the deployer in that deployment.
But the portable core doesn't change, and no errors were covered
up.
If there's interest, we could have an optional "boot camp"
deployment tool that makes the deployer specify every option, as
training for deployments on other tools. :-)
As a general rule, your point is well taken and we should make
sure that we provide notifications for every violation of the spec in a
bean, even if it doesn't happen to bother our container. Thanks for
the idea. Maybe I'll develop a "spec compliance checker" that can
be plugged into the container and provide error messages at
deployment time. Unfortunately, I've got an existing commitment
that is going to keep me busy for at least several more weeks. :-(
-Dan
On 19 May 00, at 17:35, Mats Lofkvist wrote:
> Regarding 'smart fallbacks' for missing values, I would prefer
> a clear error message stating exactly what information is missing.
>
> This makes the error being detected (and hopefully corrected)
> immediately instead of popping up from nowhere e.g. when moving
> the deployment descriptors to another container.
>
> All 'features' that hide my errors are bad, imho.
>
>
> /mats
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]