You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by di...@multitask.com.au on 2001/07/10 18:44:42 UTC
SV: Struts, EJBs and Pizza
Lots.
- No java code in JSP pages is achievable if you're willing to write tags
- Look for reuse between forms beans and between actions.
- Call the same field the same name on all forms
- Keep all data necessary to process the request either in the request or
in an easily accessible bean.
- Don't create transient beans to process requests - make them part of the
form bean
- Layer your application: Separate form beans from value objects - use
factories.
I could go on and on....but the good news was Struts was an immense help.
--
dIon Gillard, Multitask Consulting
Work: http://www.multitask.com.au
NetRexx: http://www.multitask.com.au/NetRexx.nsf
----- Forwarded by dIon Gillard/Multitask Consulting/AU on 11/07/2001
02:07 AM -----
SV: Struts, EJBs and Pizza
nice!!!
how was the development??? any lessons learned???
Mikkel
Re: SV: Struts, EJBs and Pizza
Posted by Ted Husted <hu...@apache.org>.
dion@multitask.com.au wrote:
> I could go on and on....but the good news was Struts was an immense help.
Please do -- I think the world may be ready for "The Elements of Struts
Development"
< http://husted.com/about/struts/elements.htm >
The "avoid transient beans" point sounds especially interesting ...
dion@multitask.com.au wrote:
>
> Lots.
>
> - No java code in JSP pages is achievable if you're willing to write tags
> - Look for reuse between forms beans and between actions.
> - Call the same field the same name on all forms
> - Keep all data necessary to process the request either in the request or
> in an easily accessible bean.
> - Don't create transient beans to process requests - make them part of the
> form bean
> - Layer your application: Separate form beans from value objects - use
> factories.
>
> I could go on and on....but the good news was Struts was an immense help.
> --
> dIon Gillard, Multitask Consulting
> Work: http://www.multitask.com.au
> NetRexx: http://www.multitask.com.au/NetRexx.nsf
> ----- Forwarded by dIon Gillard/Multitask Consulting/AU on 11/07/2001
> 02:07 AM -----
> SV: Struts, EJBs and Pizza
>
> nice!!!
>
> how was the development??? any lessons learned???
>
> Mikkel