Very briefly, the Java Main thread for Tomcat is created when Tomcat is launched. Tomcat creates threads that then execute your servlets and associated code.

I'm certain that other folks will point you at more complete documentation on the way Tomcat works within the JVM.

Thanks,
J

Jaime Almeida wrote:
Hello.
Yesterday you've told me that all java applications need one thread main.
I have one main class - BD.java, where I define all the functions needed by the web application to work. So, I probabily have some problem with the link of my project to that main class, isn't it?
How can I define it?
Best regards,
Jaime Almeida.
--------------------------------------------
IPLNet WebMail http://www.net.ipl.pt/mail
--------------------------------------------

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Joshua J. Fielek
Sr. Software Engineer
Centric CRM
223 East City Hall Ave., Suite 212
Norfolk, VA 23510
Phone  : (757) 627-3002x6656
Mobile : (757) 754-4462
Fax    : (757) 627-8773
Email  : [EMAIL PROTECTED]
http://www.centriccrm.com


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to