Trimming down Liferay: Removing Hibernate and other unused applications

与世无争的帅哥 提交于 2019-12-10 21:56:19

问题


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.


回答1:


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).



来源:https://stackoverflow.com/questions/11842915/trimming-down-liferay-removing-hibernate-and-other-unused-applications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!