Hello,
I have a question regarding design in EJB.
Should I use a singleton in my MDB or in stateless session beans. I have a servlet that calls a stateless session bean that calls a message driven bean. In the message driven bean constructor I call a singleton to set the mdb class variable. This singleton class reads the configuration file and initializes some framework classes.
Is this ok to do initialization of classes from a configuration files and thus have singletons? In this configuration file I basically have something like a map between the xml message tab and the request class for that message and well as the action processor
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988040#3988040
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988040
The JSF portion of JBoss IDE is actually from eclipse. It seems that their module artifact adapter (which turns a selection into something that can be run on a server) is incomplete.
That error message only appears if an "artifact" is found, but it's module is empty. This, from my experience with the code, should only happen due to a programming oversight or error.
Again, this would be a bug for eclipse and whichever project the JSF component is in. I assume it's webtools but am not sure.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988039#3988039
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988039