If you have ever used Hibernate, JPA or any other object-relational mapping (ORM) framework, you'll know that Session/EntityManager does all the hard work. However, there is no Session/EntityManger on the client side.
Solution
Athena Framework for Flex offers a Flex client side UnitOfWork that acts like Session/EntityManager. It help you track changes, load partial objects and resolve relationships.
I recently developed a Flex web app using BlazeDS. I need to deploy this project on Google App Engine using Java.Is there any way to host the Flex Project on Google App Engine?
Solution
I found this in the net:
http://jvalentino.blogspot.com/2009/06/flex-blazeds-google-app-engine-java.html.
I would like to find a way I can create an initialized dynamic size array.
It shouldn't be using loops of course.
I thought maybe overriding the base array class with somehow to pass to parameters 1) a number for repeat and 2) item as the initializer.
And when a user requests at item which is not defined the overriding class will return the item instead of undefined or exception.
is this possible in a safe way?
Solution
By default value of all elements of the newly created instance of the Array class are "undefine" . In many cases checking for value “undefined” when access an element of array is a waste of time. In order to remove this check the array should have valid items. So there are two ways to do that:
You need to develop a server for your flex application that must deal with database access and authentication, and you're not an expert in server-side development, or simply you want to speed up your server-side development.
Solution
Solution is to use a code generator for your server-side. You only have to define your database schema and most of server side code will be generated. The proposed solution use a Spring/Hibernate/Maven code generation tool (SpringFuse) and explain how to use the generated project with a Flex application using BlazeDS
You need to develop a server for your flex application that must deal with database access and authentication, and you're not an expert in server-side development, or simply you want to speed up your server-side development.
Solution
Solution is to use a code generator for your server-side. You only have to define your database schema and most of server side code will be generated. The proposed solution use a Spring/Hibernate/Maven code generation tool (SpringFuse) and explain how to use the generated project with a Flex application using BlazeDS
I recently developed a Flex web app using BlazeDS. I need to deploy this project on Google App Engine using Java.Is there any way to host the Flex Project on Google App Engine?
Solution
I found this in the net:
http://jvalentino.blogspot.com/2009/06/flex-blazeds-google-app-engine-java.html.
Flash player has cross-domain security policy that restricts Flex applications from retrieving data from remote third party servers. Unfortunately, certain sites have restrictive polices, or no cross-domain policy at all, making it impossible for Flex clients hosted on other domains to access their service.
Solution
LiveCycle Data Services ES, or its open source variant, BlazeDS, offer proxy service that could help Flex clients bypass the cross-domain restriction.
This site is produced in partnership with O'Reilly.