Hi, after one week fighting with the same I decided to ask

I am implementig a web service class and a client in java, using tomcat and
axis and I have to create a GUI. When I start the application a  window has
to appear and  every time the client calls a method in the service class a
new message on the window must be displyed. The problem is that every time I
call a method in the service class and I add a new message to the List of
messages  nothing appears on the window.

I have the class Window to initialize the GUI and I call (locally) an
instance  of this class from my service class. The problem, or at least
what I think the problem is, is that every time I make a call the service
container unloads my class and nothing (related to my window) is
initiallized. The idea is to run my window only one time, when tomcat
starts. To do that I should specify somehow on the web.xml file to do this:
write a jsp class, put it somewhere and call the initialization of the
window..

Any more concrete suguestion or solutions?

Thanks in advance,

Alicia

Reply via email to