Hi Teemu

Thank you for your reply

To be honest, I have not started any experiments yet,
No I do not want to instrument the container itself,
My immediate experimnent would be to gather some performance
metrics/monitoring using AspectJ for my bundles.
I think forget about me mentioning dynamic proxies as this is NOT what I
want.

I was thinking more about problems that others might have encountered in
this area, ESPECIALLY classloading restrictions. If any, if there are no
real issues in this area the great.

In some of the previous messages about this topic there was mention about
possibly implementing something similar to the "Equinox-specific hooks to
perform load-time weaving" as this was probably also needed for JPA hooks.
Any informatioon about this would be helpful.

Once again, I have not started any experimentation yet.
My question is more centered around how to go about this. What are other's
experience with AOP and OSGI.

I am not sure how to start. I am dithering a bit.
Ivanhoe


On Tue, Mar 30, 2010 at 1:33 PM, teemu kanstren <[email protected]> wrote:

> Hello,
>
> What do you expect to be the difference? What are the results of your
> experiments in this regard? Are you instrumenting the container or a set of
> bundles? You talk about possibility of using a Proxy, what do you plan to
> use it for?
>
>  I guess some things can depend on your instrumentation code. My guess is
> that you could have some classloader issues with multiple bundles sharing
> some global aspects if you want something like that. But depends on what
> you
> want to do and also trying it out will tell you the best..
>
> Teemu
>
>
> 2010/3/30 Ivanhoe Abrahams <[email protected]>
>
> > Hi all
> >
> > I am looking around for the "correct" way for using AOP in OSGI.
> > I dont have concrete examples right yet, but basically I would eventually
> > want to use either Load time weaving OR dynamic proxies,
> > preferably with AspectJ, but I dont mind using other AOP frameworks....
> > However I do want to use it in a way that is "standard", in other words
> it
> > should work in at least Felix and Equinox and others if possible.
> >
> > I see there is already a a thread discussing AOP and Felix but it does
> not
> > seem to give any answers.
> > Google also does not provide any goodness on this topic. At lest not that
> I
> > have found.
> >
> > So what would be the correct way to implement AOP in OSGI based an
> system?
> >
> > Thank you in advance
> > Ivanhoe
> >
>

Reply via email to