Hi I thought I might add a query about performance related issues when reflection is used. This might be odd but many teams in my company have started using Struts without ActionForms. They use Actions and pick up the parameters from the request object. Are there any benchmarks that prove reflection doesn't impose a big overhead ?
Well, published benchmarks are like bikinis. They seem to reveal a lot but keep the best bits under wraps. :) The best advice would be for you to cobble up the same workflow using ActionForms and then use JMeter to run your own benchmarks. That's the only way you will *know* whether it's a problem for you or not, and exactly how severe it is for *you* on *your* equipment. Mileage can vary depending on the underlying hardware platform and network configuration.
Anyway, here's a thread that speaks to your original question:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg80042.html
Secondly one team is facing problems with multiple master-detail layers. We have used indexed properties for one level of master-detail . What about multiple levels ?Any suggestions ?
I generally continue to nest detail within detail to whatever arbitrary layer is needed. Usually, the trick is to have a very clever JavaBean and rather stupid presentation code. Things like this get very hairy if you are trying to do too much on the page. Think in terms of a JavaBean that could be used to produce a plain-text, PDF, or HTML report, and then use tags to render the *JavaBean* in HTML, without knowing to much about the logic of the underlying report.
HTH, Ted.
-- Ted Husted, Junit in Action - <http://www.manning.com/massol/>, Struts in Action - <http://husted.com/struts/book.html>, JSP Site Design - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]