I need to create an application without using SPRING, I can instantiate the SessionFactory smoothly.
But if I do not call this method, "ApplicationContext.getInstance ();", that comes with example in the constructor's Remote Service. Returns error. Does anyone know why?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The ApplicationContext class in sample application just wraps the Spring Context.
Just ignore it and initialize the 'beanManager' property with new HibernateBeanManager and associated SessionFactory.
Hope this helps
Bruno
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to create an application without using SPRING, I can instantiate the SessionFactory smoothly.
But if I do not call this method, "ApplicationContext.getInstance ();", that comes with example in the constructor's Remote Service. Returns error. Does anyone know why?
Hi,
The ApplicationContext class in sample application just wraps the Spring Context.
Just ignore it and initialize the 'beanManager' property with new HibernateBeanManager and associated SessionFactory.
Hope this helps
Bruno
thank..