Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Partial filling of a web request in a J2EE application

 
Pallav Bora
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to know how the following is implemented (strategies, patterns etc ).

1. The placing of order is split 3 continuous steps.
2. The user performs only up to step 2 and logs out.
3. When the use logs in again the user is informed that the user still has to complete step 3 and the user has the option of going the page relevant for step 3.

(This type of things are very common. For example linked in or the profile creation on any job site. The user can resume for where he left off.)

Thanks

Pallav
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65338
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Store the information in a DB for later retrieval.
 
Pallav Bora
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Store the information in a DB for later retrieval.



Hi Bear,

Thanks for your response.

do you have an example ? I know that the info has to be stored in a db. I am looking to find a design pattern/ strategy for this if available


Thanks

Pallav
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65338
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is something that is way too specific for a "pattern". So I'm not sure what you are looking for. Just use standard good practices and implement it.
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like bear said, just use standard coding practice. For example, you can persist the information to the database at the end of each step. And if each step involves multiple steps, you can just save the data at the end of each step.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic