Has anyone found a way to perform just-in-time-translation weaving with javaapplets. I know that compile time weaving works very well, but I really am looking for run-time weaving solution. Is there a way to do run-time weaving in applets not using the Class Loader.
I searched and searched for ways to do run-time weaving to no avail. I have read and re-read Sun's explanation security explanation on: http://java.sun.com/sfaq/#appletCL that states "A web browser uses only one class loader, which is established at start-up. Thereafter, the system class loader cannot be extended, overloaded, overridden or replaced. Applets cannot create or reference their own class loader." Also I am not looking for just a hack or security hole like that described in Applets Running Wild: "http://www.securingjava.com/chapter-five/chapter-five-8.html" and the Evil Class Loader, because I need to sell the solution to my team and my boss.
If anyone has any help or advice on a way of doing run-time weaving in applets please let me know I am prepared to try any avenue.
Sorry for posting in wrong place. I really did think about posting in applets, but at the time I felt it might be better to post here, because its to do with AOP. You are quite right to move it to applets though.