This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I am working on an application where JSF framework is used.
Some of the functionality of the same application can be accessed using web services and am working on it.
My problem here is that I need to use a bean with session scope which is also used by GUI (JSF- Faces config.xml).
In Faces config file,it is defined the scope as session. But when i try to use the same bean in my web service implementation class, i got an exception: " No Scope registered for "session"".
I am trying to get the bean using ClassPathXmlApplicationContext. Can anyone help me how to register the scope programatically to slove this?
subject: Session Scoped Beans loading from Application Context file