Difference between portal-ext.properties, Hook-portal.properties and Ext-portal-ext.properties
n 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 override 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.
n properties in Hook: When we are implementing hook through Eclipse it will create
portal.properties file automatically. Which allow you to use 50 to 60
properties and those properties will override the existing
WEB-INF/lib/portal-impl.jar -> portal.properties file at run time.
n 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).
Unlike other plugIn, we need to restart the server for every modification. That
intern leads to poor performance.
No comments:
Post a Comment