[i]From: Lincoln Baxter, III (linc..._at_gmail.com)
Date: Apr 9, 2009 10:45:48 pm
List: net.java.dev.glassfish.webtier
If your bean is Request Scoped, then it will execute @PostConstruct every request. My first thought would be to use a Session Scoped bean, or to implement a custom caching solution.
--Lincoln [/i]
Thanks Lincoln. Sorry your response on the mailing list didn't seem to get posted back on the online forum so I missed it.
Your suggestions would be a valid workaround, but it would also increase memory requirements and cause cache update considerations for things which should really just be request based... This would also require all FBs of our site to change scope because of possible common include with commandLink (not very scalable IMHO putting the burden on the rest of the webapp). I was hoping for a less tightly-coupled solution where our commandLink could act in such a way as to not disrupt other beans on the page?
[Message sent by forum member 'bouteill' (bouteill)]
http://forums.java.net/jive/thread.jspa?messageID=341888