Hey, ya'll...
I've got a requirement for an ability to hot-load beans as the XML files change. I was wondering if anyone in the community had already thought about this as a future feature before I look at making mods myself.
I was thinking that if I save the file and timestamp when a singleton is marshalled I should be able to check the file timestamp the next time the object is requested and reload it if its changed.
What I don't know yet is what effects this scheme will have on any lingering references to an old bean instance. Would they toss an exception if referenced? Hmm.... I might need some coding best-practices even if the hot-load works.
Cheers,
Greg


Reply With Quote