A J2EE application uses System.exit(), which also shuts down its container.