Further to an earlier post, I rewrote my post trying to me more accurate in my question.
Here is my problem:
I am trying to implement the value-list handler design pattern using the session facade strategy. In the pattern as it is described here
(http://java.sun.com/blueprints/corej2eepatterns/Patterns/ValueListHandler.html) the client accesses the value-list handler AND the iterator directly.
As I chose the session-facade strategy having my value-list handler as a stateful session ejb, I don't know how the client is going to access the iterator. I see only one option: Having the client access the iterator through the ejb value-list handler. This requires adding new methods to the ejb.
Is this the correct way of doing it? Is there another way of doing this?
Thanks in advance,
ValueListHandler implements ValueListIterator. and you can use it's function to traverse the iterator or can directly typecast your bean to this interface. and you don't need to specify any methods in your ejb according to the example shown in
I hope this helps