Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I can't speak to Silverlight but Flex is a web browser client technology and does not have any database driver embedded in the Flash runtime. You can do HTTP protocol interactions to a web server instead. It is there in the middle-tier web server where you will do any ORM with respect to a database connection, such as Java JDBC. Hibernate ORM and iBATIS are two popular choices in the Java middle-tier space.</p> <p>Also, because of this:</p> <p><a href="http://en.wikipedia.org/wiki/Fallacies_of_Distributed_Computing" rel="nofollow noreferrer">Fallacies of Distributed Computing</a></p> <p>You do not do synchronous interactions from a Flex client to its middle-tier services. Synchronous network operations have become verboten these days and are the hallmark signature of a poorly designed application - as due to reasons enumerated at the above link, the app can (and often will) exhibit a very bad user experience.</p> <p>You instead make async calls to retrieve data, load the data into your client app's model object(s), and proceed to implement operations on the model. With Flex and BlazeDS you can also have the middle-tier push data to the client and update the client's model objects asynchronously. (Data binding is one way to respond to data being updated in an event driven manner.)</p> <p>All this probably seems very far afield from the nature of inquiry in your posting - but your posting indicates you're off on an entirely incorrect footing as to how to understand client-side technologies that have asynchronous and event-driven programming baked into their fundamental architecture. These RIA client technologies are designed this way completely on purpose. So you will need to learn their mode of thinking if you want to have a good and productive experience using them.</p> <p>I go into this in more detail, and with a Flex perspective, in this article:</p> <p><a href="http://humbleblogger.blogspot.com/2008/05/flex-async-io-vs-java-and-c-explicit.html" rel="nofollow noreferrer">Flex Async I/O vs Java and C# Explicit Threading</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload