修剪Liferay:删除休眠和其他未使用的应用程序 [英] Trimming down Liferay: Removing Hibernate and other unused applications

查看:123
本文介绍了修剪Liferay:删除休眠和其他未使用的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些与Liferay与hibernate交互的问题。我们出于某种原因想要从应用程序中消除此层。因此,下面的问题:

我知道Liferay与Hibernate打包在一起,通过使用Hibernate API可以简化对Liferay数据库中数据的访问。


  1. 它在多大程度上取决于它?

  2. 是否可以拔掉电源?
  3. 为此需要多少开发工作?

  4. liferay使用其内部数据库的目的是什么?

主要我们基本上想要删除几乎所有我们用途不需要的东西。



PS:找不到合适的链接上面,因此在这里。

解决方案


它在多大程度上取决于它?


尽可能充分。因为Liferay中的所有portlet都使用hibernate在内部与数据库进行通信。


是否可以拔掉电源?


不可以。不可能。


需要多少开发工作?


见上面的答案。 :-)。但是,如果你认为你可以通过自己的方式从源头上构建门户网站,那么这将是一个维护头痛,你会怎么做升级......?


Liferay使用其内部数据库的目的是什么?

数据库存储有关门户的所有信息,它的OOTB portlet:像用户,角色,权限,PortletPreferences& PortalPreferences等...



我建议特别注意@ fvu的评论(第一个)。


I have some questions related to interaction of Liferay with hibernate. We for some reasons want to eliminate this layer from the application. Hence the below questions:

I know that Liferay is packaged with Hibernate and the access to data in Liferay database is simplified by using the Hibernate API.

  1. To what extent does it depend on it?
  2. Can it be unplugged?
  3. How much development effort would be required on it?
  4. For what purpose does liferay use its internal database?

Primarily we basically want to remove almost everything that isn't required for our purpose.

P.S.: I couldn't find an appropriate link which answers the above and hence here.

解决方案

To what extent does it depend on it?

To the fullest possible extent. Since, all the portlets in liferay use hibernate internally to talk to the database.

Can it be unplugged?

Nope. Not possible.

How much development effort would be required on it?

See above answer. :-). But still if you think you can somehow do it by building the portal yourself from source, that would be a maintenance headache and what would you do about upgrades ...?

For what purpose does liferay use its internal database?

The database stores all the information regarding the portal and its OOTB portlets: like Users, Roles, Permissions, PortletPreferences & PortalPreferences and so on ...

I would suggest give special attention to @fvu's comments (the first one).

这篇关于修剪Liferay:删除休眠和其他未使用的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆