This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes OSGI and load time weaving Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Other Application Frameworks
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: OSGI and load time weaving
 
It's not a secret anymore!