1) as developper you configure
your (dev) properties in the Connectivity Map (CM) and the Environment External
Application (EA) inbound and outbound properties;
2) then you extract the
configuration into a file :asadmin extract-caps-application-configuration myear.ear
3) and upload this file to your
testing/prod Glassfish: asadmin import-caps-configuration --host %HOST% --port %PORT%
--user admin --passwordfile ...\passwordfile caps-config
4) in Glassfish\Common
Task\CAPS\Env and CM Override you adjust the properties according to the
environment! (and restart the ear)
5) enjoy JCAPS efficiency [optional]
No comments:
Post a Comment