2

Can anyone detail the differences between the Struts2 Conversation plugin and ActionFlow plugin and when I should choose one or the other?

Regards

Aleksandr M
  • 24,264
  • 12
  • 69
  • 143
user497087
  • 1,561
  • 3
  • 24
  • 41
  • Conversation plugin is for handling data. ActionFlow is for creating wizards. – Aleksandr M Apr 24 '14 at 11:37
  • Sorry - but what is the difference? Surely wizards are also for collecting data over a series of forms as well? – user497087 Apr 24 '14 at 12:54
  • @user497087 Don't worry, looks like the same thing but different implementation. – Roman C Apr 24 '14 at 19:12
  • @user497087: They are totally different plugins for different purposes. Conversation plugin adds `conversation` scope to your application. ActionFlow plugin helps you create wizard from actions where holding data in some scope is just one of the features. With ActionFlow you can define sequences of actions (e.g. which action will be executed after the current action). With Conversation you can define which data will be put into `conversation` scope and when conversation will start and end. – Aleksandr M Apr 24 '14 at 20:57
  • @user497087: Have you understood the differences between this two plugins? Do you have any further questions? – Aleksandr M Jan 09 '15 at 06:33

1 Answers1

1

They are totally different plugins for different purposes. Conversation plugin adds conversation scope to your application. ActionFlow plugin helps you create wizard from actions where holding data in some scope is just one of the features. With ActionFlow you can define sequences of actions (i.e. which action will be executed after the current action). With Conversation you can define which data will be put into conversation scope and when conversation will start and end.

Use ActionFlow plugin when you need to create a wizard.

Use Conversation plugin when you want to add conversation scope to your application.

Aleksandr M
  • 24,264
  • 12
  • 69
  • 143