You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Sanjiva Weerawarana <sa...@opensource.lk> on 2006/01/30 13:17:25 UTC
[axis2] move axiom to ws-commons
Folks, we currently have a circular dependency between policy and axis2
projects: axis2 depends on policy and policy depends on axiom from
axis2. I think the right solution is to move axiom out of axis2 and to
ws-commons. I think this makes sense anyway (independent of the circular
dep) as axiom has potentially wider use.
Thoughts or alternative proposals?
Sanjiva.
Re: [axis2] move axiom to ws-commons
Posted by Paul Fremantle <pz...@gmail.com>.
I agree. Since we added full infoset support, AXIOM has become a very useful
component in its own right.
+1
Paul
On 1/30/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
>
> Folks, we currently have a circular dependency between policy and axis2
> projects: axis2 depends on policy and policy depends on axiom from
> axis2. I think the right solution is to move axiom out of axis2 and to
> ws-commons. I think this makes sense anyway (independent of the circular
> dep) as axiom has potentially wider use.
>
> Thoughts or alternative proposals?
>
> Sanjiva.
>
>
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
http://bloglines.com/blog/paulfremantle
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
Re: [axis2] move axiom to ws-commons
Posted by Chathura Herath <ch...@gmail.com>.
+1 and nice wording Eran
On 1/31/06, Eran Chinthaka <ch...@opensource.lk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ok, then let me start on this.
>
> (Our beloved AXIOM is going away from Axis2 to a new home ;( )
>
> - -- Chinthaka
>
>
> Srinath Perera wrote:
>
> > Nice to hear it Jeremy! +1, lets separate it :) Thanks Srinath
> >
> > On 1/31/06, Davanum Srinivas <da...@gmail.com> wrote:
> >
> >> +1. let's do it :)
> >>
> >> -- dims
> >>
> >> On 1/31/06, Jeremy Boynes <jb...@apache.org> wrote:
> >>
> >>> Paul Fremantle wrote:
> >>>
> >>>> I think there is more benefit to this than just the
> >>>> WS-Policy.
> >>>>
> >>>> For example, AXIOM could be used by any of a number of
> >>>> projects that need a lazily-built tree. In Synapse, we use
> >>>> AXIOM extensively just to parse our config. And also,
> >>>> although Synapse has a heavy dependency on Axis2, the core
> >>>> model of Synapse was built to only depend on AXIOM. So I
> >>>> think this is worth doing now.
> >>>>
> >>>> It also seems to me that Axiom is pretty stable, which
> >>>> motivates it.
> >>>>
> >>>> But I agree, Dims, if that was the only reason, then it would
> >>>> be simple to fix. But the circular dependency is just an
> >>>> outcome of AXIOM getting wider usage as an XML model
> >>>>
> >>> Tuscany may also want to use AXIOM in an implementation of
> >>> SDO2. Although the SCA implementation is migrating to Axis2, it
> >>> would be better if the SDO part could just pick up AXIOM. It
> >>> would help if it was available separately.
> >>>
> >>> -- Jeremy
> >>>
> >>>
> >>
> >> -- Davanum Srinivas : http://wso2.com/blogs/
> >>
> >
> >
> > -- ============================ Srinath Perera:
> > http://www.cs.indiana.edu/~hperera/
> > http://www.bloglines.com/blog/hemapani
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
>
> iD8DBQFD34EsjON2uBzUhh8RAnSyAJ9i0xtB/HB74C6xKxaDukacm7hssQCbBDbU
> hSV1jNiqdRb/zigP1auWSrk=
> =8wDv
> -----END PGP SIGNATURE-----
>
>
--
Chathura Herath
http://chathurah.blogspot.com/
Re: [axis2] move axiom to ws-commons
Posted by Eran Chinthaka <ch...@opensource.lk>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ok, then let me start on this.
(Our beloved AXIOM is going away from Axis2 to a new home ;( )
- -- Chinthaka
Srinath Perera wrote:
> Nice to hear it Jeremy! +1, lets separate it :) Thanks Srinath
>
> On 1/31/06, Davanum Srinivas <da...@gmail.com> wrote:
>
>> +1. let's do it :)
>>
>> -- dims
>>
>> On 1/31/06, Jeremy Boynes <jb...@apache.org> wrote:
>>
>>> Paul Fremantle wrote:
>>>
>>>> I think there is more benefit to this than just the
>>>> WS-Policy.
>>>>
>>>> For example, AXIOM could be used by any of a number of
>>>> projects that need a lazily-built tree. In Synapse, we use
>>>> AXIOM extensively just to parse our config. And also,
>>>> although Synapse has a heavy dependency on Axis2, the core
>>>> model of Synapse was built to only depend on AXIOM. So I
>>>> think this is worth doing now.
>>>>
>>>> It also seems to me that Axiom is pretty stable, which
>>>> motivates it.
>>>>
>>>> But I agree, Dims, if that was the only reason, then it would
>>>> be simple to fix. But the circular dependency is just an
>>>> outcome of AXIOM getting wider usage as an XML model
>>>>
>>> Tuscany may also want to use AXIOM in an implementation of
>>> SDO2. Although the SCA implementation is migrating to Axis2, it
>>> would be better if the SDO part could just pick up AXIOM. It
>>> would help if it was available separately.
>>>
>>> -- Jeremy
>>>
>>>
>>
>> -- Davanum Srinivas : http://wso2.com/blogs/
>>
>
>
> -- ============================ Srinath Perera:
> http://www.cs.indiana.edu/~hperera/
> http://www.bloglines.com/blog/hemapani
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFD34EsjON2uBzUhh8RAnSyAJ9i0xtB/HB74C6xKxaDukacm7hssQCbBDbU
hSV1jNiqdRb/zigP1auWSrk=
=8wDv
-----END PGP SIGNATURE-----
Re: [axis2] move axiom to ws-commons
Posted by Srinath Perera <he...@gmail.com>.
Nice to hear it Jeremy!
+1, lets separate it :)
Thanks
Srinath
On 1/31/06, Davanum Srinivas <da...@gmail.com> wrote:
> +1. let's do it :)
>
> -- dims
>
> On 1/31/06, Jeremy Boynes <jb...@apache.org> wrote:
> > Paul Fremantle wrote:
> > > I think there is more benefit to this than just the WS-Policy.
> > >
> > > For example, AXIOM could be used by any of a number of projects that need a
> > > lazily-built tree. In Synapse, we use AXIOM extensively just to parse our
> > > config. And also, although Synapse has a heavy dependency on Axis2, the core
> > > model of Synapse was built to only depend on AXIOM. So I think this is worth
> > > doing now.
> > >
> > > It also seems to me that Axiom is pretty stable, which motivates it.
> > >
> > > But I agree, Dims, if that was the only reason, then it would be simple to
> > > fix. But the circular dependency is just an outcome of AXIOM getting wider
> > > usage as an XML model
> > >
> >
> > Tuscany may also want to use AXIOM in an implementation of SDO2.
> > Although the SCA implementation is migrating to Axis2, it would be
> > better if the SDO part could just pick up AXIOM. It would help if it was
> > available separately.
> >
> > --
> > Jeremy
> >
> >
>
>
> --
> Davanum Srinivas : http://wso2.com/blogs/
>
--
============================
Srinath Perera:
http://www.cs.indiana.edu/~hperera/
http://www.bloglines.com/blog/hemapani
Re: [axis2] move axiom to ws-commons
Posted by Davanum Srinivas <da...@gmail.com>.
+1. let's do it :)
-- dims
On 1/31/06, Jeremy Boynes <jb...@apache.org> wrote:
> Paul Fremantle wrote:
> > I think there is more benefit to this than just the WS-Policy.
> >
> > For example, AXIOM could be used by any of a number of projects that need a
> > lazily-built tree. In Synapse, we use AXIOM extensively just to parse our
> > config. And also, although Synapse has a heavy dependency on Axis2, the core
> > model of Synapse was built to only depend on AXIOM. So I think this is worth
> > doing now.
> >
> > It also seems to me that Axiom is pretty stable, which motivates it.
> >
> > But I agree, Dims, if that was the only reason, then it would be simple to
> > fix. But the circular dependency is just an outcome of AXIOM getting wider
> > usage as an XML model
> >
>
> Tuscany may also want to use AXIOM in an implementation of SDO2.
> Although the SCA implementation is migrating to Axis2, it would be
> better if the SDO part could just pick up AXIOM. It would help if it was
> available separately.
>
> --
> Jeremy
>
>
--
Davanum Srinivas : http://wso2.com/blogs/
Re: [axis2] move axiom to ws-commons
Posted by Jeremy Boynes <jb...@apache.org>.
Paul Fremantle wrote:
> I think there is more benefit to this than just the WS-Policy.
>
> For example, AXIOM could be used by any of a number of projects that need a
> lazily-built tree. In Synapse, we use AXIOM extensively just to parse our
> config. And also, although Synapse has a heavy dependency on Axis2, the core
> model of Synapse was built to only depend on AXIOM. So I think this is worth
> doing now.
>
> It also seems to me that Axiom is pretty stable, which motivates it.
>
> But I agree, Dims, if that was the only reason, then it would be simple to
> fix. But the circular dependency is just an outcome of AXIOM getting wider
> usage as an XML model
>
Tuscany may also want to use AXIOM in an implementation of SDO2.
Although the SCA implementation is migrating to Axis2, it would be
better if the SDO part could just pick up AXIOM. It would help if it was
available separately.
--
Jeremy
Re: [axis2] move axiom to ws-commons
Posted by Eran Chinthaka <ch...@opensource.lk>.
Ok, the move is completed now.
AXIOM is now settled in its new home in WS-Commons.
How abt the issues filled against AXIOM ? I think we need to move them
to WS-Commons JIRA. (later ;))
-- Chinthaka
Dennis Sosnoski wrote:
> I agree with the wider usefulness of AXIOM - it's a very clean model
> for many different types of processing. +1 on the move.
>
> - Dennis
>
> Paul Fremantle wrote:
>
>> I think there is more benefit to this than just the WS-Policy.
>>
>> For example, AXIOM could be used by any of a number of projects that
>> need a lazily-built tree. In Synapse, we use AXIOM extensively just
>> to parse our config. And also, although Synapse has a heavy
>> dependency on Axis2, the core model of Synapse was built to only
>> depend on AXIOM. So I think this is worth doing now.
>>
>> It also seems to me that Axiom is pretty stable, which motivates it.
>>
>> But I agree, Dims, if that was the only reason, then it would be
>> simple to fix. But the circular dependency is just an outcome of
>> AXIOM getting wider usage as an XML model
>>
>> Paul
>>
>> On 1/30/06, *Davanum Srinivas* <davanum@gmail.com
>> <ma...@gmail.com>> wrote:
>>
>> Sanjiva,
>>
>> I have no problem doing it. I did not see a *strong* need from a
>> code
>> dependency point of view. If we just want do it, because we want
>> to do
>> it, then it's fine :)
>>
>> I was just pointing out that "circular dependency" is not an issue
>> :) :)
>>
>> -- dims
>>
>> On 1/30/06, Sanjiva Weerawarana <sanjiva@opensource.lk
>> <ma...@opensource.lk>> wrote:
>> > On Mon, 2006-01-30 at 13:50 -0500, Davanum Srinivas wrote:
>> > > I've reviewed the code in question, there are exactly 2 files in
>> > > policy project that uses axiom namely
>> > >
>> > > - OMPolicyReader : OMPolicyReader is loaded on demand (using a
>> class
>> > > loader) from PolicyFactory.java. So moving it to axis2 core
>> should not
>> > > be a problem.
>> > > - PolicyAttachmentUtil : PolicyAttachmentUtil is not even
>> referenced
>> > > from any other files in policy project. So there should not be a
>> > > problem moving it to axis2 core.
>> > >
>> > > So, we don't have to do this right now. IMHO, We can defer this
>> > > surgery for later.
>> >
>> > But this is the wrong thing to do from the point of view of the
>> policy
>> > model project.
>> >
>> > What's the reason for deferring the surgery? Its a relatively
>> minor
>> > surgery; easily outpatient care! ;-)
>> >
>> > Sanjiva.
>> >
>> >
>> >
>>
>>
>> --
>> Davanum Srinivas : http://wso2.com/blogs/
>>
>>
>>
>>
>> --
>> Paul Fremantle
>> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>>
>> http://bloglines.com/blog/paulfremantle
>> <http://bloglines.com/blog/paulfremantle>
>> paul@wso2.com <ma...@wso2.com>
>>
>> "Oxygenating the Web Service Platform", www.wso2.com
>> <http://www.wso2.com>
>
>
>
Re: [axis2] move axiom to ws-commons
Posted by Dennis Sosnoski <dm...@sosnoski.com>.
I agree with the wider usefulness of AXIOM - it's a very clean model for
many different types of processing. +1 on the move.
- Dennis
Paul Fremantle wrote:
> I think there is more benefit to this than just the WS-Policy.
>
> For example, AXIOM could be used by any of a number of projects that
> need a lazily-built tree. In Synapse, we use AXIOM extensively just to
> parse our config. And also, although Synapse has a heavy dependency on
> Axis2, the core model of Synapse was built to only depend on AXIOM. So
> I think this is worth doing now.
>
> It also seems to me that Axiom is pretty stable, which motivates it.
>
> But I agree, Dims, if that was the only reason, then it would be
> simple to fix. But the circular dependency is just an outcome of AXIOM
> getting wider usage as an XML model
>
> Paul
>
> On 1/30/06, *Davanum Srinivas* <davanum@gmail.com
> <ma...@gmail.com>> wrote:
>
> Sanjiva,
>
> I have no problem doing it. I did not see a *strong* need from a code
> dependency point of view. If we just want do it, because we want to do
> it, then it's fine :)
>
> I was just pointing out that "circular dependency" is not an issue
> :) :)
>
> -- dims
>
> On 1/30/06, Sanjiva Weerawarana <sanjiva@opensource.lk
> <ma...@opensource.lk>> wrote:
> > On Mon, 2006-01-30 at 13:50 -0500, Davanum Srinivas wrote:
> > > I've reviewed the code in question, there are exactly 2 files in
> > > policy project that uses axiom namely
> > >
> > > - OMPolicyReader : OMPolicyReader is loaded on demand (using a
> class
> > > loader) from PolicyFactory.java. So moving it to axis2 core
> should not
> > > be a problem.
> > > - PolicyAttachmentUtil : PolicyAttachmentUtil is not even
> referenced
> > > from any other files in policy project. So there should not be a
> > > problem moving it to axis2 core.
> > >
> > > So, we don't have to do this right now. IMHO, We can defer this
> > > surgery for later.
> >
> > But this is the wrong thing to do from the point of view of the
> policy
> > model project.
> >
> > What's the reason for deferring the surgery? Its a relatively minor
> > surgery; easily outpatient care! ;-)
> >
> > Sanjiva.
> >
> >
> >
>
>
> --
> Davanum Srinivas : http://wso2.com/blogs/
>
>
>
>
> --
> Paul Fremantle
> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>
> http://bloglines.com/blog/paulfremantle
> <http://bloglines.com/blog/paulfremantle>
> paul@wso2.com <ma...@wso2.com>
>
> "Oxygenating the Web Service Platform", www.wso2.com <http://www.wso2.com>
Re: [axis2] move axiom to ws-commons
Posted by Paul Fremantle <pz...@gmail.com>.
I think there is more benefit to this than just the WS-Policy.
For example, AXIOM could be used by any of a number of projects that need a
lazily-built tree. In Synapse, we use AXIOM extensively just to parse our
config. And also, although Synapse has a heavy dependency on Axis2, the core
model of Synapse was built to only depend on AXIOM. So I think this is worth
doing now.
It also seems to me that Axiom is pretty stable, which motivates it.
But I agree, Dims, if that was the only reason, then it would be simple to
fix. But the circular dependency is just an outcome of AXIOM getting wider
usage as an XML model
Paul
On 1/30/06, Davanum Srinivas <da...@gmail.com> wrote:
>
> Sanjiva,
>
> I have no problem doing it. I did not see a *strong* need from a code
> dependency point of view. If we just want do it, because we want to do
> it, then it's fine :)
>
> I was just pointing out that "circular dependency" is not an issue :) :)
>
> -- dims
>
> On 1/30/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> > On Mon, 2006-01-30 at 13:50 -0500, Davanum Srinivas wrote:
> > > I've reviewed the code in question, there are exactly 2 files in
> > > policy project that uses axiom namely
> > >
> > > - OMPolicyReader : OMPolicyReader is loaded on demand (using a class
> > > loader) from PolicyFactory.java. So moving it to axis2 core should not
> > > be a problem.
> > > - PolicyAttachmentUtil : PolicyAttachmentUtil is not even referenced
> > > from any other files in policy project. So there should not be a
> > > problem moving it to axis2 core.
> > >
> > > So, we don't have to do this right now. IMHO, We can defer this
> > > surgery for later.
> >
> > But this is the wrong thing to do from the point of view of the policy
> > model project.
> >
> > What's the reason for deferring the surgery? Its a relatively minor
> > surgery; easily outpatient care! ;-)
> >
> > Sanjiva.
> >
> >
> >
>
>
> --
> Davanum Srinivas : http://wso2.com/blogs/
>
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
http://bloglines.com/blog/paulfremantle
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
Re: [axis2] move axiom to ws-commons
Posted by Davanum Srinivas <da...@gmail.com>.
Sanjiva,
I have no problem doing it. I did not see a *strong* need from a code
dependency point of view. If we just want do it, because we want to do
it, then it's fine :)
I was just pointing out that "circular dependency" is not an issue :) :)
-- dims
On 1/30/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> On Mon, 2006-01-30 at 13:50 -0500, Davanum Srinivas wrote:
> > I've reviewed the code in question, there are exactly 2 files in
> > policy project that uses axiom namely
> >
> > - OMPolicyReader : OMPolicyReader is loaded on demand (using a class
> > loader) from PolicyFactory.java. So moving it to axis2 core should not
> > be a problem.
> > - PolicyAttachmentUtil : PolicyAttachmentUtil is not even referenced
> > from any other files in policy project. So there should not be a
> > problem moving it to axis2 core.
> >
> > So, we don't have to do this right now. IMHO, We can defer this
> > surgery for later.
>
> But this is the wrong thing to do from the point of view of the policy
> model project.
>
> What's the reason for deferring the surgery? Its a relatively minor
> surgery; easily outpatient care! ;-)
>
> Sanjiva.
>
>
>
--
Davanum Srinivas : http://wso2.com/blogs/
Re: [axis2] move axiom to ws-commons
Posted by Sanka Samaranayake <ss...@gmail.com>.
Hello everyone,
sorry for the late reply !!
On 1/31/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> On Mon, 2006-01-30 at 13:50 -0500, Davanum Srinivas wrote:
> > I've reviewed the code in question, there are exactly 2 files in
> > policy project that uses axiom namely
> >
> > - OMPolicyReader : OMPolicyReader is loaded on demand (using a class
> > loader) from PolicyFactory.java. So moving it to axis2 core should not
> > be a problem.
> > - PolicyAttachmentUtil : PolicyAttachmentUtil is not even referenced
> > from any other files in policy project. So there should not be a
> > problem moving it to axis2 core.
> >
> > So, we don't have to do this right now. IMHO, We can defer this
> > surgery for later.
>
> But this is the wrong thing to do from the point of view of the policy
> model project.
yes, I agree with Sanjiva. OMPolicyReader and DOMPolicyReader have the
same basic functionality of building a Policy object from a policy
document. OMPolicyReader uses AXIOM as the way of processing XML
document whereas DOMPolicyReader uses DOM as the way of processing
XML.
I feel that it will be great if we can make AXIOM available
independent of Axis2 , to any one as a fast , efficient way of
processing XML.
Best,
Sanka
>
> What's the reason for deferring the surgery? Its a relatively minor
> surgery; easily outpatient care! ;-)
>
> Sanjiva.
>
>
>
Re: [axis2] move axiom to ws-commons
Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Mon, 2006-01-30 at 13:50 -0500, Davanum Srinivas wrote:
> I've reviewed the code in question, there are exactly 2 files in
> policy project that uses axiom namely
>
> - OMPolicyReader : OMPolicyReader is loaded on demand (using a class
> loader) from PolicyFactory.java. So moving it to axis2 core should not
> be a problem.
> - PolicyAttachmentUtil : PolicyAttachmentUtil is not even referenced
> from any other files in policy project. So there should not be a
> problem moving it to axis2 core.
>
> So, we don't have to do this right now. IMHO, We can defer this
> surgery for later.
But this is the wrong thing to do from the point of view of the policy
model project.
What's the reason for deferring the surgery? Its a relatively minor
surgery; easily outpatient care! ;-)
Sanjiva.
Re: [axis2] move axiom to ws-commons
Posted by Davanum Srinivas <da...@gmail.com>.
I've reviewed the code in question, there are exactly 2 files in
policy project that uses axiom namely
- OMPolicyReader : OMPolicyReader is loaded on demand (using a class
loader) from PolicyFactory.java. So moving it to axis2 core should not
be a problem.
- PolicyAttachmentUtil : PolicyAttachmentUtil is not even referenced
from any other files in policy project. So there should not be a
problem moving it to axis2 core.
So, we don't have to do this right now. IMHO, We can defer this
surgery for later.
thanks,
dims
On 1/30/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> Folks, we currently have a circular dependency between policy and axis2
> projects: axis2 depends on policy and policy depends on axiom from
> axis2. I think the right solution is to move axiom out of axis2 and to
> ws-commons. I think this makes sense anyway (independent of the circular
> dep) as axiom has potentially wider use.
>
> Thoughts or alternative proposals?
>
> Sanjiva.
>
>
--
Davanum Srinivas : http://wso2.com/blogs/
Re: [axis2] move axiom to ws-commons
Posted by Srinath Perera <he...@gmail.com>.
+1, I think we have no other option
Shall we set up the build to still use the chekout axiom code (rahter
than the jar)? (check it out by the build if it not present)
Thanks
Srinath
On 1/30/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> Folks, we currently have a circular dependency between policy and axis2
> projects: axis2 depends on policy and policy depends on axiom from
> axis2. I think the right solution is to move axiom out of axis2 and to
> ws-commons. I think this makes sense anyway (independent of the circular
> dep) as axiom has potentially wider use.
>
> Thoughts or alternative proposals?
>
> Sanjiva.
>
>
--
============================
Srinath Perera:
http://www.cs.indiana.edu/~hperera/
http://www.bloglines.com/blog/hemapani