This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hello all, My question is related to the methods used to start Tomcat from inside the application. So far I've seen that method #1 (see below) is widely used. I've been thinking to use a simpler method for doing this so I wrote methdod #2 (see below). Is the overhead (Class.forName(), getMethod(), invoke()) from method #1 really necessary ?