Note: This project has closed. Checkout the red5 project instead. Spark is dead, long live Red5.

Spark | Java Flash Server

Project Page | SparkAlpha

Overview

Spark is a Java server designed to provide various services to Flash clients. Its combines some well established open source projects (Jetty, Spring, OpenAMF, Hibernate, Rhino, Netty2) to form a single server. Its designed to be modular and extensible also so it should be easy to adapt to your needs.

Design Goals

  • Make connecting flash to a java backend easy !
  • Provide quick development environment and simple deployment.
  • Allow flash developers to code on the server without needing to know java.
  • Allow java developers to expose server side application api to flash developers.
  • Allow for quick prototyping and rapid application development.
  • Fix the problems in using hibernate with remoting.
  • Don't re-invent any wheels, look for good existing open source code and intergrate.
  • Evolve.

Features

  • Flash remoting with added support for hibernate, remote objects, and js objects.
  • Code remoting services in JavaScript (same syntax as as1) auto reload and compile into Java on the fly.
  • Use E4X (ECMAScript for XML) in javascript. (This has been announced by Macromedia as a feature of the next Flex release also)
  • Expose spring beans (java, soap, ejb, other remoting protocols) as remoting services.
  • Run using embedded jetty servlet engine (used for dev) or deploy as war file to any servlet engine.
  • Wrap remoting methods in AOP db transation interceptor.
  • Open session in view ensures hibernate session for all remoting calls.
  • ScriptDAO: Data access object for RAD, prototyping, and testing from scripts (api needs refining).
  • Image servlet can resize, and convert images on the fly. (optional extra as it depends on ImageMagick)
  • Ant build file to compile java code, generate hibernate mappings, and package war for deployment.
  • Add any mvc / view technologies spring supports to create your website.

Dependencies

  • Built in Java using the Spring Framework (apache style license)
  • Uses the Rhino JavaScript engine (mpl license)
  • Remoting code extends OpenAMF (lgpl)
  • Uses JMagick for image transformation. (lgpl)
  • Uses Netty2 for the NIO socket server (apache license)

Links

Discussion

HaleyTina22, 2011/08/17 14:08
The <a href="http://bestfinance-blog.com">loans</a> are useful for people, which want to organize their business. By the way, it is not very hard to get a term loan.
Enter your comment
 
 
spark.txt · Last modified: 2006/07/25 12:20 (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki