In java, if you cannot use OSGi due to policy constraints, is it reasonable to implement…
- User
In java, if you cannot use OSGi due to policy constraints, is it reasonable to implement custom classloader to hot swap jars and classes at runtime to enable fast redeployment in production?
Assistant
Yes, it can be reasonable to implement a custom classloader to hot swap JARs and classes at runtime if OSGi cannot be used due to policy constraints. Here are some things to consider with this approach:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.