[jboss-user] [JBoss Portal] - Re: Is it okey to put the logic within doView method instead

thomas.heute@jboss.com do-not-reply at jboss.com
Tue Feb 13 18:12:45 EST 2007


You should split your portlets in differents classes.

You should avoid putting all your stuff in session, you should use request attributes when possible.

Putting the logic in doView is really against good practice. It will be executed on every refresh including when you trigger another portlet of the same page.

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

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



More information about the jboss-user mailing list