
简介 Book Description:
For years, Java has been used to develop Web applications that allow users to access server-side
data through user interfaces presented in a Web browser. Generally, the user interfaces for these
applications have been presented to the user as HTML by using technologies such as Java Server
Pages (JSP) to insert server-side data into the user interface to create dynamic, data-driven applications.
Flex offers another possibility for Web application user interfaces — the highly visual, fluid, and
rich experience provided by Adobe Flash Player and Flash movies. Flex puts the richness and
power of Flash into the hands of application developers by providing a software development kit
and user interface components that allow developers to create Flash applications by using familiar
software development tools and methodologies.
When you integrate Java and Flex in a Web application, you get the best of both worlds. You get the
power and stability that Java provides on the server side and the rich, dynamic user interfaces that
Flex and Adobe Flash Player make possible. In this book, you learn to marry the two to create applications
with the data your customers need and the visually compelling user experience they want.
There are many applications on the Web — some you probably use without even knowing it.
When you want these online applications to offer a richer experience to the end user, you need to
use the right tools.
Flex is one of these tools, but that only accounts for half the requirements. For an application to be
truly useful, it needs a dynamic back end to process the user’s information and add the overall usefulness
for the end user.
Java can help you write the back end that provides data to your Flex applications and makes them
more dynamic and useful. Java has a number of frameworks, development tools, and libraries that
can make developing powerful, data-driven Web applications faster and less complicated than
other platforms.
In this book, you learn how to connect Flex — by using the stand-alone IDE and Eclipse plug-in —
to a Java back end. Once the basics of installing and configuring Java and Flex are completed, you
learn how to build real-world applications, such as a chat client, a storefront, and a back-end
administration tool for the same store.
This book is for beginning to advanced developers interested in developing rich Internet applications
that go beyond the standard HTML-based development model. While this book assumes that
you have at least some programming knowledge, previous experience with Java and Flex isn’t
assumed. The basic concepts of the Java and Flex languages are explained in detail in part one of
the book, so those with programming experience should be able to come up to speed quickly.
目录 Summary of Contents
Acknowledgments
Introduction
Part I: Installation and Getting Started
Chapter 1: Setting Up the Java Development Environment
Chapter 2: Configuring Flex for Java Development
Chapter 3: Similarities between Java and Flex
Chapter 4: Understanding the Flex Application Development Process
Part II: Connecting Java and Flex
Chapter 5: Sending Data from Flex
Chapter 6: Writing Java Web Applications
Chapter 7: Using JUnit and FlexUnit to Test Your Applications
Chapter 8: Relational Databases
Chapter 9: Java and Databases
Chapter 10: Building a Basic Database-Powered Flex Application
Chapter 11: Developing a Stock Ticker with BlazeDS
Part III: Building Advanced Applications
Chapter 12: Developing a Storefront Server Application with Java
Chapter 13: Developing a Storefront Server Application with Flex
Chapter 14: Building a Real-Time Messaging System
Chapter 15: Extending Java and Flex Development
Chapter 16: Advanced Development
Appendix: Installing Adobe Flex and Adobe Flex Builder
Glossary
Index
关于作者 About the Author
Charles A. Christiansen Jr. is a full-time Java application developer. Over the past 11 years, he
has worked on teams that have developed a wide variety of e-learning and classroom management
applications. Charles has written applications by using the gamut of Java application technologies,
from the heavy client Java application using RMI over dialup connections to fast, lightweight Web
applications using Spring and Hibernate. He holds a Master of Science degree in Internet
Engineering from the Graduate Center of Marlboro College.
Charles lives in the metro Boston area with his wife Eileen and their irascible cat Tigger. In his
spare time, he enjoys cooking, especially barbecue, and photography.
Matthew Keefe is a new-media designer, developer, author, and trainer with a strong background
in application development for the Web and offline platforms. Originally a full-time graphic artist,
he found that much of the programming associated with his design work was being outsourced.
Matthew quickly learned programming for the Web and uncovered a valuable but little-known
skill set in this industry: the ability to build a site and to also powerfully design it.
Matthew recently authored the Flash and PHP Bible, has contributed to various Flex and Flash
magazines, and runs http://scriptplayground.com for other programmers to learn from.
You can find more information on his personal site at http://mkeefe.com.
Matthew has worked with several companies and studios, including Inverted Creative, Delphi,
PhotoshopCAFE, Kineticz Interactive, Organi Studios, Bent 360, and ORCA Media, Inc. He lives in
Carver, Massachusetts.
http download
Java and Flex Integration Bible


