|
I must try and consider this Trampoline technique for my next big app!
You intrigued me with employing UIDefaults to assist with injecting resources into an Action. At first I was concerned that UIDefualts may retain references to the ResourceBundles subverting the SoftCache behavior within the ResourceBundle factory, but that was nicely side stepped.
Unfortunately, at least in Jave5, all the key/values are plowed into a permanent HashMap. FOR EVERY RB! And taking up that space for the duration of the run. These key/values are rarely needed again after an Action is created. Just strings, but you know space: that final frontier. |