|
Re: Remote Iterator: msg#00033java.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? Have you looked at what the Jini community is investigating for the next update? There is an iterator being designed into the Javaspaces API. ----- gregg@xxxxxxxxxxxx (Cyte Technologies Inc) =========================================================================== 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: | Remote Iterator, Robert DiFalco |
|---|---|
| Next by Date: | Re: Remote Iterator, Robert DiFalco |
| Previous by Thread: | Remote Iterator, Robert DiFalco |
| Next by Thread: | Re: Remote Iterator, Robert DiFalco |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |