This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Persistance context and blazeds problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Persistance context and blazeds problem" Watch "Persistance context and blazeds problem" New topic
Author

Persistance context and blazeds problem

Dawid Skrzypczynski
Ranch Hand

Joined: Jun 08, 2011
Posts: 52
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

Joined: Jun 08, 2011
Posts: 52
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

Joined: May 30, 2012
Posts: 679
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Persistance context and blazeds problem
 
Similar Threads
Flex communication with servlet...Problem in using blazeds server,turnkey tomcat intergration
intergrating flex with java using blaze d
Question: JSP and FLEX Living together?
Typecasting arraycollection to arraylist in FlexBuilder 3
Please help me to find the right technology stack