File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes OSGI and load time weaving Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Reply Bookmark "OSGI and load time weaving" Watch "OSGI and load time weaving" New topic
Author

OSGI and load time weaving

Don Scott
Greenhorn

Joined: Mar 10, 2009
Posts: 8
Many of our apps use a javaagent to do some loadtime weaving with ASM. Since OSGI has a sort of start/stop available status for a module, how much does this affect the bytecode weavin? Is compile time weaving even possible in a generic way yet ie. not just an Equinox solution?
Richard S. Hall
author
Ranch Hand

Joined: Feb 14, 2011
Posts: 47
Don Scott wrote:Many of our apps use a javaagent to do some loadtime weaving with ASM. Since OSGI has a sort of start/stop available status for a module, how much does this affect the bytecode weavin? Is compile time weaving even possible in a generic way yet ie. not just an Equinox solution?


The new R4.3 spec defines an approach for load-time weaving.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: OSGI and load time weaving
 
Similar Threads
AOP & performance
Dynamic Weaving in AspectJ
Trying to find AOP runtime weaving solution for Java applets
Counting the Number of Instances Created
* Welcome Arnaud Cogoluegnes, Thierry Templier & Andy Piper