1 package se.citerus.dddsample.interfaces.booking.web; 2 3 import org.springframework.web.context.WebApplicationContext; 4 import org.springframework.web.servlet.DispatcherServlet; 5 6 public class BookingDispatcherServlet extends DispatcherServlet { 7 8 @Override 9 protected WebApplicationContext findWebApplicationContext() { 10 // The booking web application should be standalone, 11 // and not use the main application context as parent. 12 return null; 13 } 14 15 }