Apress Cyber Monday SALE

Beginning Java and Flex

Migrating Java, Spring, Hibernate and Maven Developers to Adobe Flex

By Filippo di Pisa

  • eBook Price: $32.99
  • Print Book Price: $46.99
Buy eBook Buy Print Book
Beginning Java and Flex describes new, simpler, and faster ways to develop enterprise rich Internet applications (RIAs) by integrating the Adobe Flex framework with Java technologies like Spring, Hibernate, and more.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-2385-6
  • User Level: Beginner to Intermediate
  • Publication Date: January 5, 2010
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Introducing Gradle
  • Beginning Ubuntu for Windows and Mac Users
  • Oracle Certified Professional Java SE 8 Programmer Exam 1Z0-809
  • Pro Android 5
  • Pro CSS3 Layout Techniques
  • Pro Marketing and Search Engine Optimization
  • Pivotal Certified Spring Web Application Developer Exam
Full Description

Over the past few years, the now-open source Adobe Flex framework has been adopted by the Java community as the preferred framework for Java rich Internet applications (RIAs) using Flash for the presentation layer. Flex helps Java developers to build and maintain expressive web/desktop applications that deploy consistently on all major browsers, desktops, and operating systems.

Beginning Java and Flex describes new, simpler, and faster ways to develop enterprise RIAs. This book is not only for Java or Flex developers, but also for all web developers who want to increase their productivity and the quality of their development.

The aim of the book is to teach the new frontier of web development using open source, agile, lightweight Java frameworks with Flex. Java lightweight framework programming helps Flex developers create dynamic-looking enterprise applications. Flex and Java are becoming very popular for both business and interactive applications.

What you’ll learn

  • What Adobe Flex is and how to use it in your Java development of the presentation tier or rich clients
  • How to use Spring, Hibernate, and/or Maven with Flex
  • How to use Flex and Java to create rich Internet applications and/or clients
  • How to create Flash-based/enabled business applications
  • How to write more stable Java-based Flex applications and reusable code
  • How to create some Flash-based game applications

Who this book is for

This book is for Java developers who want to get into Flex, Spring, Hibernate, and/or Maven, and for all Flex developers who want to create projects with the most frequently used Java frameworks. Also, this book could be interesting for most other web developers because Java/Flex, once learned, will increase their productivity and the quality of their development.

Table of Contents

Table of Contents

  1. Developing with Java and Flex
  2. Presenting the Sample Application
  3. Configuring Your Development Environment
  4. Inversion of Control
  5. Spring JDBC and Hibernate
  6. Spring Security
  7. Flex (The View Layer)
  8. Working with Data in Flex
  9. BlazeDS
  10. Using Flex, Spring, and Hibernate Together
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.

On page 109:

"The XML above will inject a bean of type Message with id=“message”. Spring supports both
constructor and dependency injection."

Correction :
"The XML above will inject a bean of type Message with id=“message”. Spring supports both
constructor and setter dependency injection."

On page 144:

The the applicationContent.xml file is incorrect.
The listing shows a hibernate configuration rather than the required jdbc template implemetation.

Should be something like : -

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"

<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">

<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="${jdbc.driverClassName}"/>
<property name="url" value="${jdbc.url}"/>
<property name="username" value="${jdbc.username}"/>
<property name="password" value="${jdbc.password}"/>

<bean id="userDao" class="com.apress.flexjava.usermanager.dao.jdbc.UserDaoSpringJdbcImpl">
<property name="dataSource" ref="dataSource"/>

On page 145:
bad xml config, project can't compile.

Need to remove:
class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor" />

and also

<!-- Hibernate SessionFactory -->

On page 190:

In Chapter 6 (Spring security) http://www.filippodipisa.it/books/apress/flexandjava/chapter06/ldap/usersAndGroups.l
diff link is not working.


    1. Unboxing Android USB


      View Book

    2. Beginning AngularJS


      View Book

    3. Beginning Ruby


      View Book

    4. Pro Arduino


      View Book