插件打包
Joget支持2种类型的插件,有标准Java插件和动态OSGI插件。
Image Added
标准Java插件
- 构建为标准Java JAR
- 插件类应该以“org.joget”开头的包名称放置。(OEM发行包允许指定其他包名)
- 使JAR可用于Java类路径(例如,将其放在WEB-INF / lib或应用程序服务器lib文件夹下)。
- 需要重新启动JVM进行部署或更改。
- 可能导致库版本与基本库或其他插件冲突。
- 使用正常的Java类和库更容易开发和测试。
动态OSGi插件
- 构建为OSGi(开放服务网关倡议框架)JAR包。
- 使用Web控制台中的管理插件部署JAR 。
- 支持动态加载/卸载/重新加载而不重新启动。
- 以隔离模式运行,防止库版本与基本库或其他插件冲突。
- 由于OSGi配置和隔离,更难开发和测试。
- 技术驱动:Apache Felix。
插件类型
Image Added
Plugin Packaging
Joget support 2 types of plugin packaging, there are Standard Java Plugin and Dynamic OSGI Plugin.
Image Removed
Standard Java Plugin
- Build as a standard Java JAR
- Plugin classes should be placed in a package name starting with “org.joget”. (OEM release package are allowed to specify other package names)
- Make JAR available in the Java classpath (e.g., place it under WEB-INF/lib or application server lib folder).
- Requires restarting the JVM for deployment or changes.
- May cause library version conflicts with base libraries or other plugins.
- Easier to develop and test using normal Java classes and libraries.
Dynamic OSGi Plugin
- Build as an OSGi (Open Services Gateway initiative framework) JAR bundle.
- Deploy JAR using the Manage Plugins in the Web Console.
- Supports dynamic loading/unloading/reloading without restarting.
- Runs in isolated mode, preventing library version conflict with base libraries or other plugins.
- More difficult to develop and test due to OSGi configuration and isolation.
- Technology powering this structure: Apache Felix.
Plugin Types
Image Removed
...