This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I understand your question to be: how to create an instance of a Java class when Tomcat is started. Tomcat will automatically create instances of servlets that are marked with a web.xml entry like:
see the entry for the default servlet in conf/web.xml for an example. You can have then have the servlet init method create an instance of the class. If that is not what you mean, please explain what this class is for. Bill