This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
It'd probably be a better idea to wait until the book promotion is announced before posting questions. In fact, I do not believe that question posted before the announcement are eligible for the drawing.
The main objective of the book is to teach JavaFX Script. It exists to help build Rich Internet Applications (RIA). I had high hopes in 1995 that the JVM would become ubiquitous. Then the browser wars happened, so the dream of an RIA world degraded into building applications using technologies and protocols (the Web, HTTP, HTML, etc.) that were designed to share scientific information. We then stretched these technologies to be able to accommodate applications, and the result in many cases are applications that are hard to write and maintain. I see JavaFX Script as a way to achieve RIA that fully leverages the power of Java on the client.
Thanks,<br />James L. (Jim) Weaver<br /><a href="http://JavaFXpert.com" target="_blank" rel="nofollow">"Helping you become a JavaFXpert" weblog</a>
Mohammed Yousuff
Ranch Hand
Joined: Oct 17, 2007
Posts: 198
posted
0
James Weaver Thanks a lot for your detail explanations
Originally posted by James Weaver: I see JavaFX Script as a way to achieve RIA that fully leverages the power of Java on the client.
Jim,
I am not trying to debate, but just want to get it clarified! Is it not an overhead to push code to client and then execute, rather than a client-server model? I thought that was one of the drawbacks fo the Applet technology!
Kindly clarify! --- many a thanks in advance [ April 02, 2008: Message edited by: Rahesh Kumar ]
One of the aims of JavaFX (and of the "Consumer JRE") is to address some of the drawbacks of applets. It still makes sense to offload processing to the client; keeping a farm of servers that run web applications is expensive. So it depends on your perspective whether it's a good thing or a bad thing to run code on the client. What's not in doubt is that Java (applets or JavaFX) can provide a richer client environment than HTML/CSS/DOM/JavaScript.
Originally posted by Ulf Dittmer: One of the aims of JavaFX (and of the "Consumer JRE") is to address some of the drawbacks of applets. It still makes sense to offload processing to the client; keeping a farm of servers that run web applications is expensive. So it depends on your perspective whether it's a good thing or a bad thing to run code on the client. What's not in doubt is that Java (applets or JavaFX) can provide a richer client environment than HTML/CSS/DOM/JavaScript.
@Ulf,
Thanks for replying! Though servers may prove costly to host the web application, offloading can be malicious and vulnerable too, IMHO. Yeah!! When we see some sample implementation, JavaFX/Applets give some life to the web apps, which the rest of the technologies don't!
For the benefit of others =========================
Ulf has thrown light on "Consumer JRE"! This is an update to the Java SE 6. Refer this article for more information!!
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35443
9
posted
0
offloading can be malicious and vulnerable
I don't really see how. The Java client sandbox is rather more secure than executing JavaScript in a browser.
Rahesh Kumar
Ranch Hand
Joined: Sep 10, 2004
Posts: 53
posted
0
Originally posted by Ulf Dittmer:
I don't really see how. The Java client sandbox is rather more secure than executing JavaScript in a browser.
Well. At the time of execution, Applets can gain control to the client system's resources, which is little unsafe. In a broswer based application, once scripts and other necessary things are offloaded to the client environment, not the entire functional code.
I had this thoughtfrom some source. What would be the advantage in the security aspect, if it is a sandbox, rather than a browser?
Well. At the time of execution, Applets can gain control to the client system's resources, which is little unsafe. In a broswer based application, once scripts and other necessary things are offloaded to the client environment, not the entire functional code.
I had this thoughtfrom some source. What would be the advantage in the security aspect, if it is a sandbox, rather than a browser?
Can you tell us the resosurces over which applets gain control over ? thanks
Rahesh Kumar
Ranch Hand
Joined: Sep 10, 2004
Posts: 53
posted
0
Originally posted by Prad Dip:
Can you tell us the resosurces over which applets gain control over ? thanks
@Prad,
I am stating what I know of!
There are two models in which applets can be loaded.
1. Loaded from the network. 2. Loaded from the local file system.
"Files" could be one good example of the resource, over which the Applet can take control of. I do accept that fact that Applets cannot ordinarily take control over, or change the file system. They need to be loaded with certain policies. They are called "Signed applets".