On Aug 5, 2008, at 2:41 AM, Karan Malhi wrote:

What happens if the startup fails?

Right now I have it so that it fails the deployment.

Could we specify  something like
max-retries = 5, retry-interval = 10ms . It would be nice if the container makes the "best effort" to startup an EJB and that "best effort strategy" could be specified by the user in the form of the above two attributes.

Well the only way a singleton startup can fail is if the bean itself threw an exception from the @PostConstruct method. So best effort responsibility is definitely within the bean developer's realm of control.

If we do not have something in the spec, do you think we could have something
like these as custom openejb properties then.

I'm not sure. Might be better to let the developers take care of this themselves.


-David

Reply via email to