Page Iterator

Hi!

I've got a problem to develop a page iterator in my web app.

I use with J2EE the Strut framework of Apache. My problem is the following:

I call a session EJB which search record and put it in a list. This list is recorded in my remote interface. I would like to create a method in this remote to load a part of my list in my servlet.

Is it possible?

Is it clear?

Thx

[421 byte] By [arnouf] at [2007-9-27 4:28:53]
# 1
Could you describe the problem in more detail. Is your question- how do you develop a STRUTS Action to handle pagination for a search result that contains thousands of records?
mkeenan17 at 2007-7-5 13:50:03 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
What about overloading your method like this:Collection getSomeCollection (int startIndex, int endIndex);orCollection getSomeCollection (int startIndex, int numElements);Cheers :)
mr_dronski at 2007-7-5 13:50:03 > top of Java-index,Other Topics,Patterns & OO Design...