+1 on Simon's view. IMO, policies should be optional as some composite
applications don't care about them at all or only need a subset. For
example, if I just want to expose a web service from a java component, why
do I have to take the whole WS-* stack.
I also agree that our binding-ws-* story is a bit messy at this point.
Taking this opportunity to tidy it up is a good idea. Merging the coupled
modules into one probably hides the problems for now and it will become much
painful if we want to decouple them later.
Thanks,
Raymond
--------------------------------------------------
From: "Simon Laws" <[email protected]>
Sent: Wednesday, April 22, 2009 2:54 AM
To: <[email protected]>; <[email protected]>
Subject: Re: Merging extension *-policy modules?
Removing binding-ws-axis2-policy from the build of binding-ws-axis build
gives *lots* of compile errors as the runtime code directly uses classes
in
the policy module. We could change all those to be proper plugable
extension
points but it seems unnecessary to me as i can't image anyone ever
wanting
to plug in alternative implementations. Could we at least merge that code
thats not pluggable right now into the one module and when/if a pluggable
extension point is ever made then move it out?
...ant
Looking at it I agree that fixes need to be made to remove the
dependencies but we should really treat this as an opportunity to tidy
up the binding-ws-axis2. Most of the policy and handler
difficulties/dependencies could be removed if we implemented the
binding wire for binding-ws-axis2. At the moment it's a mix of
different approaches.
I think that having the policies separated helps us make this change
and enforces the notion of them being pluggable. To put it another way
if I were to do the tidying it would help me. Can't speak for anyone
else. That's another reason I'm holding onto that thought.
Personally I still like the idea of being able to replace the policies
independently. However if we, as a group, think having less modules in
the build is more important then I'll concede the point. I would like
to keep it separate for the moment while we tidy the binding though.
Simon