Hi, I'm involved in the development of J2EE web application using an 'standard' architecture. View layer - Struts Business layer - Session EJB Persistence layer - Hibernate
We found that in few screens, where a drop-down needs to be populated based on a particular status selected by the user, the response time is slower beacuse the request has to fow through struts and then to the busniess layer and then fetch the result (contents for the drop-down). We were considering the option of having a helper bean that we can use on the web tier to directly access a table and return the contents for populating the drop-down (and hence avoiding the round trip through struts-session EJB-hibernate. Please tell me is it a good design practice to access the database through web-tier?. My client says it is a bad practice to access database (through java bean) from the web tier. Appreciate your inputs on this. Sriram View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867405#3867405 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867405 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user