Thanks Rich--I'm actually interested in all kinds of configurations. For the time being, it will be a Flex frontend in the browser communicating with Clojure on the server. In the future, we might want to make the Clojure part into a Java applet that runs on the client side and does computations while Flex handles the interface; finally, I'm also (in the long-term) interested in building standalone apps that use Flex/AIR for the interface and Clojure/Java for the backend.
It all seems rather complicated, but I've found Flex to be the best way of programming interfaces (so far). Concerning BlazeDS and AMF: what is the advantage of that over just using straight HTTP with say JSON? I know RTMP has "push" capability; any other reasons? -Nick. On Aug 15, 11:53 am, Richard Lyman <richard.ly...@gmail.com> wrote: > On Sat, Aug 14, 2010 at 1:40 PM, nchubrich <nchubr...@gmail.com> wrote: > > I'm wondering if anyone has any experience developing Clojure > > applications with a Flex interface, and if so, what is the best way of > > going about it. > > I have quite a bit of experience. I've been writing an internal > implementation of the non-media parts of RTMP, so that your backend > can be anything that runs on the JVM (Java, Clojure, Scala, Groovy, > JRuby, etc.) and your frontend can be pure ActionScript. > > The 'best way' probably depends on how you'll be deploying your > application. Are you going with some J2EE container, are you packaging > everything into a standalone app? (Or maybe something between the > two...) > > > I also wonder if anyone has used Las3r----I'm a little reluctant to > > use it because the Flash Builder programming environment is so > > effective. > > > Thanks, > > > Nick. > > I don't have experience with Las3r - but it says it's a port of > Clojure (parts of) to run on the AVM2. That's pretty different than > the standard method of communication between a Flex frontend and a JVM > backend. If I were you I'd look at getting Jetty or Tomcat (JBoss if > you're very brave or previously-enterprise-skilled) to work with > BlazeDS - then you can write your Clojure code compiled to JARs and > expose the methods as AMF messagebrokers to a RemoteObject running > from Flex. > > -Rich -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en