The Artima Developer Community
Sponsored Link

Articles Forum
BlazeDS and Spring: Integrating Flex in the Enterprise

1 reply on 1 page. Most recent reply: May 20, 2009 9:01 AM by Kay Schluehr

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Bill Venners

Posts: 2242
Nickname: bv
Registered: Jan, 2002

BlazeDS and Spring: Integrating Flex in the Enterprise Posted: May 18, 2009 1:30 AM
Reply to this message Reply
Advertisement
In this interview with Artima, Anil Channappa, product manager for Adobe's open-source BlazeDS project, discusses various ways to arrange data communication between a Flex client running in the Flash Player and server-side frameworks, such as Spring.

http://www.artima.com/lejava/articles/blaze_spring.html

What do you think of the various ways described in the article for integrating Flex on the client with Java and Spring on the server?


Kay Schluehr

Posts: 302
Nickname: schluehk
Registered: Jan, 2005

Re: BlazeDS and Spring: Integrating Flex in the Enterprise Posted: May 20, 2009 9:01 AM
Reply to this message Reply
Here is the server side Python code for Flash/Flex RMI via pyamf. It starts a simple WSGI server connecting to localhost.


services = {
'someservice': lambda data: data
}

if __name__ == '__main__':
from pyamf.remoting.gateway.wsgi import WSGIGateway
from wsgiref import simple_server

gw = WSGIGateway(services)

httpd = simple_server.WSGIServer(
('localhost', 8000),
simple_server.WSGIRequestHandler,
)

httpd.set_app(gw)

print "Running Hello World AMF gateway on http://localhost:8000"

httpd.serve_forever()


Can't say much about the Java solution. I guess it's less lean ;)

Flat View: This topic has 1 reply on 1 page
Topic: The Origins of Scala Previous Topic   Next Topic Topic: The Most Important C++ People...Ever


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us