[Design of JBoss ESB] - Re: Http Gateway - requirements please...
by tfennelly
OK... so I think we are in agreement then that EBWS in it's current form would need to change in order to provide a common basis for these http related features? I thought Kev was suggesting otherwise.
Re using mapped Vs filtered "suplemental" web.xml data (for want of a better term), how about we identify:
1. What we think would need to be validated?
2. Where the possible sources of conflict would be if we didn't validate (which nobody is proposing)?
Obviously they both go hand in hand :)
I think the same level of validation can be achieved with either approach. With either approach you can restrict the user defined config to containing specific values, after that (for me) it's just about the format and I think keeping it in line with the web.xml makes sense from a user perspective (they know web.xml) and removes the need to perform a mapping (because it's already in the target format).
What we differ on perhaps is the strictness of the validation. Kev and Dave prefer the "we only allow values X, Y and Z and we block everything else" approach, where as Danny and I seem to prefer the "we don't allow A, B, or C but do allow everything else" approach (if that makes sense :) ).
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238298#4238298
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238298
16 years, 9 months
[Design of JBoss ESB] - Re: Http Gateway - requirements please...
by dward
"Kevin.Conner(a)jboss.com" wrote : "tfennelly" wrote : Kev, please lets not say "it is the preferred method" just yet!!
| Okay, it is my preferred method :)
| Kev
Just to throw in my opinion, it's my preferred method too...
"Kevin.Conner(a)jboss.com" wrote :
| "tfennelly" wrote : At the moment, I don't agree with your analysis for a number of reasons. As far as I see it, we can easily control what we merge from the user defined web.xml into the generated web.xml, so having control is not really an issue IMO.
| Really? How do you propose to validate everything they have added and make sure that it does not interfere with what we configure? It is much easier for us to use a configuration which we control to generate a valid deployment.
| Kev
Even though part of me wants to side with Tom and Daniel on this (so as to allow maximum flexibility to the user), I think we would be opening up a big can of worms. I don't think we want to - or even should - support everything you can put into a web.xml. We're not trying to be an entire "Servlet [Container] Gateway" here, just an HTTP Gateway.
David
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238272#4238272
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238272
16 years, 9 months