[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Deployers Ordering Issue

alesj do-not-reply at jboss.com
Thu Jun 25 08:03:33 EDT 2009


"richard.opalka at jboss.com" wrote : 
  | The fundamental question here is why do you think we shouldn't validate inputs?
I'm not completely saying we shouldn't do this,
I'm just saying does it really make sense, or are you just lazy? ;-)
"alesj" wrote : 
  | The only reasonable thing here might be that we check any previous stages for inputs,
  | and potentially break (throw an exception) if some deployer requires an input from later output.
  | 
  | But this should be properly discussed first on MC dev forum,
  | as I'm still not convinced this is something we should do.
  | e.g. we might just call it lazy deployer developer, as (s)he didn't bother to properly check previous deployers via statistics 
I'm willing to add this check for dev usage, but not in production (*).
e.g. turn the check flag on, run/test the boot, and see if some deployer is broken

(*) the boot is already slow, w/o "helping" the "lazy"

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240005#4240005

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240005



More information about the jboss-dev-forums mailing list