Hot Swapping Resources

Discussion in 'Java' started by Roedy Green, Feb 4, 2006.

  1. Roedy Green

    Roedy Green Guest

    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.
    Roedy Green, Feb 4, 2006
    #1
    1. Advertising

  2. Roedy Green

    Roedy Green Guest

    On Sat, 04 Feb 2006 04:44:31 GMT, Roedy Green
    <> 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.
    Roedy Green, Feb 4, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marcus Leon

    WebLogic hot swapping advice

    Marcus Leon, Feb 8, 2005, in forum: Java
    Replies:
    1
    Views:
    2,391
  2. mobi999
    Replies:
    0
    Views:
    746
    mobi999
    Jun 9, 2007
  3. Sandy Miller

    Java EE Developer-HOT HOT OPENINGS

    Sandy Miller, Jan 8, 2008, in forum: Java
    Replies:
    0
    Views:
    358
    Sandy Miller
    Jan 8, 2008
  4. Sandy Miller
    Replies:
    0
    Views:
    334
    Sandy Miller
    Jan 17, 2008
  5. Tim Morgan
    Replies:
    2
    Views:
    124
    Joachim Glauche
    Feb 26, 2008
Loading...

Share This Page