If the validate() method does the type checking then we must implement
type
conversion code and type checking code in every single form bean we
write!
On large systems, this is sometimes very unfun.
Any thoughts?
You could use a Visitor pattern for an application Validator. Each form
would
EJBs come in two flavours (as opposed to flavors), session beans and entity
beans.
Session beans represent business logic and rules, entity beans represent a
row in the database.
The model that you'd use is to have Actions do the basic processing of form
elements into data beans (just regular
As far as struts 1.0, the Form bean is used only to redisplay
information to the jsp page. Typically the EJB might be loaded/unloaded in the
action class. If you search www.mail-archives.co,m Craig talked more about this in
detail.
In future version of struts this may be enhanced.
-Rob
Hello,
Robert Leland wrote:
As far as struts 1.0, the Form bean is used only to redisplay
information to the jsp page. Typically the EJB might be loaded/unloaded in the
action class. If you search www.mail-archives.co,m Craig talked more about this in
detail.
My understanding is that
To: [EMAIL PROTECTED]
Subject: Re: Stupd question about Struts and EJB.
Hello,
Robert Leland wrote:
As far as struts 1.0, the Form bean is used only to redisplay
information to the jsp page. Typically the EJB might be loaded/unloaded in
the
action class. If you search www.mail-archives.
I have the similar case with Beans not implemented "Serializable". I will use
PropertyUtils.copyProperties(destBean, srcBean) to propogate the properties.
Nick Pellow wrote:
Hello,
Robert Leland wrote:
As far as struts 1.0, the Form bean is used only to redisplay
information to the jsp
Bobs worth.
cheers,
Nick
Thanks,
Bob
-Original Message-
From: Nick Pellow [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 5:23 PM
To: [EMAIL PROTECTED]
Subject: Re: Stupd question about Struts and EJB.
Hello,
Robert Leland wrote:
As far as struts 1.0
At 11:17 AM 2/28/01 +1100, Nick Pellow wrote:
I am very new to struts as is, but as I far as I can tell from reading
the implementation of the above method,
the ActionForm can only have String properties. Is this correct?
If so, it would be nice if the ActionForm could support types other than
Martin,
[EMAIL PROTECTED] wrote:
At 11:17 AM 2/28/01 +1100, Nick Pellow wrote:
I am very new to struts as is, but as I far as I can tell from reading
the implementation of the above method,
the ActionForm can only have String properties. Is this correct?
If so, it would be nice if the
9 matches
Mail list logo