You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by Eric Charles <er...@apache.org> on 2013/04/19 16:06:35 UTC

Any interest for AOP components?

Hi,

I have begun to work on some AOP components integrated with Guice.

The first one is about 'retrying' methods: annotate a method, and it 
will be called x times on Exception. I am no particular fan of retrying 
and prefer failing fast, but if some guys around like this, I will just 
put the annotation, and that's it...

This is not purely Guice related, but in my case Guice is the injection 
mecanism that allows to get the AOP proxies...

No rocket-science, but I haven't found a out-of-box Guice library that 
implements this. Btw, do you know any existing Guice library for this?

Any interest in seeing such think as a separate future module in onami 
(onami-aop, onami-aop-retry, onami-aop-auth-shiro...)?

If such, I can commit my current code in the sandbox.

Thx, Eric

Re: Any interest for AOP components?

Posted by nino martinez wael <ni...@gmail.com>.
No problem, I have the same issue :)

2013/5/16 Eric Charles <er...@apache.org>

> Thx for the feedbacks.
> I am still searching time to review the code before committing in sandbox
> (can not commit to any timeline atm...).
>
> Eric
>
>
> On 15/05/2013 07:05, nino martinez wael wrote:
>
>> yes a good idea.. This could also be used to make a more mature version of
>> my Guice Cache..
>>
>> -Nino
>>
>> 2013/4/19 Christian Grobmeier <gr...@gmail.com>
>>
>>  agreed, AOP is pretty cool imho and it would be nice to have some nice
>>> components around it.
>>> In addition, the Sandbox is always good to try out if an actual need is
>>> there
>>>
>>> On Fri, Apr 19, 2013 at 5:35 PM, Simone Tripodi
>>> <si...@apache.org> wrote:
>>>
>>>> Salut mon ami,
>>>>
>>>> +1 for me, go ahead, let's get it rumble!!!
>>>>
>>>> best,
>>>> -Simo
>>>>
>>>> http://people.apache.org/~**simonetripodi/<http://people.apache.org/~simonetripodi/>
>>>> http://simonetripodi.**livejournal.com/<http://simonetripodi.livejournal.com/>
>>>> http://twitter.com/**simonetripodi <http://twitter.com/simonetripodi>
>>>> http://www.99soft.org/
>>>>
>>>>
>>>> On Fri, Apr 19, 2013 at 4:06 PM, Eric Charles <er...@apache.org> wrote:
>>>>
>>>>  Hi,
>>>>>
>>>>> I have begun to work on some AOP components integrated with Guice.
>>>>>
>>>>> The first one is about 'retrying' methods: annotate a method, and it
>>>>>
>>>> will
>>>
>>>> be called x times on Exception. I am no particular fan of retrying and
>>>>> prefer failing fast, but if some guys around like this, I will just put
>>>>>
>>>> the
>>>
>>>> annotation, and that's it...
>>>>>
>>>>> This is not purely Guice related, but in my case Guice is the injection
>>>>> mecanism that allows to get the AOP proxies...
>>>>>
>>>>> No rocket-science, but I haven't found a out-of-box Guice library that
>>>>> implements this. Btw, do you know any existing Guice library for this?
>>>>>
>>>>> Any interest in seeing such think as a separate future module in onami
>>>>> (onami-aop, onami-aop-retry, onami-aop-auth-shiro...)?
>>>>>
>>>>> If such, I can commit my current code in the sandbox.
>>>>>
>>>>> Thx, Eric
>>>>>
>>>>>
>>>
>>>
>>> --
>>> http://www.grobmeier.de
>>> https://www.timeandbill.de
>>>
>>>
>>
>>
>>


-- 
Best regards / Med venlig hilsen
Nino Martinez

Re: Any interest for AOP components?

Posted by Eric Charles <er...@apache.org>.
Thx for the feedbacks.
I am still searching time to review the code before committing in 
sandbox (can not commit to any timeline atm...).

Eric

On 15/05/2013 07:05, nino martinez wael wrote:
> yes a good idea.. This could also be used to make a more mature version of
> my Guice Cache..
>
> -Nino
>
> 2013/4/19 Christian Grobmeier <gr...@gmail.com>
>
>> agreed, AOP is pretty cool imho and it would be nice to have some nice
>> components around it.
>> In addition, the Sandbox is always good to try out if an actual need is
>> there
>>
>> On Fri, Apr 19, 2013 at 5:35 PM, Simone Tripodi
>> <si...@apache.org> wrote:
>>> Salut mon ami,
>>>
>>> +1 for me, go ahead, let's get it rumble!!!
>>>
>>> best,
>>> -Simo
>>>
>>> http://people.apache.org/~simonetripodi/
>>> http://simonetripodi.livejournal.com/
>>> http://twitter.com/simonetripodi
>>> http://www.99soft.org/
>>>
>>>
>>> On Fri, Apr 19, 2013 at 4:06 PM, Eric Charles <er...@apache.org> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have begun to work on some AOP components integrated with Guice.
>>>>
>>>> The first one is about 'retrying' methods: annotate a method, and it
>> will
>>>> be called x times on Exception. I am no particular fan of retrying and
>>>> prefer failing fast, but if some guys around like this, I will just put
>> the
>>>> annotation, and that's it...
>>>>
>>>> This is not purely Guice related, but in my case Guice is the injection
>>>> mecanism that allows to get the AOP proxies...
>>>>
>>>> No rocket-science, but I haven't found a out-of-box Guice library that
>>>> implements this. Btw, do you know any existing Guice library for this?
>>>>
>>>> Any interest in seeing such think as a separate future module in onami
>>>> (onami-aop, onami-aop-retry, onami-aop-auth-shiro...)?
>>>>
>>>> If such, I can commit my current code in the sandbox.
>>>>
>>>> Thx, Eric
>>>>
>>
>>
>>
>> --
>> http://www.grobmeier.de
>> https://www.timeandbill.de
>>
>
>
>

Re: Any interest for AOP components?

Posted by nino martinez wael <ni...@gmail.com>.
yes a good idea.. This could also be used to make a more mature version of
my Guice Cache..

-Nino

2013/4/19 Christian Grobmeier <gr...@gmail.com>

> agreed, AOP is pretty cool imho and it would be nice to have some nice
> components around it.
> In addition, the Sandbox is always good to try out if an actual need is
> there
>
> On Fri, Apr 19, 2013 at 5:35 PM, Simone Tripodi
> <si...@apache.org> wrote:
> > Salut mon ami,
> >
> > +1 for me, go ahead, let's get it rumble!!!
> >
> > best,
> > -Simo
> >
> > http://people.apache.org/~simonetripodi/
> > http://simonetripodi.livejournal.com/
> > http://twitter.com/simonetripodi
> > http://www.99soft.org/
> >
> >
> > On Fri, Apr 19, 2013 at 4:06 PM, Eric Charles <er...@apache.org> wrote:
> >
> >> Hi,
> >>
> >> I have begun to work on some AOP components integrated with Guice.
> >>
> >> The first one is about 'retrying' methods: annotate a method, and it
> will
> >> be called x times on Exception. I am no particular fan of retrying and
> >> prefer failing fast, but if some guys around like this, I will just put
> the
> >> annotation, and that's it...
> >>
> >> This is not purely Guice related, but in my case Guice is the injection
> >> mecanism that allows to get the AOP proxies...
> >>
> >> No rocket-science, but I haven't found a out-of-box Guice library that
> >> implements this. Btw, do you know any existing Guice library for this?
> >>
> >> Any interest in seeing such think as a separate future module in onami
> >> (onami-aop, onami-aop-retry, onami-aop-auth-shiro...)?
> >>
> >> If such, I can commit my current code in the sandbox.
> >>
> >> Thx, Eric
> >>
>
>
>
> --
> http://www.grobmeier.de
> https://www.timeandbill.de
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

Re: Any interest for AOP components?

Posted by Christian Grobmeier <gr...@gmail.com>.
agreed, AOP is pretty cool imho and it would be nice to have some nice
components around it.
In addition, the Sandbox is always good to try out if an actual need is there

On Fri, Apr 19, 2013 at 5:35 PM, Simone Tripodi
<si...@apache.org> wrote:
> Salut mon ami,
>
> +1 for me, go ahead, let's get it rumble!!!
>
> best,
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
>
>
> On Fri, Apr 19, 2013 at 4:06 PM, Eric Charles <er...@apache.org> wrote:
>
>> Hi,
>>
>> I have begun to work on some AOP components integrated with Guice.
>>
>> The first one is about 'retrying' methods: annotate a method, and it will
>> be called x times on Exception. I am no particular fan of retrying and
>> prefer failing fast, but if some guys around like this, I will just put the
>> annotation, and that's it...
>>
>> This is not purely Guice related, but in my case Guice is the injection
>> mecanism that allows to get the AOP proxies...
>>
>> No rocket-science, but I haven't found a out-of-box Guice library that
>> implements this. Btw, do you know any existing Guice library for this?
>>
>> Any interest in seeing such think as a separate future module in onami
>> (onami-aop, onami-aop-retry, onami-aop-auth-shiro...)?
>>
>> If such, I can commit my current code in the sandbox.
>>
>> Thx, Eric
>>



-- 
http://www.grobmeier.de
https://www.timeandbill.de

Re: Any interest for AOP components?

Posted by Simone Tripodi <si...@apache.org>.
Salut mon ami,

+1 for me, go ahead, let's get it rumble!!!

best,
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/


On Fri, Apr 19, 2013 at 4:06 PM, Eric Charles <er...@apache.org> wrote:

> Hi,
>
> I have begun to work on some AOP components integrated with Guice.
>
> The first one is about 'retrying' methods: annotate a method, and it will
> be called x times on Exception. I am no particular fan of retrying and
> prefer failing fast, but if some guys around like this, I will just put the
> annotation, and that's it...
>
> This is not purely Guice related, but in my case Guice is the injection
> mecanism that allows to get the AOP proxies...
>
> No rocket-science, but I haven't found a out-of-box Guice library that
> implements this. Btw, do you know any existing Guice library for this?
>
> Any interest in seeing such think as a separate future module in onami
> (onami-aop, onami-aop-retry, onami-aop-auth-shiro...)?
>
> If such, I can commit my current code in the sandbox.
>
> Thx, Eric
>