Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Plugins everywhere! Joget Workflow v3 provides an improved plugin architecture that supports both normal Java and dynamic OSGI plugins.
Due to the major changes in the app structure in v3 compared to v2, it will be highly unlikely that v2 plugins will be directly compatible in v3.
So existing plugins written for v2 will need to be rebuilt using the v3 structure and Java AP_I.
The method of developing a v3 plugin remains the same as described in Developing Plugins. However, there is an additional feature in that you now have an option of using standard Java classes which are read directly from the classpath. The following table highlights the different approaches:
Dynamic OSGI Plugin |
Standard Java Plugin |
---|---|
Build as an OSGI JAR bundle |
Build as a standard Java JAR |
Deploy JAR using the Manage Plugins in the Web Console |
Make JAR available in the Java classpath e.g. place it under WEB-INF/lib |
Supports dynamic loading/unloading/reloading without restarting |
Requires restarting the JVM for deployment or changes |
Runs in isolated mode thus prevents library version conflict with base libraries or other plugins |
May cause library version conflicts with base libraries or other plugins |
More difficult to develop and test due to OSGI configuration and isolation |
Easier to develop and test using normal Java classes and libraries |
v3 supports either type of plugin, whereas v2 only supports OSGI plugins. The type of plugin to use depends on the actual scenario and requirements.