Welcome!

Java IoT Authors: Liz McMillan, Yeshim Deniz, Zakia Bouachraoui, Elizabeth White, Pat Romanski

Related Topics: Java IoT, Agile Computing

Java IoT: Article

The JavaFX SDK Has Landed

Technology that could change the way programs are created

At last year's JavaOne Chris Oliver gave a presentation on JavaFX in which he discussed how he was interested in programming Java2D not in terms of JComponent paintEvent methods that launch into graphics.drawLine(...) or graphics.drawRect(...) code, but instead by allowing the developer to create an object model representing a Java2D picture. He also wanted to use scripting to describe a figure graph of objects rather than Java code, having seen the success of other scripting languages. Most important, Chris was interested in making this accessible to the kinds of people who like to use professional drawing packages to create artwork so that they could be more engaged with application development without having to throw their designs over the wall to programming teams. In addition, JavaFX would have built into it concepts such as animation, data binding, and a host of other concepts that, although supported in Java, are otherwise difficult or verbose to write.

Ladies and gentleman, the Eagle has landed. Last month the JavaFX SDK Preview was made publicly available at http://javafx.com/. Plugins for developing FX with NetBeans can be downloaded from http://java.sun.com/javafx/ downloads/, which also contains links to Project Nile, a very exciting piece of work that makes plugins available to Adobe Photoshop and Illustrator so graphic designers can easily export their artifacts to FX, something demo'd very nicely by Rob Brewin at this year's JavaOne.

The last year or so must have been an incredibly tough journey, not only for the Sun engineers working on FX, but also for the Swing team who have had the spotlight taken off them for a year or so, as well as the Sun marketing and management team who have had to play the game of getting the timing and technology messages to the right people at the right time.

My opinion of FX is that it is a technology that could really change the way programs are created. Its original name of F3 was an abbreviation for Form over Function, a term in architecture that describes the process of first designing what a building is going to be used for, such as a school, a sports hall, or a fire station, and then building it to be fit for this purpose. A lot of software development, especially user interfaces, works the opposite way. The developer gets a set of pre-defined bricks from a palette and assembles the GUI based on arranging these within totally alien things called layout managers. The designer is forced to follow an incredibly narrow set of rails that the programmer is comfortable with building along. When any deviation is suggested, the cost is large and the developer counters with the argument that the reason everything should be gray on gray on gray with a square button saying "OK" and "Cancel" is because that's what users are familiar with and so forth.

The Holy Grail is to allow the designer to describe the application and its interface the same way an architect designs a building, and for the builders and programmers to just make sure the thing doesn't fall down when it gets windy or too cold in winter. JavaFX has the potential to do this GUI development. For those who bash it, there is probably a certain truth to their diatribe, but I think back to how immature Java was when it was first released and how quickly ideas can go from concept to mainstream development. What we should do as a Java community is to try out the FX SDK, discover its strengths and weaknesses, and try it out on some proof-of-concept projects, giving feedback to the development team on where it is lacking or needs improving, and hopefully help Java to recapture its lost crown of the rich Internet application space.

More Stories By Joe Winchester

Joe Winchester, Editor-in-Chief of Java Developer's Journal, was formerly JDJ's longtime Desktop Technologies Editor and is a software developer working on development tools for IBM in Hursley, UK.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


IoT & Smart Cities Stories
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things'). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing. IoT is not about the devices, its about the data consumed and generated. The devices are tools, mechanisms, conduits. This paper discusses the considerations when dealing with the...
Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
Bill Schmarzo, Tech Chair of "Big Data | Analytics" of upcoming CloudEXPO | DXWorldEXPO New York (November 12-13, 2018, New York City) today announced the outline and schedule of the track. "The track has been designed in experience/degree order," said Schmarzo. "So, that folks who attend the entire track can leave the conference with some of the skills necessary to get their work done when they get back to their offices. It actually ties back to some work that I'm doing at the University of San...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
DXWorldEXPO LLC announced today that Telecom Reseller has been named "Media Sponsor" of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
In his keynote at 19th Cloud Expo, Sheng Liang, co-founder and CEO of Rancher Labs, discussed the technological advances and new business opportunities created by the rapid adoption of containers. With the success of Amazon Web Services (AWS) and various open source technologies used to build private clouds, cloud computing has become an essential component of IT strategy. However, users continue to face challenges in implementing clouds, as older technologies evolve and newer ones like Docker c...
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering Cloud Expo and @ThingsExpo will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at Cloud Expo. Product announcements during our show provide your company with the most reach through our targeted audiences.