Win a copy of Spark in Action this week in the Open Source Projects forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Should I use CDI SessionFactory injection or Hibernate SessionFactory?

Ranch Hand
Posts: 608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi expert,

I'd like to seek your advice as to what is the best solution for my problem.

I'd like to know for the session portion, is it best to use EJB session or just simply stick to Hibernate SessionFactory?

However, to change to EJB I'd have to install TomEE and I am not sure if it is cheap for hosting plus I'd have to deal with all the mechanism of TomEE from scratch

For the above code, Eclipse is pointing to the error :

at Business.RegisterService.isTutorExists(
at Business.RegisterService.register(

Or is there something wrong with the above code ?
    Bookmark Topic Watch Topic
  • New Topic