On the Jython homepage it said that the mailing list wants to know what I
want to do with Jython etc.
Well, here's my story which ends with "Can this be done with Jython better
than other tools?"
I can build a HTML page with a form in which one can submit text in a
textarea and send off the request to an application server that does
something with the data and returns back to the form.
And on the same page, or framed, I have a little box that displays some text
that is sucked in from the application server.
One read window and one write window.
I want it to work kind of like a chat box. But with webpages PUSH request
aren't supported so the only solution to seek for new messages often is to
auto-reload the page.
Constant auto-reloading will be a pain in the back and the page will
generally be slow.
The application server I have in mind is Zope which is built on Python, and
that's where I expect the "talking" to be done.
The end user application is a chat window, and I bet that there are lots of
existing free built GUIs for chatting on the web that can be used.
So, I could take some chat application from the net, but my project is big
enough for spending some time on coding and not just connecting chords
together.
I don't know any Java at all (yet :), but I know Python and that's what I
want to use as much as possible if possible.
So, I want to create a little chatwindow JavaApplet that is downloaded once
to the visitor and then, from there can make constant requests to an
application server back and forth without having to reload the page.
Can this be done with Jython better than other tools?
Best regards, Peter
|