![Page 1: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/1.jpg)
Testing and Automated Deployment Strategies
Scott RyanOctober 2006
BEA User’s Group
![Page 2: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/2.jpg)
Agenda
• Maven 2o Automated Deploymento Testing
• Cargoo Automated Deploymento Testing
• WTFIGO• Apache Con
![Page 3: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/3.jpg)
Maven Lifecycle
• Validate• Compile• Test• Package• Integration Test• Verify• Install• Deploy
![Page 4: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/4.jpg)
Plugin Configuration
<plugins><plugin><groupId>org.codehaus.mojo</groupId><artifactId>weblogic-maven-plugin</artifactId><version>2.8.0-SNAPSHOT</version><executions><execution><configuration><adminServerHostName>localhost</adminServerHostName><adminServerPort>7001</adminServerPort><adminServerProtocol>t3</adminServerProtocol><userId>weblogic</userId><password>weblogic</password><targetNames>myserver,anotherserver</targetNames></configuration><goals><goal>deploy</goal> </goals></execution></executions> </plugin></plugins>
![Page 5: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/5.jpg)
Profiles
• Profiles can be used to control executiono Set as default
<activeProfiles> <activeProfile>profile-1</activeProfile> </activeProfiles>
o Command line -P profile1,profile2
o Activation sections
![Page 6: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/6.jpg)
Profile Activation
<profile> <activation> <jdk>1.4</jdk> </activation></profile> <activation> <property> <name>environment</name> <value>test</value> </property></activation>
![Page 7: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/7.jpg)
Demo
• Deploy, Start, Stop, Re-deploy, Un-deploy
![Page 8: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/8.jpg)
Cargo
![Page 9: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/9.jpg)
Cargo Configurations
• Custom Configurations• Local Configuration
o Existingo Standalone
• Runtime Configuration
![Page 10: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/10.jpg)
Cargo Containers
• Local Containero Embedded Containero Installed Container
• Remote Container• Actions
o Createo Starto Stop
![Page 11: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/11.jpg)
Cargo Deployments
• Local Deployer• Remote Deployer• Types
o Hot Deploymento JSR-88 Deploymento Hot Deployment
![Page 12: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/12.jpg)
Interfaces
• Java• Maven 1• Maven 2• Ant
![Page 13: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/13.jpg)
Demo
![Page 14: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/14.jpg)
WTFIGO
![Page 15: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/15.jpg)
Features
• Jar Discovery• Hibernate Configurations• Spring Configurations• Log Management• Cache Management• Session and Request information
![Page 16: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/16.jpg)
Demo
![Page 17: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/17.jpg)
ApacheCon
• Web Application Architectures• Tuscany• Synapse• OpenJPA
![Page 18: Testing and Automated Deployment BEA User's Group October 2006](https://reader036.vdocument.in/reader036/viewer/2022062312/5552f509b4c90584028b4d5b/html5/thumbnails/18.jpg)
Archiva
• Repository Management• Proxy for Repositories• Reporting• Dependency Management• Security• Maestro
o Continuum, Release Manager, Archiva