[jboss-user] [JBoss Seam] - Re: multiple calls to same method from <s:div rendered...>

fhh do-not-reply at jboss.com
Tue Sep 25 18:31:12 EDT 2007

Why don't you use:

a.) Datasources. Opening connections is an expensive operation.

b.) Use a SELECT statement instead of a call to a stored procedure if you want to retrieve data.

c.) @Factory for choices?

d.) Use entities and <s:selectitems> to create select items.

e.) Use Hibernate caching to avoid db roundtrips.

f.) Use Seam's query object to retrieve a filtered list of entities.

No offense, but if your requirements are totally different from the "Seam way of doing things" (TM) you will propably be better off without it.



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

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

More information about the jboss-user mailing list