Is it possible to connect to a remote database from my flex4.5 Mobile application ?
I am trying to develop a flex 4.5 mobile application and my data is in Oracle Database.
I choose Java as my back end technology. How can I call the java services from flex.
I wanted my mobile application to run on iOS devices.
Yes. You can connect to any database, as long as that database can be connected to via php or Java (possibly other server-side languages as well). It uses a remote call, similiar to Ajax (but faster).
You can use a RemoteObject component. RemoteObject components use the AMF protocol to send and receive data, while WebService and HTTPService components use the HTTP protocol. AMF is significantly faster than HTTP.
On the Flex Side:
On the Java side:
…
…
The code examples were taken from:
http://help.adobe.com/en_US/flex/accessingdata/WS2db454920e96a9e51e63e3d11c0bf69084-7fda.html#WS2db454920e96a9e51e63e3d11c0bf66651-7fd7