Joget研究——Joget8商业版部署
大纲
- 1. 环境准备
- 1.1 安装必要软件
- 1.2 配置Java
- 1.3 配置MySQL数据库
- 1.3.1 创建用户
- 1.3.2 创建数据库
- 2. 下载和部署
- 3. 启动
- 4. 测试
- 5. 商业版社区版对比
1. 环境准备
1.1 安装必要软件
We recommend the use of the LTS version of 11. Java 17 (LTS) is not supported at the moment.
sudo apt-get update
sudo apt-get install openjdk-11-jdk
# 安装MySQL
sudo apt-get install mysql-server
# 安装unzip
sudo apt-get install unzip
1.2 配置Java
- 配置JAVA_HOME
sudo vim /etc/environment
在上述文件中,新增如下内容
JAVA_HOME=“/usr/lib/jvm/java-11-openjdk-amd64”
重新加载环境,并检验环境
source /etc/environment
echo $JAVA_HOME
- 配置Java软链
sudo mv /usr/bin/java /usr/bin/java_bak
sudo ln -s /usr/lib/jvm/java-11-openjdk-amd64/bin/java /usr/bin/java
检测Java版本
java -version
openjdk version “11.0.25” 2024-10-15
OpenJDK Runtime Environment (build 11.0.25+9-post-Ubuntu-1ubuntu124.04)
OpenJDK 64-Bit Server VM (build 11.0.25+9-post-Ubuntu-1ubuntu124.04, mixed mode, sharing)
1.3 配置MySQL数据库
1.3.1 创建用户
- 使用sudo登录MySQL
sudo mysql
- 设置root用户密码
在MySQL命令行中,执行以下命令来设置root用户的密码
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'pwd123';
FLUSH PRIVILEGES;
- 退出MySQL
EXIT;
- 使用新密码登录MySQL
mysql -u root -p
1.3.2 创建数据库
仍然以root用户登录Mysql
CREATE DATABASE jwdb-enterprise;
EXIT;
2. 下载和部署
wget https://download.joget.org/enterprise/joget-enterprise-linux-8.1.9.tar.gz .
tar xzvf joget-enterprise-linux-8.1.9.tar.gz
3. 启动
cd joget-enterprise-linux-8.1.9
sh tomcat.sh start
4. 测试
由于我们配置正确的数据库连接信息,所以需要通过打开http://localhost:8080/jw/setup设置正确的端口和密码。
配置正确后,可以看到如下的提示
这样我们就可以使用admin账户在下面页面中登录http://localhost:8080/jw/web/userview/appcenter/home/_/home
5. 商业版社区版对比
Community Edition 社区版 | Enterprise Edition 企业版 | |
Build and run web-based apps 构建并运行基于 Web 的应用程序 Build full-fledged apps which combine workflow processes, forms and data records management into web-based userviews 构建成熟的应用程序,将工作流程、表单和数据记录管理结合到基于 Web 的用户视图中 Web-based, drag-and-drop, wizard-style interface 基于 Web 的拖放式向导式界面 | ✔️ | ✔️ |
Web-based UI 基于网络的用户界面 Customizable App Center with Joget Marketplace integration 可定制的应用程序中心与 Joget Marketplace 集成 Inbox (task-based web interface) for end-users 供最终用户使用的收件箱(基于任务的 Web 界面) Userviews (front-end web interface) for end-users 最终用户的用户视图(前端 Web 界面) Web-based console for administrators and designers 供管理员和设计人员使用的基于 Web 的控制台 Multi-language support 多语言支持 Quick Edit mode to allow administrators and designers to identify and modify apps directly from the front-end user interface 快速编辑模式允许管理员和设计人员直接从前端用户界面识别和修改应用程序 | ✔️ | ✔️ |
Easy deployment 轻松部署 Processes, forms, datalists and userviews are packaged into apps for easier management and deployment. 流程、表单、数据列表和用户视图被打包到应用程序中,以便于管理和部署。 Easily import and export apps 轻松导入和导出应用程序 Download apps from the Joget Marketplace从 Joget Marketplace 下载应用程序App versioning 应用程序版本控制 | ✔️ | ✔️ |
Workflow management (BPM) 工作流程管理(BPM) Design/model processes with Process Builder (fully web-based) 使用 Process Builder 设计/建模流程(完全基于网络) Drag-and-drop interface 拖放界面 No client-installation required 无需安装客户端 Execute processes with human tasks and system tools 使用人工任务和系统工具执行流程 Monitor running and completed processes 监控正在运行和已完成的进程 Integrate with external systems using plugins 使用插件与外部系统集成 | ✔️ | ✔️ |
Forms 表格 Build web-based forms with Form Builder 使用 Form Builder 构建基于 Web 的表单 Drag-and-drop interface 拖放界面 No client-installation required (fully web-based) 无需安装客户端(完全基于网络) Flexible form layout and configuration 灵活的表单布局和配置 Wizard-style property dialogs 向导式属性对话框 Extend form element types using plugins 使用插件扩展表单元素类型 Support for multiple configurable data binders in a single form to load and store data 支持单个表单中的多个可配置数据绑定器来加载和存储数据 Extend data binders (sources) using plugins 使用插件扩展数据绑定器(源) Mobile browser support 移动浏览器支持 | ✔️ | ✔️ |
Data lists 数据列表 Build tabular data lists which support sorting, paging and filtering with Datalist Builder 使用 Datalist Builder 构建支持排序、分页和过滤的表格数据列表 Drag-and-drop interface 拖放界面 No client-installation required (fully web-based) 无需安装客户端(完全基于网络) Support for configurable data binders to load data from various sources 支持可配置的数据绑定器以加载来自各种来源的数据 Extend data binders (sources) using plugins 使用插件扩展数据绑定器(源) | ✔️ | ✔️ |
Userviews 用户浏览量 Build front-end end-user UI for apps with Userview Builder 使用 Userview Builder 为应用程序构建前端最终用户 UIDrag-and-drop interface 拖放界面 No client-installation required (fully web-based) 无需安装客户端(完全基于网络) Combine forms and datalists in a userview to support CRUD (create,read,update,delete) operations for data management 在用户视图中组合表单和数据列表以支持数据管理的 CRUD(创建、读取、更新、删除)操作 Support for configurable userview design themes 支持可配置的用户视图设计主题 Extend userview functionality using menu type plugins 使用菜单类型插件扩展用户视图功能 | ✔️ | ✔️ |
Integration 一体化 Supports a dynamic plugin architecture to achieve extensibility and adaptability of product features. Any kind of integration that is not yet available as a standard feature can be accomplished by developing a plugin, without breaking the fundamental core of the product. 支持动态插件架构,实现产品功能的扩展性和适应性。任何尚未作为标准功能提供的集成都可以通过开发插件来完成,而不会破坏产品的基本核心。 Open API – JSON and JavaScript APIs to enable integration from any Web platform 开放 API – JSON 和 JavaScript API,支持从任何 Web 平台进行集成 | ✔️ | ✔️ |
Plugin architecture 插件架构 Supports a dynamic plugin architecture to achieve extensibility and adaptability of product features. Any kind of integration that is not yet available as a standard feature can be accomplished by developing a plugin, without breaking the fundamental core of the product. (Plugin Comparison Between Editions) 支持动态插件架构,实现产品功能的扩展性和适应性。任何尚未作为标准功能提供的集成都可以通过开发插件来完成,而不会破坏产品的基本核心。 (版本间插件对比) | ✔️ | ✔️ |
User management 用户管理 Manage users, groups and organizational charts (organizations, departments and reporting structure) 管理用户、组和组织结构图(组织、部门和报告结构) Integration to external directory systems can be achieved through plugins 可以通过插件实现与外部目录系统的集成 | ✔️ | ✔️ |
Platform 平台 Platform independent – can be installed on any operating system that has Java support, which includes Linux, Solaris and Windows. 独立于平台 – 可以安装在任何支持 Java 的操作系统上,包括 Linux、Solaris 和 Windows。 Database independent – Various databases supported e.g. MySQL, Oracle 10g and Microsoft SQL Server. 独立于数据库 – 支持各种数据库,例如MySQL、Oracle 10g 和 Microsoft SQL Server。 Developed in Java using the latest proven technologies e.g. Spring, Hibernate and Maven, but the open JSON and JavaScript API allows for easy integration with any web-based technology e.g. PHP, .NET 使用最新的经过验证的技术(例如,Java)开发。 Spring、Hibernate 和 Maven,但开放的 JSON 和 JavaScript API 允许轻松与任何基于 Web 的技术集成,例如PHP、.NET | ✔️ | ✔️ |
Enterprise Mobility 企业移动性 Join the mobile revolution and enable your customers, employees and users to access your apps on the go. 加入移动革命,让您的客户、员工和用户能够随时随地访问您的应用程序。 Apps are automatically optimized for mobile devices (smartphones and tablets), with a mobile user experience including look and feel, page transitions, some offline capabilities, etc. 应用程序会针对移动设备(智能手机和平板电脑)自动优化,提供移动用户体验,包括外观和感觉、页面转换、一些离线功能等。 | ✔️ | ✔️ |
Enterprise Form Features 企业形态特点 Additional form elements for enhanced form functionality – Selection of multiple records via lookup, and a more flexible grid that are linked to popup forms for data entry. 用于增强表单功能的附加表单元素 – 通过查找选择多个记录,以及链接到弹出表单以进行数据输入的更灵活的网格。 Support for signatures 支持签名 Excel-like functionality with the spreadsheet element 具有电子表格元素的类似 Excel 的功能 Improved user experience with AJAX support in multi-paged forms 通过多页表单中的 AJAX 支持改进了用户体验 | ❌ | ✔️ |
Enterprise Data Management Features 企业数据管理功能 More flexible tabular data lists or reports – JDBC data binder provides support for custom SQL to external databases. 更灵活的表格数据列表或报告 - JDBC 数据绑定器为外部数据库的自定义 SQL 提供支持。 Simplified CRUD support – Enhanced element that simplifies the creation of CRUD (create,read,update,delete) functionality. 简化的 CRUD 支持 – 简化 CRUD(创建、读取、更新、删除)功能创建的增强元素。 More relevant task inbox – Data list inbox provides support for displaying workflow tasks together with form data for clearer presentation to end-users 更相关的任务收件箱 – 数据列表收件箱支持显示工作流程任务和表单数据,以便更清晰地呈现给最终用户 | ❌ | ✔️ |
Enterprise Process Features 企业流程特点 Enhanced deadline functionality – Support for calculation of process deadlines and service levels based on actual business days 增强的截止日期功能 – 支持根据实际工作日计算流程截止日期和服务水平 Service Level Reports – Built-in support for displaying process service level (SLA) information. 服务级别报告 – 内置支持显示流程服务级别 (SLA) 信息。 | ❌ | ✔️ |
Enterprise UI Features 企业用户界面功能 Dashboard capabilities 仪表板功能 Calendar view 日历视图 Additional end-user interface (userview) themes 其他最终用户界面(用户视图)主题 | ❌ | ✔️ |
Enterprise Reporting 企业报告 Support more complex reporting requirements through integration with the popular open source reporting platform JasperReports. 通过与流行的开源报告平台 JasperReports 集成,支持更复杂的报告要求。 | ❌ | ✔️ |
Enterprise App Generation 企业应用程序生成 Greatly reduce the time to market for your apps. 大大缩短应用程序的上市时间。 The App Generator greatly accelerates the building of an app by allowing administrators to rapidly generate a base app directly from a form. It can generate lists, CRUD (create-read-update-delete) pages and an approval process. 应用程序生成器允许管理员直接从表单快速生成基本应用程序,从而大大加快了应用程序的构建速度。它可以生成列表、CRUD(创建-读取-更新-删除)页面和审批流程。 | ❌ | ✔️ |
Enterprise Performance 企业绩效 Performance Analyzer – analyze the performance of apps and to identify possible bottlenecks. 性能分析器 – 分析应用程序的性能并识别可能的瓶颈。 Improved performance with userview caching. 通过用户视图缓存提高了性能。 Database connection monitoring and leak detection. 数据库连接监控和泄漏检测。 | ❌ | ✔️ |
Enhanced Security 增强安全性 Password Policies 密码策略 Enhanced Password Encryption 增强的密码加密 Credentials Management 凭证管理 Support for simultaneous internal and external Directory Managers 支持同时内部和外部目录管理器 Enhanced security with Multi-Factor Authentication (MFA) 通过多重身份验证 (MFA) 增强安全性 | ❌ | ✔️ |
Enterprise Support 企业支持 Peace-of-mind with full support from the Joget teamJoget 团队的全力支持让您高枕无忧More Details 更多详情 | ❌ | ✔️ |
Enterprise Directory Management 企业名录管理 User, group and organization integration to LDAP or Active Directory servers 用户、组和组织集成到 LDAP 或 Active Directory 服务器 | ❌ | ✔️ |
License 执照 | Open Source (GPL)开源(GPL) | Commercial License, 3 users free商业许可证,3个用户免费 |