Mule on Tomcat

In this post I will show you how it is possible to deploy Mule on a web container such as Tomcat because running Mule as a standalone service is often the more popular and recommended approach. Both standalone and web based mule applications have their benefits and drawbacks but which one to use is mainly dependent on the project requirements…

Using Jetty Server with Junit test

In this post I will show you how to use Jetty server with Junit test case and how to deploy web application using Java program in Junit test. If you already have an idea on how to create a maven project in Eclipse will be great otherwise I will tell you here how to create a maven project in Eclipse.

Deploy Web Application in Jetty Container in Embedded Mode

Introduction This tutorial is all about to deploy a web application in embedded Jetty web container. Therefore, you do not need to deploy it manually into the external web server. Sometimes, you need to deploy the application in embedded mode, because during unit testing or integration testing you need to deploy the web application manually every time before you start…

Integrate Spring 3, Struts 2 and Hibernate 3

Introduction This tutorial shows how to integrate Spring 3, Struts 2 and Hibernate 3 in the following example. In this example, Struts 2 will be used as a web framework and Spring 3 will be used as a core service. We will use ORM (Object Relational Mapping) framework Hibernate for our persistent layer to interact with database. We are going…