This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JavaFX and the fly likes Talk about: JavaFX: Developing Rich Internet Applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Talk about: JavaFX: Developing Rich Internet Applications" Watch "Talk about: JavaFX: Developing Rich Internet Applications" New topic
Author

Talk about: JavaFX: Developing Rich Internet Applications

G. Red
Greenhorn

Joined: Apr 10, 2008
Posts: 6
Posted on c.l.j.programmer about a week ago:

Under Oracle's charge, Sun Microsystems will fuel PCs and phones with Java and JavaFX, challenging Google's Android on netbooks, Oracle's chief Larry Ellison has said.

The CEO has also made it clear he expects the Sun-backed OpenOffice project - and potential challenger to Microsoft's Office - to dump AJAX and switch to Sun's JavaFX for its web interface.


http://www.theregister.co.uk/2009/06/02/ellison_oracle_javafx/

OK, so if Larry Ellison is pushing JavaFX, then I think it's time I took an interest in it. So the arrival of a new JavaFX book is very timely. Here's a few questions off the top of my head:

1. Who is the book aimed at? Beginners? Web programmers? Experienced Java programmers?

2. Can I get some detail on what exactly it covers? For example, is there a table of contents available?

3. Does the book specifically talk about how to call regular Java classes from JavaFX? How about how to call JavaFX classes from Java (this is something that I'm especially interested in)?

4. Are any JavaFX internals discussed? For example, JavaFX appears to use the same plug-in and JVM that Java uses. Is the class file format the same? Are JavaFX classes compatible with Java classes? How are they different?

5. What about deployment options? Is this subject fully explained and detailed? This is an area where in general I don't think Java gets quite enough attention.

6. Is there anything else you think I should know about the book?


OK, thanks for any info you can provide!
Jim Clarke
author
Ranch Hand

Joined: Jun 15, 2009
Posts: 49
1. Who is the book aimed at? Beginners? Web programmers? Experienced Java programmers?
All three.

2. Can I get some detail on what exactly it covers? For example, is there a table of contents available?
http://www.amazon.com/JavaFX-Developing-Rich-Internet-Applications/dp/013701287X

Click "See all Editorial Reviews"

3. Does the book specifically talk about how to call regular Java classes from JavaFX? How about how to call JavaFX classes from Java (this is something that I'm especially interested in)?
There is a whole chapter, dedicated to this.

4. Are any JavaFX internals discussed? For example, JavaFX appears to use the same plug-in and JVM that Java uses. Is the class file format the same? Are JavaFX classes compatible with Java classes? How are they different?

We don't discuss the internals that much, but JavaFX class compile directly to Java Byte code so are fully compatible with the same byte code that Java produces.
JavaFX classes can extend at most one other JavaFX or Java class, and the Java class is required to have a no-args constructor. However, there is a new concept called "mixin" which is a class that gets mixed into the class that inherits from it. JavaFX classes may extend as many mixins and Java interfaces as it wants. It is fairly seamless to make calls out to Java. The chapter discusses how all this works and covers some of the corner cases.

5. What about deployment options? Is this subject fully explained and detailed? This is an area where in general I don't think Java gets quite enough attention.

JavaFX embraces the Java-Web-Start model that now supports Applets as well as stand-alone applications. So Java-Web-Start makes sure you have the latest versions of the JDK and libraries installed on the local system, but does not needlessly download versions that are already cached on the client machine.

6. Is there anything else you think I should know about the book?
The authors are three really nice guys.
G. Red
Greenhorn

Joined: Apr 10, 2008
Posts: 6
Jim Clarke wrote:2. Can I get some detail on what exactly it covers? For example, is there a table of contents available?
http://www.amazon.com/JavaFX-Developing-Rich-Internet-Applications/dp/013701287X

Click "See all Editorial Reviews"

3. Does the book specifically talk about how to call regular Java classes from JavaFX? How about how to call JavaFX classes from Java (this is something that I'm especially interested in)?
There is a whole chapter, dedicated to this.



Two awesome answer there. Thanks bunches, I think you just made yourselves a sale. (7 bucks off and free shipping at amazon, woohoo! ;))
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Talk about: JavaFX: Developing Rich Internet Applications
 
Similar Threads
Mandatory Course Requirement for OCMJD & OCMJEA starting October 1st
Oracle about to change sun certification model
Any plans for SDK release on Windows or Linux computers? Java Support?
Jokes in English
Essential JavaFX: Why No Real RIA?