This content has been marked as final. Show 5 replies
BlazeDS from Adobe Open Source Labs.
It is free.
It has a turnkey download with great examples.
It can be used with the Adobe Flex in a Week tutorials. I could not get CF or LCDS to work.
Since posting this message I have discoverered BlazeDS and have installed and configured it. What I would really like to know more about is the best way to exchange data between a pure Flex frontend and an Oracle database. There appears to be little offical information on how this can be done. I have found some blog posts on integrating BlazeDS with OC4J on the Oracle Application Server as an option to deliever this, but it still appears to be quite complicated. Having come from a simple Oracle Forms background the move towards true RIA applications at present is a strong (and frustrating at times) learning curve.
Any thoughts on the Oracle database solution?
These are the links that I have found:
I am yet to work through the examples in the first two links. I'm still not 100% sure how the database connection is established between OC4J / BlazeDS and the database, in both examples there is no talk about db authentication or TNS setup so not sure how its done, I presume this is not covered as the examples are only covering the client <-> application server tier interface and not the application server tier <-> database tier interface (??). Then again I might have this all wrong.
If OC4J is a server like Tomcat, JBoss and others, then you could place SWF file into OC4J's "web root" directory. The rest of the procedure might be the same as with the other servers: configuring BlazeDS XML file(s), Java classes in the right place, etc. But I am not sure.
OC4J: your server, as opposed to Tomcat, ColdFusion, LCDS, etc.
Oracle DB: your database of choice, versus mySQL, HSQL, etc.
I think the general idea is the same: Java classes that communicate with the database are placed in a "classes" directory. SWF files to into the "web root" directory. Specify the Java class in BlazeDS XML files.