是否可以在不重新启动服务器的情况下定义新类型并将其加载到 Hybris 类型系统中?
Is it possible to define and load new types into the Hybris type system without restarting the server?
假设需要定义一个新的 CMS 组件类型。为此,标准步骤是:
- 将新类型定义为 ${extensionName}-items.xml
- 停止服务器(如果它已启动并且 运行)
- 执行构建以便生成模型和 Jalo 类(针对新类型)并编译 -> 这大约需要 4 分钟
- 重新启动服务器 -> 这大约需要 8 分钟
- 执行"Update Running System"以便数据库知道新定义的类型。
上述步骤需要很多时间。
是否可以在不重启服务器的情况下定义新类型并将其加载到 Hybris 类型系统中以加快开发过程?
Is it possible to define and load new types into the Hybris type
system without restarting the server?
答案是肯定的,您可以使用 backoffice/hmc 类型定义新的项目类型以便即时使用它。但是系统不会生成所有的类.
Is it possible to define new types and load them into the Hybris type
system without restarting the server in order to speed up the
development process ?
答案是否定的,对于新的项目类型开发,您需要系统生成类来处理业务逻辑,这只有通过您提到的步骤才能实现。
如果您的问题是,我们如何使用 SAP Hybris 加快开发过程?
- 市场上很少有产品可以通过加载所有更改而无需重新启动服务器来提高开发速度,例如 Jrebel, DCEVM, fakereplace 等。Jrebel 是付费的,但您将获得投资回报率。
- 如果你使用的系统有LinuxOS、多核CPU、SSD硬盘、HSQL以外的数据库,你会看到明显的不同。
- 以下是一些技巧和提示
- speed up server start time
- prevent Grunt from being executed
- reducing compile time
- question & answers
这现在可以通过使用自定义 ANT 目标和 JRebel 来实现(并在构建和服务器启动时节省大约 10 分钟)。
请检查以下内容explanation video,其中描述了如何在不重新启动服务器的情况下定义新类型并将其加载到 Hybris 类型系统中使用 JRebel。
请同时检查此 documentation。
假设需要定义一个新的 CMS 组件类型。为此,标准步骤是:
- 将新类型定义为 ${extensionName}-items.xml
- 停止服务器(如果它已启动并且 运行)
- 执行构建以便生成模型和 Jalo 类(针对新类型)并编译 -> 这大约需要 4 分钟
- 重新启动服务器 -> 这大约需要 8 分钟
- 执行"Update Running System"以便数据库知道新定义的类型。
上述步骤需要很多时间。
是否可以在不重启服务器的情况下定义新类型并将其加载到 Hybris 类型系统中以加快开发过程?
Is it possible to define and load new types into the Hybris type system without restarting the server?
答案是肯定的,您可以使用 backoffice/hmc 类型定义新的项目类型以便即时使用它。但是系统不会生成所有的类.
Is it possible to define new types and load them into the Hybris type system without restarting the server in order to speed up the development process ?
答案是否定的,对于新的项目类型开发,您需要系统生成类来处理业务逻辑,这只有通过您提到的步骤才能实现。
如果您的问题是,我们如何使用 SAP Hybris 加快开发过程?
- 市场上很少有产品可以通过加载所有更改而无需重新启动服务器来提高开发速度,例如 Jrebel, DCEVM, fakereplace 等。Jrebel 是付费的,但您将获得投资回报率。
- 如果你使用的系统有LinuxOS、多核CPU、SSD硬盘、HSQL以外的数据库,你会看到明显的不同。
- 以下是一些技巧和提示
- speed up server start time
- prevent Grunt from being executed
- reducing compile time
- question & answers
这现在可以通过使用自定义 ANT 目标和 JRebel 来实现(并在构建和服务器启动时节省大约 10 分钟)。
请检查以下内容explanation video,其中描述了如何在不重新启动服务器的情况下定义新类型并将其加载到 Hybris 类型系统中使用 JRebel。
请同时检查此 documentation。