http://people.apache.org/~fhanik/tomcat/v6.0.0-gdev6/
Let me know what you think of the programming experience, I wasn't too
stoked about it. Lots of concurrency issues that can pop up
1. svn co http://svn.apache.org/repos/asf/tomcat/sandbox/gdev6x/
2. cd gdev6x
3. echo "base.path=`pwd`/includes" > build.properties
4. export PATH=/path/to/jdk1.5/bin:$PATH
5. export PATH=/path/to/ant1.7/bin:$PATH
6. ant download
7. ant
8. ant -f extras.xml
9. ant -f dist.xml
Filip
On 01/22/2010 02:11 PM, Steffen Heil wrote:
Hi
I'd like to try it.
However I am not accustomed to building tomcat.
Do you have this compiled somewhere?
Best regards,
Steffen
-----Ursprüngliche Nachricht-----
Von: Filip Hanik - Dev Lists [mailto:devli...@hanik.com]
Gesendet: Dienstag, 19. Januar 2010 15:50
An: Tomcat Users List
Betreff: Re: Comet Connection Writeable?
Hi Steffen,
At http://svn.apache.org/viewvc/tomcat/sandbox/gdev6x/
I implemented the feature you are looking for.
Where you would do
CometEvent.interestOps(CometEvent.CometOperation.OP_WRITE);
and you will receive a
CometEvent.EventType.WRITE
When I tried to write sample applications against this, it turned out to
be very complex programming.
You can check out that branch and build it and see if its something we
should still pursue
Filip
On 01/18/2010 09:06 AM, Steffen Heil wrote:
Hi
I am using comet connections for some time now in a server push manner:
Whenever the server needs to inform the client about some event, it sends
a
packet to the client and waits for a reply in the same connection.
As soon, as a READ event is triggered, that reply is read and the next
message can be sent.
Now, this requires a round-trip-time between the client and the server and
is inappropriate for larger amounts of data especially on high latency
connections.
I am seeking for a way to determine (from a comet servlets point of view)
if
a connection is writeable - this is, if output buffers are empty and I can
send additional data.
Note, that sending a huge amount of data at once is not an option, I need
to
send distinct parts...
So here are my questions:
- How can I detect if a connection is writeable?
- That is, how can I detect if the output buffers are empty?
- Is there a way to use comet connection for something like a selector?
Regards,
Steffen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org