New-age Transactional Systems - Not Your Grandpa's OLTP
John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.
The content has been bookmarked!
There was an error bookmarking this content! Please retry.
Posted by Charles Humble on Jan 06, 2010
Sun is working on two RAD tools for JavaFX - one targeted at web developers and page content authors, and the other aimed more at Java developers. A preview version of the latter tool, tentatively called "JavaFX Composer" is now available for download from the NetBeans 6.8 update centre.
"We're not even calling this a beta - we're calling it an 'early access' or preview", said Sun's director of Developer Tools Engineering, David Folk, during a conference call. "What this tool is really about is enabling you to develop form-based applications with JavaFX."
The basic idea behind the new JavaFX tool is similar to Project Matisse for Swing, which simplified Swing development by providing a visual editor much like those found in Visual Basic or Delphi. As with Matisse, which became the NetBeans GUI builder when NetBeans 5 shipped, JavaFX Composer generates code as you work and, whilst you can view the generated source code, it frustratingly cannot be modified.
As you add JavaFX components from the palette to the design area you can bind them to a data source. The plug-in currently supports JDBC, HTTP (XML / JSON), FileSystem and File data sources, as well as nested Filters. The plug-in has some simple converters so you can readily bind say a REST or JSON data source to a list component.
As well as simply dragging and dropping components the plug-in has a concept of "states". Starting from an initial master state, you can add new states making changes to the visual components and/or their layouts. When your application runs, events such as a button click can trigger state changes that automatically get reflected in your UI as you defined it. Each transition can be tied to a simple animation allowing you to quickly build a GUI with zoom, fade and rotation effects..
The tool has a number of other useful features available such as profiles (which allow you to preview your application at different screen sizes for different devices such as desktop, mobile, and HDTV), and pre-defined templates for quickly building common GUI patterns such as Wizard (cancel, back, next, finish) and Index (previous, next) buttons which you can add and customise.
As you'd expect with an early access version there are a number of limitations with the tool. For example a number of key components such as the charts that were added to JavaFX 1.2 are not yet supported through the visual designer, some properties of the components that have been included cannot yet be edited visually, and the preview panel occasionally seems to "stick" and not be able to provide previews until the IDE is restarted. Nevertheless an afternoon spent playing with the tool is an enjoyable way to find out what JavaFX can do.
As well as much needed tooling, JavaFX needs some high profile applications if it is to gain more transaction. Early adopters of the platform include Ubivent, whose virtual event platform is entirely based on JavaFX, and WhiteStone Technology, who use JavaFX in the Workflow component of their Consolidated Service Desk and IT Service Management product. Perhaps of most significance to JavaFX's profile however is that the 2010 Winter Olympics, whose Organizing Committee is a major Sun customer, features a JavaFX based medal visualiser application on its website.
A Guide to Branching and Merging Patterns
SCM best practices for multiple processes, releases & distributed teams
Using Drools? See what you're missing! Get the Power of Drools with the Assurance of Red Hat
Monitor your Production Java App - includes JMX! Low Overhead - Free download
.... ahh... is this a good thing for Sun to spend $ on?
Scala + Eclipse SWT is somewhat interesting if you must do java runtime, but jre is a memory hog and very hard for end users to deploy, relative to top players (actionscript, sliverlight, unity, etc.).
You'd code something that no end user would ever see.
.... ahh... is this a good thing for Sun to spend $ on?
Scala + Eclipse SWT is somewhat interesting if you must do java runtime, but jre is a memory hog and very hard for end users to deploy, relative to top players (actionscript, sliverlight, unity, etc.). Or event QT and Lazarus.
You'd code something that no end user would ever see.
Still missing:
# User defined Conctrol support
# General Property Editor, such as font, fill, effect etc
The most things i want is the source code of JavaFX, not the compiler, but the runtime, the library. Without the runtime source, It is difficult to learn JavaFX, what is inside it?
John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.
Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.
Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.
Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).
Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.
Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.
One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.
InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.
3 comments
Watch Thread Reply