Greg Luck's Blog

I am sick of simple. Things should be great!

Browsing Posts published in April, 2010

This year, on Friday 24 September, straight after JavaOne, Terracotta is hosting a one day conference focused on Scale in San Francisco. Called @Scale it will be all about learning from experts on how to scale enterprise apps in traditional deployment and in several cloud environments.

We don’t yet have session details but he have got a killer list of speakers. They include:

  • Greg Luck, CTO of Ehcache
  • Ari Zilka, CTO/Founder of Terracotta
  • Simon Crosby, CTO of the Data Center and Cloud Division of Citrix
  • Jeff Barr, Web Services Evangelist of Amazon.com
  • Dr. Rich Wolski, CTO/Founder of Eucalyptus
  • Adrian Cole, Founder of jclouds.org
  • James House, Founder of Quartz
  • Dan Querna, Founder of Cloudkick
  • Jos Boumans, Engineering Manager for Ubuntu Server of Canonical
  • Darin Pope, Principal Consultant of PlanetPope, Inc.

This is a unique opportunity to get all these speakers under one roof for an intense 8 hours of deep immersion in Scale.

The cost is only USD200 but there is an early bird special of USD150 which is available now.

Register for @Scale

Having servers at development time is pain. You need tooling to make it smooth. Fortunately, Terracotta has the tc-maven plugin for this purpose.

Integration Testing with Maven

To start and stop the server pre and post integration tests, add the following to your pom.xml:

<pluginRepositories> <pluginRepository> <id>terracotta-snapshots</id> <url>http://www.terracotta.org/download/reflector/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories>   <plugin> <groupId>org.terracotta.maven.plugins</groupId> <artifactId>tc-maven-plugin</artifactId> <version>1.5.1</version> <executions> <execution> <id>run-integration</id> <phase>pre-integration-test</phase> <goals> <goal>run-integration</goal> </goals> </execution> <execution> <id>terminate-integration</id> <phase>post-integration-test</phase> <goals> <goal>terminate-integration</goal> </goals> </execution> </executions> </plugin>
 

Interactive Use

Interactively, with the pom configured, it is just mvn tc:start to start and mvn tc:stop to stop