Hi, I've checked the demos, and from what I could see it's generating swing/java2d code behind the lines. all of the demos run as Java Web Start apps, not true RIA apps, like Laszlo or Flex, and this might decourage many users not willing to go that way. It'll certainly have strong dependencies with the user's JVM, and can well see apps not running because they're Java6 and user has Java5 (at best). Loading times for complex apps will be unbaerable, since the whole client app has to be loaded before it starts. Security could also be concerned. If you need your client executing locally on the user's PC to access business services, data, EJBs or whatever, they have to be somewhat exposed to the world, which is not the case with server hosted apps lie laszlo and flex.
The idea behind it, of scripting a swing/java2d based GUI sounds nice, but I'd like to see how it can solve real world problems, like having that fancy tesla motors website demo working inside a browser, and with actual dynamic data coming from business services and databases. I haven't gone that deep yet, but if it's flexible enough to generate any kind of code (like flash or DHTML) in a plugable fashion, it could be used by tools like laszlo or flex to provide a standard UI definition language less verbose and certainly more powerful than XML/ECMAScript. I'm probably dreaming here... Regards, Raul >> Java is fighting back: >> >> /JavaFX/ <http://www.sun.com/software/javafx/index.jsp>/ is a new family >> of Sun products based on Java technology and targeted at the high >> impact, rich content market./ >> >> /JavaFX Script is a highly productive scripting language that enables >> content developers to create rich media and content for deployment on >> Java environments. JavaFX Script is a declarative, statically typed >> programming language. It has first-class functions, declarative syntax, >> list-comprehensions, and incremental dependency-based evaluation. It can >> make direct calls to Java APIs that are on the platform. Since JavaFX >> Script is statically typed, it has the same code structuring, reuse, and >> encapsulation features (such as packages, classes, inheritance, and >> separate compilation and deployment units) that make it possible to >> create and maintain very large programs using Java technology. See the >> //FAQ/ <https://openjfx.dev.java.net/JavaFX_FAQ.html>/ for more >> information./ >> >> I am very impressed with the demos in the site >> <https://openjfx.dev.java.net/>, and the way less verbose way to >> describe interfaces (/when compared with traditional Java Swing code, >> and I am thinking it could even be a threath for XAML & XML, some people >> on the net believe that XML is the poor man's parser, and that it is >> being overutilized to create stuff that should be implemented as an >> specific language >> <http://www.sdtimes.com/fullcolumn/column-20060901-05.html>... well, >> JavaFX is not XML... is this the start of a new trend?)/, I was also >> very exited to see how easy is to add animation to Java 2D application >> with this new API /(everything that can be done with Flash will be >> possible... and maybe even more.../). Now... the question are: >> >> * Will Sun release a "UI Designers Pack" for Netbeans that will be >> pretty much something like Microsoft Expressions >> <http://www.microsoft.com/expression/> for Java? >> * Could OpenJFX be adopted by projects like OpenLaszlo? >> * Is using JavaScript like languages the new trend? >> * Will JSON-like stuff become the new poor man's parser? >> >>> >>> >>> >> >>
