Hi kristian,

thank you for your explanation but still the topic is not clear for me. As
far I understand from your answer, I have to run the Frame fom my Client.
ok, I did it. Then, each time I call a service  I try to add a new message
on my window, both from the service class and form the client class, and I
still have th same problem: or nothing apperas or i have to create a new
Frame for each message (for each call)

Any clue?

thanks in advance

Alicia

On 3/8/07, Kristian Rink <[EMAIL PROTECTED]> wrote:


Alicia;

first off; thanks for your explanation and pointing things out a little
more. :) I think I slightly understand the structure of your
application but honestly I doubt it will work out this way:


["Alicia Sánchez-Mora" <[EMAIL PROTECTED]> @ Thu, 8 Mar 2007
16:24:33 +0100]

> public class ListItems  {
>   List listOptions;
>   private static ListItems instance;
>   private Frame f;

This is java.awt.Frame, isn't it?

In my opinion (list people feel free to correct me if I'm all too wrong
here), the issue with your application is that you try to instantiate
and access the java.awt.Frame object from within code running on your
server but you actually want it to appear and work on your client. This
is not going to work out. To do so, you need to have the client code
(containing the Frame stuff) run locally on the client - the fact that
some window does actually appear is likely due to that server and
client runs on the same machine in your setup.

To achieve the desired effect, you should really try separating the web
service and the window connecting to it into two different, separate
applications (a webapp hosting the service, and a desktop application
or an applet running the window/frame). Then, you need to implement
logic in your client to remotely call the web service and possibly get
some meaningful data from it.

Don't know if this really is a helpful answer, feel free to ask if you
need more assistance. :)

Cheers,
Kristian

--
Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/
jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)

---------------------------------------------------------------------
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