-
1. Re: Basic CRUD web app
marobashi Oct 5, 2005 3:32 PM (in response to hookomjj)Jacob,
Thanks for your prompt response. I'm looking forward to giving this a shot, and I appreciate your assistance.
In the hotel example, there's only one action that can be performed over the hotel list, and there's only one "termination" point of the conversation (the confirm() method).
If I have methods for add, change, and delete all within the same action,
1) can I specify multiple methods with the @End annotation
and
2) Is it good design to do so?
Thanks,
--eric -
2. Re: Basic CRUD web app
hookomjj Oct 5, 2005 4:59 PM (in response to hookomjj)Yes, multiple @End used is appropriate.
The conversation scope is defined by a series of contigous HTTP Posts, which may involve searching, selection, etc-- collecting data as you go, then allowing you to use the @End to finish the currently active conversation. It doesn't even have to be on the same Object. -
3. Re: Basic CRUD web app
marobashi Oct 6, 2005 8:49 AM (in response to hookomjj)Have I mentioned that Seam is sweet?
It seems so simple, I thought I just *had* to be misunderstanding something.
Thanks again for the response. -