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.
I'm tempted to say Jain which some of my former colleagues used. It is the fusion of Ja and Nein. Basically in theory you can do it but in practice you can't.
So you should either use Erlang or forget about the concept.
There are a lot of places where it can go wrong. For example if you plan to deploy your app with Tomcat it is famous of its resource leaks. It simply can't run forever.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments