|
Remote Iterator: msg#00032java.sun.rmi
Can anyone point me to a good example of a paged distributed iterator for iterating through collections? I didn't want to reinvent the wheel. I'm using J2SE and am looking for the following features: 1. Can buffer/page items on the client 2. Does not keep a connection active for the length of iteration; connection is only active the time required to get the next page from the server. Calls to #next and #hasNext do not connect to the server at all. This is for a highly scalable system so we want to keep connection times to a minimum to decrease the chances of having too many concurrently open connections. I would just send the whole collection across in a single call but that would keep the connection active for too long. Thoughts? R. =========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff RMI-USERS". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: java.rmi.ConnectIOException: error during JRMP connection establishment;, César Fernando Henriques |
|---|---|
| Next by Date: | Re: Remote Iterator, Gregg G. Wonderly |
| Previous by Thread: | J2ME RMI and iPAQ, Simon Guertin |
| Next by Thread: | Re: Remote Iterator, Gregg G. Wonderly |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |