RE: Doubt on lifecycle of a class in "shared" folder

2008-07-18 Thread java_is_everything
So, it means my code and "intentions" are alright, it's GWT that seems the culprit, since I have not touched the default conf/properties file. Regards Ajay Garg Caldarale, Charles R wrote: > > > > What, pray tell, is a "static instance" in Java terminology? > > If the class file of interes

Re: Doubt on lifecycle of a class in "shared" folder

2008-07-17 Thread java_is_everything
webapp1 sets the list size to 1. Now when Sharer.getListForOthers() from webapp1, "Size is 1", while when Sharer.getListForOthers() from webapp2, it shows "Problem !!". Any light ?/ Ajay Garg Mikolaj Rydzewski-2 wrote: > > java_is_everything wrote:

Re: Doubt on lifecycle of a class in "shared" folder

2008-07-17 Thread java_is_everything
/lib/*.jar of any of your web applications. Those take > precedence over shared or common classes. > > See > http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html > for details. > > > 2008/7/17 java_is_everything <[EMAIL PROTECTED]>: >> >> I am sorr

Re: Doubt on lifecycle of a class in "shared" folder

2008-07-16 Thread java_is_everything
I am sorry. The methods setA() and getA() are static, Rest everything remains same. Regards Ajay Garg java_is_everything wrote: > > Hi all. > > I have placed two applications in the webapps folder, and calling a class, > say 'x.java' placed in tomcat's s

Doubt on lifecycle of a class in "shared" folder

2008-07-16 Thread java_is_everything
Hi all. I have placed two applications in the webapps folder, and calling a class, say 'x.java' placed in tomcat's shared folder. x.java is of the following config : public class