Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Persistance context and blazeds problem

 
Dawid Skrzypczynski
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Stuart A. Burkett
Ranch Hand
Posts: 679
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic