Hi Carlo,
I'm sure you post the mail to a wrong mailing list.
Maybe you are planing to ask the question in apache wicket user mailing
list.
Willem
Carlo Camerino wrote:
Hi,
I have this requirement in which I need to save a state of execution.
Here is my scenario:
I need to get information coming from a remote computer.
I am using a java Socket object in order to connect to this computer.
Each time a reply returns I go back to the user interface screen and the
thread is cut.
For my requirement, however... I need to go back to that state of execution
btw, i am implementing an application using apache wicket as the user
interface.
normal
Open Socket --> Send Messge --> Wait For Reply --> Close Socket --> return
to ui screen
my scenario
Open Socket --> Send Message --> Wait For Reply --> Store State Of Execution
--> Go Back to UI Screen --> get inputs --> Get Back Stdate Of Execution -->
Send Message -- Wait For Reply --> Close Socket --> Return to ui screen.
Is there an enterprise integration pattern for this? One in which I can
store an execution state and then go back to in a future time?
btw, i can't close the socket, have to keep it open.
thanks
carlo