2009/6/15 João Ferreira <jtjeferre...@gmail.com>:
> Hello
>
> For some months i have followed this mailing list and have learned a
> lot. Now i would like to share the work i have been doing in the last
> months, for my master thesis. The work called "A-OSGi: A framework to
> support the construction of autonomic OSGi-based applications" tries to
> apply autonomic computing mechanisms to the OSGi platform, in particular
> for Web Apps built using OSGi. You can read more about this work in this
> tech report[1]. I have built a prototype using felix, pax web and ipojo.

Nice! Sounds very interesting !

> I did modifications to:
>
>    * felix framework (to support monitoring of CPU time of each bundle
>      and something similar to eventhooks to support obligations and
>      prohibitions between bundles and services);
>    * pax web (to support monitoring of throughput and latency of requests)

At least for Pax stuff you are free (and invited hereby) to commit the
changes yourself at OPS4J.
Just create apropriate change issues at iss...@ops4j.org.

>    * iPOJO (to generate events when a component instance binds to a
>      required service).
>
> To support adaptations i have used Ponder2[2] to support the
> specification of ECA rules.
>
> If someone has suggestions for improving my work i would be very
> appreciated.
>
> Altough i still have some implementation issues, that i would like some
> help from the felix community. These issues are about the detection of
> service related events and collection of information about the bindings
> between bundles and services.
> I have used the Service layer of OSGi using ServiceListener to listen
> for Service registrations and unregistrations. I used the
> Bundle.getRegisteredServices() and Bundle.getServicesInUse() to have
> runtime information about the bindings between Bundles and Services.
>
> I have used iPOJO so bundles don't have to worry about dependency
> mechanisms and to detect when a bundle binds to a service. I would like
> to use iPOJO also to collect information about the binding without using
> the OSGi service layer. Unfortunately I didn't found the way to do it...
>
> Recently i found the 4.2 spec about eventhooks and findhooks that could
> help me to detect these events and apply obligations and prohibitions
> without modifying the framework or using iPOJO, supporting not only
> iPOJO bundles but all bundles that use services the "normal" way.
> However i still think using iPOJO is nice since the in "normal" way the
> dependency mechanism that the programmer has to handle can be done in
> different ways making my mechanism not accurate. Since iPOJO bundles
> leverages on iPOJO dependency mechanisms i could ask the iPOJO the state
> of the bindings, services provided by bundles, services required by
> bundles and services used by bundles.
>
> Hope i could explain myself
> Cheers
> João Ferreira
>
> [1] http://www.inesc-id.pt/ficheiros/publicacoes/5467.pdf
> [2] http://ponder2.net/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>



-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
t...@okidokiteam.com
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to