You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Plugin Packaging

Joget supports 2 types of plugin packaging, there are Standard Java Plugin and Dynamic OSGI Plugin.  

Standard Java Plugin

  1. Build as a standard Java JAR
  2. Plugin classes should be placed in a package name starting with “org.joget”. (OEM release package are allowed to specify other package names)
  3. Make JAR available in the Java classpath (e.g., place it under WEB-INF/lib or application server lib folder).
  4. Requires restarting the JVM for deployment or changes.
  5. May cause library version conflicts with base libraries or other plugins.
  6. Easier to develop and test using normal Java classes and libraries.

Dynamic OSGi Plugin

  1. Build as an OSGi (Open Services Gateway initiative framework) JAR bundle.
  2. Deploy JAR using the Manage Plugins in the Web Console.
  3. Supports dynamic loading/unloading/reloading without restarting.
  4. Runs in isolated mode, preventing library version conflict with base libraries or other plugins.
  5. More difficult to develop and test due to OSGi configuration and isolation.
  6. Technology powering this structure: Apache Felix.

Plugin Types

 

 

  • No labels