Hi All,

despite, AFAIK, Struts propose usual JavaBeans as value objects to be sent 
to JSPs, we are using general hashmaps to hold the results from database 
queries to JSP. It allow as skipping to create a particular bean for each 
result from the database, and making a general mechanism rather than a 
specific one.

The backward of that is that custom tags assume that data holders in JSP are 
beans and they allow just to render info stored in them rather than in 
hashmaps so, in some cases, we need to provide a customized custom tag to 
introspects hashmaps info from the JSP.

We have just met DynaBeans days ago, and I was wondering if we could modify 
our value objects to be DynaBeans rather than hashmaps. In that way, we 
would not need to patch Struts custom tags. they seems to be available since 
Struts 1.1b1, is not it?

My question is which one is performance impact of creating DynaBeans on the 
fly, and filling them with results from database queries. Since DynaBeans 
are created by introspection techniques, I am afraid they could slow down 
the application performance.

Does anyone have made any test in this area or any opinion in this concern?

Thanks in advance,

Adolfo



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

Reply via email to