This is a
struts project where a user logs in, and inputs data on a set of pages. For various reasons, incomplete data cannot go to the main database.
To handle the functionality of the user pausing and resuming per his convenience, these are the solutions under consideration:
1. The data can be put into a temporary table, and later pulled out to repopulate the form beans. The problem is that the number of fields is very high, and there would be a lot of xml mappings required to convert the data back and forth.
2. Or we can serialize entire form beans - except that this would be in binary format, and if need be, there wont be any easy way of just looking at/understanding the data.
So, what I need is this:
# Is there any other better way of doing this (like maybe a specific
pattern that I need to learn about)
# Are there any other pros-cons of soln 1 & 2 that I am missing.
Looking forward to hearing your opinions on this. Thanks.
[ February 20, 2004: Message edited by: Anu Ram ]