Thursday, 23 February 2012

Difference between portal-ext.properties, Hook-portal.properties and Ext-portal-ext.properties

portal-ext.properties: It is created manually by the developer and it is duplicate of portal.properties of WEB-INF/lib folder. portal.properties is copied and renamed it to portal-ext.properties and placed in WEB-INF/classes folder of tomcat directory. Only reason is, it is not recommended to do the modifications directly on portal.properties. Here, until and unless we maintan the structure, it will not work. If we need to over wirte the property, every time we need to extract the portal-impl.jar and copy from portal.properties, also need to start the server for each and every modification. It leads to performance issues and processors time increases.


properties in Hook : When we are implementing hook through Eclipse it will create portal.properties file. Which allow you to use 50 to 60 properties and those properties will be override the existing WebInf/lib/portal-impl.jar -> portal.properties file at run time.


properties in Ext : Ext is another powerful plug-in which comes with portal-ext.properties by default. If we write any properties in that , it will be override the existing portal-ext.properties file(WEB-INF/classes/portal-
ext.properties).

2 comments: