THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
There have been several posts asking how to get a Faces Context from outside of JSF such as in a servlet. There are many reasons for doing this such as:1
...
...
...
...
Below is one way to do this.
...