How do I reload a class?

Discussions

EJB programming & troubleshooting: How do I reload a class?

  1. How do I reload a class? (1 messages)

    I want to reload a class which is already loaded in the JVM. During the reload process all the static variables should be initialized again.

    Let me know if this possible or not.

    Thanks in advance for your help.

    -Chetan.
  2. How do I reload a class?[ Go to top ]

    Yes, it is possible to reload a class. You should create
    your classloader. If you want to reload a class
    re-instantiate the custom classloader and load your class
    again.

    Barri