simpleapp is the simplest Java EE application that demonstrates MVC design pattern. It includes the following components:
- Model -
com.javaclinic.simpleapp.services.TimeServicestateless session EJB - View -
/WEB-INF/views/time.jsp,/WEB-INF/views/error.jsp - Controller -
com.javaclinic.simpleapp.web.TimeServletservlet
You can build/package the application with Maven:
mvn clean package
This will build a new WAR archive file, e.g. target/simpleapp.war.
You can deploy/redeploy/undeploy directly to the local JBoss AS7/EAP6 instance:
mvn jboss-as:deploymvn jboss-as:redeploymvn jboss-as:undeploy
- Clean up documentation.