anchor.diff:  ## Build and Deploy Java EE 7 Application
   
  -https://github.com/javaee-samples/javaee7-simple-sample[Java EE 7 Simple Sample] is a trivial Java EE 7 sample application.
  +Now that you learned a lot about images, containers and how to link them together, it is about time to learn about the different deployment options. Let's start over with the Java EE 7 sample applications again.
  +https://github.com/javaee-samples/javaee7-simple-sample[Java EE 7 Simple Sample] is a trivial Java EE 7 sample application and a perfect way to start.
   
   [[Build_Application]]
   ### Build Application
  +We're going to build the application first.
   
   . Clone the repo:
   
  
positive.code: ### Start Application Server
  
  
  Create a folder to place the deployments and git it write access
  
  [source, text]
  ----
  
negative.code: 
  Lets use the CLI to deploy javaee7-simple-sample to WildFly running in the container.
  
  . CLI needs to be locally installed and comes as part of WildFly. This should be available in the previously downloaded WildFly. Unzip into a folder of your choice (e.g. `/Users/<USER>/tools/`). This will create `wildfly-9.0.0.Final` directory here. This folder is referred to $WIDLFY_HOME from here on. Make sure to add the `/Users/<USER>/tools/wildfly-9.0.0.Final/bin` to your $PATH.
  +
  . Run the "`wildfly-management`" image with fixed port mapping as explained in <<Management_Fixed_Port_Mapping>>.
  . Run the `jboss-cli` command and connect to the WildFly instance.
  