[JBoss Seam] - The Seam Lifecycle
by bluetrade
Hi,
I have some questions regarding the Seam lifecycle. I have some @Service annotated EJBs, i.e. Singletons, because they are pretty resource intensive, they parse large XML files etc. (is this the best approach btw for this task? - i hear traditional Singletons are evil in a container because the statics are often not cleaned up when redeploying...), but I also wanted to use some Seam functionality (like Injection) in these Services, e.g. the @Log annotation. However, when I try to access the Logger in the start() method, it throws a NullPE. It's understandable, since Seam doesn't seem to be "started" at that point - is there a work-around for that? It seems to me that Seam should support the @Service annotation...
Thanks,
joey
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978477#3978477
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978477
19 years, 8 months
[J2EE Design Patterns] - Online forum
by nnaneme_i
Guys, I need your opinion on the 'seperation of powers' between a forum administrator and a moderator. I mean what would you suggest is the limit of say what a moderator can do. I give an example, I have a forum with categories -> forums -> topics -> replies, in order of containment (thanks to ideas from jboss forum:-)), I allow the moderator to add, remove, delete etc any of the above. I want to incorporate the idea of a moderator role, what would you think should be the limit of what he should be able to do?
Really, I don't have a requirements spec document, so pls don't be surprised I have to figure this out myself. (It's not exactly a corporate business contract!)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978476#3978476
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978476
19 years, 8 months