• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Persistance context and blazeds problem

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using PersistanceContext to inject EntityManager and its works when i use Java for back-end and front-end(JSF:Managed bean) but now i want to use Flex as front-end. I am using blazeds to connect between Java and Flex. I created simple test service that generates list and this is works properly. Problem is when i tried to retrieve this list from my databases it turned out that my EntityManager is not injected by PersistanceContext. What i am doing wrong ?

 
Dawid Skrzypczynski
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This issue is important point in my project, no one really knows? I just can't inject any beans to my service class.
 
Ranch Hand
Posts: 679
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Dawid Skrzypczynski wrote:This issue is important point in my project, no one really knows?


You posted in the Beginning Java forum. I think your question is probably a bit more advanced than that. Hopefully a moderator will see this and move it to a more appropriate forum.
 
reply
    Bookmark Topic Watch Topic
  • New Topic