Amazon.com: Pro JavaFX™ Platform: Script, Desktop and Mobile RIA with Java™ Technology (Expert's Voice in Java Technology) (9781430218753): James L. Weaver, Weiqi Gao, Stephen Chin, Dean Iverson: Books
Pro JavaFX™ Platform and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
More Buying Choices
Have one to sell? Sell yours here
Pro JavaFX™ Platform: Script, Desktop and Mobile RIA with Java™ Technology (Expert's Voice in Java Technology)
 
 
Start reading Pro JavaFX™ Platform on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Pro JavaFX™ Platform: Script, Desktop and Mobile RIA with Java™ Technology (Expert's Voice in Java Technology) [Paperback]

James L. Weaver (Author), Weiqi Gao (Author), Stephen Chin (Author), Dean Iverson (Author)
4.9 out of 5 stars  See all reviews (7 customer reviews)

List Price: $49.99
Price: $22.82 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $27.17 (54%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Wednesday, February 29? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $20.54  
Paperback $22.82  

Book Description

July 21, 2009 1430218754 978-1430218753 1

The JavaFX™ technology and platform is essentially Sun’s response to Adobe Flash and Microsoft’s Silverlight. JavaFX lets developers play with the open-source scripting, desktop, and mobile APIs offered to create dynamic, seamless visual user interfaces (UIs) that are “Flash–like” and beyond...

Learn from bestselling JavaFX author Jim Weaver and expert JavaFX developers Weiqi Gao, Stephen Chin, and Dean Iverson to discover the JavaFX technology and platform that enables developers and designers to create rich Internet applications (RIAs) that can run across diverse devices. Covering the JavaFX Script language, JavaFX Mobile, and development tools, Pro JavaFX™ Platform: Script, Desktop and Mobile RIA with Java™ Technology is the first book that fully provides JavaFX version 1.2 code examples that cover virtually every language and API feature.

This book contains the following:

  • Tutorials that teach JavaFX 1.2 to an application developer or graphics designer who has had no exposure to JavaFX. These tutorials will be exhaustive, covering virtually every facet of JavaFX Script and are fully updated for the JavaFX 1.2 release.
  • Reference materials on JavaFX 1.2 that augment what is available from the JavaFX 1.2 Language Reference and API documentation.
  • How to take JavaFX 1.2 to other platforms besides the desktop, such as mobile.

Visit projavafx.com for more resources and information from the authors.

What you’ll learn

  • Get started with JavaFX Script, including downloading the JavaFX SDK 1.2 and available tools.
  • Express user interfaces with declarative scripting.
  • Define classes, functions, and attributes.
  • Use JavaFX 1.2 and associated tools so that an application developer and a graphics designer can effectively collaborate on an application.
  • Uncover the JavaFX 1.2 language and APIs to whatever degree you choose. The tutorials, reference materials, and pointers to resources will be exhaustive.
  • Have fun learning JavaFX 1.2 because of the engaging and friendly style in which it is presented in this book.

Who this book is for

General audience: application developers, graphic designers, and IT decision makers. Not only will this book contain technical information for developers and designers, it will build a compelling case for choosing JavaFX for web applications and rich Internet applications.

Table of Contents

  1. Getting a Jump Start in JavaFX
  2. Taking a Closer Look at the JavaFX Script Language
  3. Creating a User Interface in JavaFX
  4. Using Functions, Classes, and Other Advanced Features
  5. Creating Custom UI Components and Charts in JavaFX
  6. Using the Media Classes
  7. Dynamically Laying Out Nodes in the User Interface
  8. Extending JavaFX with Third-Party Libraries
  9. Building a Professional JavaFX Application
  10. Developing JavaFX Mobile Applications

Special Offers and Product Promotions


Frequently Bought Together

Pro JavaFX™ Platform: Script, Desktop and Mobile RIA with Java™ Technology (Expert's Voice in Java Technology) + JavaFX Special Effects: Taking Java™ RIA to the Extreme with Animation, Multimedia, and Game Elements (Beginning) + JavaFX Developer's Guide
Price For All Three: $89.94

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • JavaFX Special Effects: Taking Java™ RIA to the Extreme with Animation, Multimedia, and Game Elements (Beginning) $30.39

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • JavaFX Developer's Guide $36.73

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

Jim Weaver is an author, speaker, teacher, and developer in rich Internet application technologies such as JavaFX, and may be contacted at jim.weaver@javafxpert.com.

Weiqi Gao is a principal software engineer with Object Computing, Inc. in St. Louis, Missouri. He has more than 15 years of software development experience and has been using Java technology since 1998. He is interested in programming languages, object-oriented systems, distributed computing, and graphical user interfaces. He is a member of the steering committee of the St. Louis Java Users Group. Weiqi holds a Ph.D. in mathematics.

Open-source developer and agile manager Stephen Chin is founder of numerous open-source projects including WidgetFX and JFXtras, and senior manager at Inovis in Emeryville, California. He has been working with Java desktop and enterprise technologies for more than a decade, and has a passion for improving development technologies and process. Stephen's interest in Java technologies has lead him to start a Java- and JavaFX- focused blog that is targeted at early technology adopters (SteveOnJava.com).

Dean Iverson has been writing software professionally for more than 15 years. He is employed by the Virginia Tech Transportation Institute, where he is a senior researcher and rich client application developer. He also has a small software consultancy called Pleasing Software Solutions, which he co-founded with his wife.

Product Details

  • Paperback: 568 pages
  • Publisher: Apress; 1 edition (July 21, 2009)
  • Language: English
  • ISBN-10: 1430218754
  • ISBN-13: 978-1430218753
  • Product Dimensions: 9.3 x 7 x 1.2 inches
  • Shipping Weight: 1.7 pounds (View shipping rates and policies)
  • Average Customer Review: 4.9 out of 5 stars  See all reviews (7 customer reviews)
  • Amazon Best Sellers Rank: #423,901 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

7 Reviews
5 star:
 (6)
4 star:
 (1)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.9 out of 5 stars (7 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

7 of 7 people found the following review helpful:
5.0 out of 5 stars The Definitive Reference for JavaFX, August 4, 2009
By 
Sten Anderson (Chicago, IL United States) - See all my reviews
(REAL NAME)   
This review is from: Pro JavaFX™ Platform: Script, Desktop and Mobile RIA with Java™ Technology (Expert's Voice in Java Technology) (Paperback)
"Pro JavaFX" is a very well-written, detail-oriented, yet approachable read. While learning JavaFX over the past year, mostly from blogs, hearsay, and copious amounts of trial and error, I had a functional, yet "swiss-cheese" understanding of the language. I was effectively a Java programmer writing JavaFX code -- but I wasn't writing idiomatic JavaFX. I wasn't a JavaFX programmer.

PJP answered nearly all of my questions by not only explaining language features and corner cases, but also usually the rationale and implications behind them as well. It made it easy to get excited about the language itself all over again.

For example, take this small code fragment taken from Chapter 7 which will return the number of cells for a given player in a Reversi game (but I don't need to tell you that, because I think the code does a better job):

public bound function getScore(owner:Owner):Integer {
def cells = for (row in board, cell in row.cells where cell == owner) {
cell
}

return cells.size();
}

There's a lot going on here that I like (but not necessarily news): the bound function makes for easy updating of state, and constructing a sequence from a "for" loop almost feels like cheating it's so concise (I think that "return" is optional though).

What's really great though, is JavaFX's "nested" for loops. I find "for (row in board, coll in row.cells where cell == owner)" not only concise, but about as clear as if it were written out in English. PJP is littered with these "idiomatic pearls of wisdom" that helped me realize how Java-centric my JavaFX code was.

The book is a good survey of JavaFX as it exists today (version 1.2). In addition to the language proper, it covers many of the third party libraries (JFXTras, et al.), has a chapter on building a professional RIA book store front type app, and finishes with a solid chapter on JavaFX Mobile.

While readable cover-to-cover, I've found it more valuable as a reference to pick and choose from as needed. For example, today I finally read up on mixins and the different forms of triggers.

I highly recommend this book to anyone interested in JavaFX. It will likely stay on my desk for some time to come.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


7 of 8 people found the following review helpful:
5.0 out of 5 stars Everything you need to know about JavaFX 1.2 in one place, July 20, 2009
This review is from: Pro JavaFX™ Platform: Script, Desktop and Mobile RIA with Java™ Technology (Expert's Voice in Java Technology) (Paperback)
Whether you are new to JavaFX or a seasoned Java desktop developer, if you want to get to know JavaFX, then I happily and wholeheartedly recommend the Pro JavaFX Platform book. It is a good book, and it will get you up to speed very quickly. It is based on the latest JavaFX 1.2 release, so you need not worry that you're learning old language and API's.

This book feels like it is primarily targeted towards desktop and rich internet application developers. It contains technical information for developers and designers, and builds a compelling case for choosing JavaFX for web applications and Rich Internet Applications.

Chapter 1, Getting a Jump Start in JavaFX, gives a good introduction to developing applications in the JavaFX language. It brings you up to date on the brief history of JavaFX, and shows you how to get the JavaFX software development kit. It then walks you through the process of compiling and running JavaFX applications, and teaches you a lot about the JavaFX language and API while walking through example application code.

Chapter 2, Taking a Closer Look at the JavaFX Script Language, covers the fundamentals of the JavaFX Script language, including concepts such as variables, primitive types, literal values, and basic operations. JavaFX sequences are introduced in this chapter, along with how to access their members and perform sequence comprehension. By the end of this chapter you have had a comprehensive introduction to the JavaFX Script language.

Chapter 3, Creating a User Interface in JavaFX, associates the metaphor of creating a theatre play with JavaFX development, and discusses creating a stage, a scene, nodes, a model, event handlers, and animating some of the nodes. It then delves into each of these concepts using JavaFX examples, finishing up with a Pong-like game that demonstrates how to detect when nodes in the scene have collided.

Chapter 4, Using Functions, Classes, and Other Advanced Features, discusses how to define functions and classes of your own. It then covers function signatures and function types, and how to write anonymous functions. From there, this chapter introduces how to define class hierarchies, and the covers the details about class types. It also discusses what happens when an object is instantiated and how you can exert control over the process. This is one of the more comprehensive and in-depth chapters within the book, and it will certainly require you to be on your A-game to understand it all. Alternatively, be prepared to re-read this chapter as the need arises.

Chapter 5, Creating Custom UI Components and Charts in JavaFX, explains how to define custom UI components of two fundamentally different types -- custom nodes, and UI controls. After showing you how to create custom nodes in the context of creating a couple of color selection components, it covers how to create UI controls in the context of a stoplight control that has multiple skins. The chapter finishes by teaching you how to use the charting controls to simply and easily create charts in JavaFX.

Chapter 6, Using the Media Classes, explores the capabilities of the JavaFX media classes that make it easy for developers to incorporate playback support for most of the popular formats. This chapter demonstrates how simple it is to include basic media playback support in your JavaFX applications and then shows you how to build more sophisticated playback applications.

Chapter 7, Dynamically Laying Out Nodes in the User Interface, shows how you can leverage the dynamic layout mechanisms of JavaFX to build complicated user interfaces with zero static positioning. These mechanisms include the bind statement, powerful custom layouts built on top of the Panel and Container classes, and the built-in layouts including HBox, VBox, Flow, Tile, and Stack.

Chapter 8, Extending JavaFX with Third-Party Libraries, introduces several of the JavaFX third-party extensions that simplify the development of applications. All of the third-party extensions introduced in this chapter are available as free or open source libraries. This ensures that anyone can make use of these libraries, and also guarantees that you will not be locked into a specific vendor.

Chapter 9, Building a Professional JavaFX Application, shows you some of the professional techniques we use to write real-world JavaFX applications. You will need them when working with a graphic designer, and you will find them useful when you are confronted with the memory usage and performance trade-offs that developers need to consider for real applications. This chapter also provides tips and techniques for enhancing the user's experience.

Chapter 10, Developing JavaFX Mobile Applications, teaches you the basics of JavaFX Mobile development, which will enable you to write portable applications that work on both desktop and mobile devices. During this chapter you'll gain an understanding of the Common Profile, learn how to take advantage of the Java ME capabilities beneath JavaFX Mobile, and adopt JavaFX Mobile best practices that will enable you to write high-performance applications.

The Appendix presents the keywords and the operators of JavaFX Script. Precedence and associativity rules are supplied for the operators.

This book is, I would argue, most relevant for people with previous programming experience. It does not require you to have any previous understanding of JavaFX Script, as it does a very good job of introducing JavaFX Script early in the book. Despite this, if you do come to this book with some knowledge of JavaFX already, the content within this book is very useful to quickly grow your understanding.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4 of 4 people found the following review helpful:
5.0 out of 5 stars Great Comprehensive Reference, August 5, 2009
By 
Amy Fowler "Aim" (Los Gatos, CA USA) - See all my reviews
This review is from: Pro JavaFX™ Platform: Script, Desktop and Mobile RIA with Java™ Technology (Expert's Voice in Java Technology) (Paperback)
The authors of this book have been tracking the bleeding edge of the JavaFX technology from its very inception and along the way have worked closely with us (the JavaFX engineering team) both to understand the technology and give us practical feedback on making it easier to learn and use. This book is everything we'd like our documentation to be: organized, thorough, practical, and easy to read. In fact, I'll be using it as a general reference myself for the areas of JavaFX for which I don't personally work on.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews





Only search this product's reviews



Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(4)
(4)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject