Testing and Automated Deployment BEA User's Group October 2006

811 views
744 views

Published on

A discussion of best practices when developing a automated build, testing and depl0yment strategy

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
811
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Testing and Automated Deployment BEA User's Group October 2006

  1. 1. Testing and Automated Deployment Strategies Scott Ryan October 2006 BEA User ’ s Group
  2. 2. Agenda <ul><ul><li>Maven 2 </li></ul></ul><ul><ul><ul><li>Automated Deployment </li></ul></ul></ul><ul><ul><ul><li>Testing </li></ul></ul></ul><ul><ul><li>Cargo </li></ul></ul><ul><ul><ul><li>Automated Deployment </li></ul></ul></ul><ul><ul><ul><li>Testing </li></ul></ul></ul><ul><ul><li>WTFIGO </li></ul></ul><ul><ul><li>Apache Con </li></ul></ul>
  3. 3. Maven Lifecycle <ul><ul><li>Validate </li></ul></ul><ul><ul><li>Compile </li></ul></ul><ul><ul><li>Test </li></ul></ul><ul><ul><li>Package </li></ul></ul><ul><ul><li>Integration Test </li></ul></ul><ul><ul><li>Verify </li></ul></ul><ul><ul><li>Install </li></ul></ul><ul><ul><li>Deploy </li></ul></ul>
  4. 4. 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>
  5. 5. Profiles <ul><ul><li>Profiles can be used to control execution </li></ul></ul><ul><ul><ul><li>Set as default </li></ul></ul></ul><ul><ul><ul><ul><li><activeProfiles> </li></ul></ul></ul></ul><ul><ul><ul><ul><li><activeProfile>profile-1</activeProfile> </li></ul></ul></ul></ul><ul><ul><ul><ul><li></activeProfiles> </li></ul></ul></ul></ul><ul><ul><ul><li>Command line </li></ul></ul></ul><ul><ul><ul><ul><li>-P profile1,profile2 </li></ul></ul></ul></ul><ul><ul><ul><li>Activation sections </li></ul></ul></ul>
  6. 6. Profile Activation <profile> <activation> <jdk>1.4</jdk> </activation> </profile> <activation> <property> <name>environment</name> <value>test</value> </property> </activation>
  7. 7. Demo <ul><ul><li>Deploy, Start, Stop, Re-deploy, Un-deploy </li></ul></ul>
  8. 8. Cargo
  9. 9. Cargo Configurations <ul><ul><li>Custom Configurations </li></ul></ul><ul><ul><li>Local Configuration </li></ul></ul><ul><ul><ul><li>Existing </li></ul></ul></ul><ul><ul><ul><li>Standalone </li></ul></ul></ul><ul><ul><li>Runtime Configuration </li></ul></ul>
  10. 10. Cargo Containers <ul><ul><li>Local Container </li></ul></ul><ul><ul><ul><li>Embedded Container </li></ul></ul></ul><ul><ul><ul><li>Installed Container </li></ul></ul></ul><ul><ul><li>Remote Container </li></ul></ul><ul><ul><li>Actions </li></ul></ul><ul><ul><ul><li>Create </li></ul></ul></ul><ul><ul><ul><li>Start </li></ul></ul></ul><ul><ul><ul><li>Stop </li></ul></ul></ul>
  11. 11. Cargo Deployments <ul><ul><li>Local Deployer </li></ul></ul><ul><ul><li>Remote Deployer </li></ul></ul><ul><ul><li>Types </li></ul></ul><ul><ul><ul><li>Hot Deployment </li></ul></ul></ul><ul><ul><ul><li>JSR-88 Deployment </li></ul></ul></ul><ul><ul><ul><li>Hot Deployment </li></ul></ul></ul>
  12. 12. Interfaces <ul><ul><li>Java </li></ul></ul><ul><ul><li>Maven 1 </li></ul></ul><ul><ul><li>Maven 2 </li></ul></ul><ul><ul><li>Ant </li></ul></ul>
  13. 13. Demo
  14. 14. WTFIGO
  15. 15. Features <ul><ul><li>Jar Discovery </li></ul></ul><ul><ul><li>Hibernate Configurations </li></ul></ul><ul><ul><li>Spring Configurations </li></ul></ul><ul><ul><li>Log Management </li></ul></ul><ul><ul><li>Cache Management </li></ul></ul><ul><ul><li>Session and Request information </li></ul></ul>
  16. 16. Demo
  17. 17. ApacheCon <ul><ul><li>Web Application Architectures </li></ul></ul><ul><ul><li>Tuscany </li></ul></ul><ul><ul><li>Synapse </li></ul></ul><ul><ul><li>OpenJPA </li></ul></ul>
  18. 18. Archiva <ul><ul><li>Repository Management </li></ul></ul><ul><ul><li>Proxy for Repositories </li></ul></ul><ul><ul><li>Reporting </li></ul></ul><ul><ul><li>Dependency Management </li></ul></ul><ul><ul><li>Security </li></ul></ul><ul><ul><li>Maestro </li></ul></ul><ul><ul><ul><li>Continuum, Release Manager, Archiva </li></ul></ul></ul>

×