|RCP over not 100% reliable network (Config.ini, class loading) [message #757847]
||Mon, 21 November 2011 03:50
| Leung Wang Hei
Registered: July 2010
Our RCP application is placed on a shared network driver, during any
network failover, there could be 1~2 seconds down time. Any file
access/class loading right at that moment just hangs the application.
So far I found 3 pitfalls:
1. loading <app>/configuration/config.ini at startup (app won't start if
missing the file/folder)
2. cache file <app>/configuration/ (could be pointed to an empty
location @user's local PC and let the files auto-generated)
3. lazy loading class from <app>/plugins
a. Is my statement in bracket for point (2) valid? Will it potentially
break any logic?
b. Could we make RCP load config.ini out of the configuration/ folder?
c. How could I set a customized classloader (e.g. re-loading class after
1 second if fail) to bundles?
Leung Wang Hei
Powered by FUDForum
. Page generated in 0.02382 seconds