Can I have a "write once run forever" kind of system in Java?

Viewed 370

I understand that OSGi modules can be added and removed dynamically during runtime. So is it possible to have a system where I can upgrade it without having to ever take it down? (Thinking along the line of Erlang/OTP, but let's say I don't require the fault-tolerant guarantees of an Erlang system). If not what is the blocking factor? Currently, I am looking into OSGi, but have not digged deeper.

Footnote
The "write once, run forever" is from Joe Armstrong on Erlang.

3 Answers
Related