Professional Documents
Culture Documents
Heiko Lemke
Sun Software Practice, Germany
Horizons EMEA
1315 O c t o b e r 2 0 0 8
Agenda
Challenges with previous Releases Configuration Overview Environment Object Application Configuration Object Preparing the Runtime Environment Using LDAP
3
Challenges
with previous Releases
Sun Confidential
Configuration Challenges
with Rel. 5.x
Change in application configuration, regardless of how minor, requiring re-generation of the entire application
> Environment migration: DEV -> TEST -> PROD > System maintenance
Externalizing configuration parameters to LDAP mostly not sufficient as LDAP connectivity information is still stored within the application
Configuration Challenges
with Rel. 5.x (Cont'd)
System administrator requiring access and familiarity with CAPS development environment (Enterprise Designer) to manage system security and connectivity.
> Access to Enterprise Designer required > Learning curve for casual user
Configuration Overview
Sun Confidential
Configuration Properties
Properties are defined / stored in various locations
> Embedded in Application (EAR, SA) > Externalized from Application
Embedded
> Connectivity Map, Environment > JCA Activation, WSDL
Externalized
> LDAP, Application Server, BC > Can override embedded configurations by using
EAR
env1/oraext1 a&&vvb
10
Configuration Objects
Connectivity data stored in Sun Application Server Shared between applications Environment Object
> For Service Assemblies and EARs > Overrides connectivity information upon deployment > Can be manipulated as properties files or Admin Console
Environment Object
Sun Confidential
configuration
13
Sun Confidential
HTTP BC
Define Application Configuration Objects and Application Variables
15
HTTP Endpoint
Specify the ACO in the ConfigExtension of the HTTP endpoint
16
Sun Confidential
Deploying Applications
Steps for first time application deployment
> Run ASADMIN CLI on deployable to extract
configuration parameters into properties files > Edit the properties files > Import the properties files into the App Server > Deploy the application deployable
changed
18
A separate configuration file will be created for every external systems being used by the application deployable.
19
Any modified password values (in plain text) will be re-encrypted Configuration files can be used to quickly replicate application config settings in multiple app servers
21
22
23
Using LDAP
Sun Confidential
25
Thank You
Heiko Lemke
heiko.lemke@sun.com
27