Menu

help - application without spring

Help
2008-11-27
2013-04-19
  • Diego Lovison

    Diego Lovison - 2008-11-27

    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?

     
    • Bruno Marchesson

      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

       
    • Diego Lovison

      Diego Lovison - 2008-12-01

      thank..

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.