Custom Lucee 5 extensions


#1

I was going to start experimenting with Lucee 5 Java based extensions and OSGi. I was able to extract all the information needed to do it from the docs and the Lucee source code.

I was curious if the cfadmin action’s updateRHExtension and removeRHExtension can be relied upon as the best way to reload a custom Lucee extension when it changes? They aren’t in the cfadmin documentation, but I read the lucee admin source code and I see this is what is used.

I was thinking about making a CFML wrapper around the features I add this way so I could guarantee zero downtime when deploying Java related working via the Lucee OSGi extension/packaging setup you have made for us. I’d just put them in a sleep loop testing a struct key whenever the application needs to reload the extension.