Let's say we have the following UC:

User can select a customer from a list for edit. He can change the customer 
detaiuls and press save to go back to the customer list.


Design posibility 1:
We make editCustomer action statefull (@Statefull). this action will have two 
methods:
@Begin
  | String showEdit() {
  |   ....
  | }
  | 
  | @End
  | String doEdit() {
  |   .... 
  | }

Design posibility 2:
We make editCustomer action stateless (@Stateless) as in booking register 
action or Seam trailBlazer.

------------------------------------------------
Pros and cons ?
 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913079#3913079

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913079


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to