Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Hot Swapping Resources

Reply
Thread Tools

Hot Swapping Resources

 
 
Roedy Green
Guest
Posts: n/a
 
      02-04-2006
I was wondering about my options to dynamically add resources, e.g.
icons and fonts, to a program without shutting it down.

Do any of the following work?

1. add resource files to a directory on the classpath.

2. replace a jar containing the old resources with a new jar of the
same name?

3. something with classloaders.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      02-04-2006
On Sat, 04 Feb 2006 04:44:31 GMT, Roedy Green
<(E-Mail Removed) > wrote, quoted or
indirectly quoted someone who said :

>Do any of the following work?
>
>1. add resource files to a directory on the classpath.
>
>2. replace a jar containing the old resources with a new jar of the
>same name?
>
>3. something with classloaders.


perhaps the best way to load them from your own jar as raw bytes.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hot-swapping classes using Kernel.load -- catching excptns Tim Morgan Ruby 2 02-26-2008 10:46 AM
one hot< two hot in FSM encoding mobi999 VHDL 0 06-09-2007 12:59 AM
Blades, ASR's and Hot Swapping Rambo via WinServerKB.com MCSE 0 07-01-2005 03:20 PM
WebLogic hot swapping advice Marcus Leon Java 1 02-11-2005 06:46 AM
Hot swapping SATA in Windows 2000 The Other Guy NZ Computing 3 12-23-2003 05:08 AM



Advertisments