I've read a little on Prism and think it's an attractive technology for a pr开发者_运维知识库ogram I want to write. I'm looking for a stable platform that can host several modules and maintain stability, even if one module is in the midst of crashing.
Let's say I've got several modules that run independently of the shell. Think of a shell replacement--apps and processes running inside a master process.
Here are my three questions:
Let's say I've got a bad module that throws an exception that isn't caught anywhere. What happens to my program? Does it still run or did that one module take down the whole application?
Can I use the module still or do I have to reload it?
Can I unload the module and load a new instance of it?
Prism modules are still running (by default) in your standard application context. An unhandled exception will still take down the app.
精彩评论