RE: ActionForm Design Question

2003-08-02 Thread Navjot Singh

| Question 1: Do I use conventional ActionForm?
| Map-backed ActionForm? or DynaActionForm for this
| project?
|
|If I were you, I would use the conventional ActionForm if
|most of the properties are Strings.

If your data is fixed on form, then it is good to have ActionForm.
More, you may use DynaActionForm if you don't wish to write a ActionForm
file ;-)

|
| Question 2: Which strategy should I use to transfer
| values between tiers?  Setting an immutable value
| object?  or transferring values by reflection
| (BeanUtil)? or passing a Map?
|
|Then I would use the transerring mechanism in the BeanUtil package.

If your app is simple enough, you can use Map. If you know
your app is gonna expand like hell, invest time on BeanUtil.

Navjot Singh

|
| I highly value your opinions and advices.  Thanks.
|
|
|Jing
|Netspread Carrier
|http://www.netspread.com
|
|
| __
| Do you Yahoo!?
| Yahoo! SiteBuilder - Free, easy-to-use web site design software
| http://sitebuilder.yahoo.com
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
|-
|To unsubscribe, e-mail: [EMAIL PROTECTED]
|For additional commands, e-mail: [EMAIL PROTECTED]
|
|


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ActionForm Design Question

2003-08-01 Thread Jing Zhou

- Original Message - 
From: Caroline Jen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 01, 2003 10:42 AM
Subject: ActionForm Design Question


 Hi, I am building a web site.  The primary functions
 of this site are for authors to submit their research
 papers.  The research papers will go through a
 screening process (screened by peers in the field). 
 Visiors can view the published articles online.
 
 Authors and peers are the registered users of the web
 site.
 
 Therefore, there is not much data manipulation at the
 web site except that authors may be requested to
 revise their papers and re-submit.  And both authors
 and peers have to fill out registration forms to
 become members of the web site.
 
 The content of the registration form is pretty
 standard: name, address, phone number, academic
 background information and achievements, etc.  Most of
 them are Strings.  A couple of checkboxes, three sets
 of radio buttons (to indicate preferences), and a
 primitive double.  Of course, I have a text field for
 loading research papers.
 
 Question 1: Do I use conventional ActionForm?
 Map-backed ActionForm? or DynaActionForm for this
 project?

If I were you, I would use the conventional ActionForm if
most of the properties are Strings.

 
 Question 2: Which strategy should I use to transfer
 values between tiers?  Setting an immutable value
 object?  or transferring values by reflection
 (BeanUtil)? or passing a Map?

Then I would use the transerring mechanism in the
BeanUtil package.

 
 I highly value your opinions and advices.  Thanks.
 

Jing
Netspread Carrier
http://www.netspread.com


 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
 http://sitebuilder.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]