Christian, thanks a lot for hints. It's interesting topic.
Being impressed by long SQL statements generated by Hibernate and understanding that most
of them are not required I decided that I need to try an idea of SFSB as backing bean. I
annotated all the relations among entities as fetch=lazy. So all the requests that are
generated during page rendering are single select without joins. Tree-related requests are
generated only when expanding a node. Thus I don't think that Hibernate or DB is the
cause.
Norman, I'm afraid I need to measure whole project. I realized that there is other
potential causes of performance loss. For instance it seems that facelets always
compiles inclusions and source components in debug mode. Please take my apologies for not
being well-prepared when raising this question.
I understand that Seam and EJB3 requires some reasonable overhead. But from my point of
view a hundred lines of stack traces doesn't seem reasonable. I understand that
interceptors can be less time consumptive in comparison with the others sources of
overhead. I believe this is a question of reasonable trade-off.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008199#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...