As you've likely noticed, within the container chapters we have not dug much into code examples. The goal here was to explain how to work with the containers and their role in your test cases. As noted, when looking at the overall testing strategy versus the deployment methodologies, you'll see that managed and remote containers have much more capability than the embedded containers – at least in some cases. The embedded Tomcat, TomEE, and GlassFish versions support the same capabilities in all three setups.
Next, we'll review how testing works with Arquillian. Now that we know how to work with our containers, we can start to deploy test cases to the container and watch them execute, and luckily also pass as we run them.