This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Methods to start Tomcat from an application  RSS feed

Pat Metheny
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?

Method #1:

Method #2:

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!