Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Trying to find AOP runtime weaving solution for Java applets

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone found a way to perform just-in-time-translation weaving with java applets. 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.
 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to move this to the Applets forum, more chance of you getting an answer there
 
Andrew Och
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nothing up my sleeve ... and ... presto! A tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic