Hi
I am building a web service using jboss 4.2.2.
I have the following web method
@WebMethod
public int processRequest()
{
EntityManager entMan = (EntityManager) Component.getInstance("entityManager");
//other code
}
When there is a web request for this method, it gives me an exception : No active application context.
I am new to seam ....and i have no ideas why i am getting this excpetion.
I would highly appreciate your help if you can guide me through this.
thanks