I have a designed a back end solution with Java Hibernate and JPA.
Now I want to implement it with Flex front end.
How shall I do it?
Is it possible without using BladeDS? Just using Servlet or something?
Please guide
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need some service layer that exposes access to your entities. This can be POJOs, EJB Session Beans, Spring Beans, whatever. Then you need some way to access that services layer from the Flex client. This can be SOAP, Plain Old XML (through a servlet / JSP), or Remoting with BlazeDS (or GraniteDS, etc). My personal preference is Spring with BlazeDS. I created a screencast that walks through how to combine Flex, Spring, BlazeDS, and Hibernate that might be helpful. But if you want to see how to do it via Plain Old XML (HTTPSerivce) or SOAP then check out this screencast.