Is GWT a single-threaded environment? Then how to solve the problem "read and write files concurrently"?

3 views
Skip to first unread message

xumiao

unread,
Apr 23, 2007, 4:28:46 AM4/23/07
to Google Web Toolkit
Dear all, I wonder if GWT is a SINGLE-THREAD environment since I
cannot find the class "Thread" here.
If so, how can I solve the following problem :

After click a button, all the resourcs managed by CVS will be
checked out and the information printed on STDOUT will be save into a
file named "log.txt"; at the same time, this log file will be read so
that the content can be displayed in a UI control such as TextArea.
Because the process of "checkout" usually lasts several minutes, and
I don't like users wait too long untill the checkout process finished,
I want to read the file simultaneously when it's being written. Then
how can I solve it?

bch...@gmail.com

unread,
Apr 23, 2007, 9:36:33 AM4/23/07
to Google Web Toolkit
Greetings Xumiao.

GWT is a client side technology. It cannot access CVS or any other
resources directly.

You will need to connect to CVS on the server end, and then use GWT to
connect to the server.

mithrandir

unread,
Apr 23, 2007, 10:31:13 AM4/23/07
to Google Web Toolkit

GWTs Javacode runs as javaScript on the client and javascript is
single threaded

Reply all
Reply to author
Forward
0 new messages