Hi,

See also my response to your other query.

Direct access from the web tier is probably undesirable because it breaks the 
model and will probably make it difficult to generate ther correct HTML within 
Struts.

A better solution is to introduce an application server tier and to store the 
variable drop-down data within Entity beans.

It is most efficient if all entries for a drop down are stored as a set of 
Strings (or other objects) within a single Entity bean.  This should be 
possible with Hibernate.

After the first access to a drop down, subsequent accessses should read 
directly and quickly from the Entity Bean.

As a second thought, you may want to check that the current database read is 
efficient and is not performing a table scan.

James Strachan


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867585#3867585

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867585


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to