Archives for categorie "Java"

Integration example of Spring and BlazeDS with Maven2.

Multiproject EAR:
- Flex 4
- Spring 3
- BlazeDS 3




  • Share/Bookmark

Weakness of a encryption data system (between Flex and Java) is based on capturing the key it used to cipher. It’s possible to generate the key dynamically to get extra security level.

System is described with following picture:


Source codeClick with the right button to obtain source code.

  • Share/Bookmark

Use SpringSource Tool Suite (Version: 2.3.2.RELEASE, Eclipse 3.5) with Flex Builder 3 Plug-in:

  • Install Flex Builder 3 Plug-in
  • Choose Flex install folder
  • Use folder “sts-2.3.2.RELEASE” with STS executable and install despite the advices
  • Modify file “com.adobe.flexbuilder.feature.core.link” in links directory of SpringSource and update it to:

    “path={Path to install folder}/Flex Builder 3 Plug-in”

It works with Eclipse 3.5 too.

  • Share/Bookmark

Flex project example with BlazeDS and Eclipse.
There are many tutorials on Internet very simple:

  • Create a Flex project with J2EE nature
  • Import BlazeDS war to recreate project structure
  • Configure flex remoting config files
  • Create java services and register them in the config files
  • Create RemoteObject components in Flex client pointing to these services
  • Share/Bookmark
LCDS-Spring-Helloworld Project
Configuration example of a J2EE web application with LiveCycle, issues:

  • Start the database hsqldb with the init scripts startdb.bat (Windows) o startdb.sh (Unix) adapted to our enviroment pointed to hsqldb.jar (you can configure another database connection modifying jdbc.properties file)
  • Load the database with SQL scripts in db directory using build.xml Ant file (on project top directory).
  • Adjust hidden files .actionScriptProperties, .flexProperties of flex enviroment to our local configuration.
  • Adapt local web servers paths of the project in build.properties.
  • Configurate deploy properties of the project (url, port…)

LCDS-Spring-HelloWorld

  • Share/Bookmark
Creative Commons License
This blog is under Creative Commons licence, unless indicated otherwise.
Special thanks to Mark James for the icon set used in this blog.