Where can I find the thread main?

2007-10-09 Thread Jaime Almeida
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

Re: Where can I find the thread main?

2007-10-09 Thread Pierre Goupil
Hello, If I understand you well, you are looking for a way of telling Tomcat where your main() METHOD is, right? But you don't need it : http://www.stardeveloper.com/articles/display.html?article=2001061901page=1 HTH, Pierre -- Deux choses ne se peuvent cacher : l'ivresse et l'amour.

Re: Where can I find the thread main?

2007-10-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jaime, Jaime Almeida wrote: 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. Er, is this a helper class or

Re: Where can I find the thread main?

2007-10-09 Thread Joshua Fielek
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

RE: Where can I find the thread main?

2007-10-09 Thread Caldarale, Charles R
From: Jaime Almeida [mailto:[EMAIL PROTECTED] Subject: Where can I find the thread main? Yesterday you've told me that all java applications need one thread main. Not need - have. I have one main class - BD.java, where I define all the functions needed by the web application to work