Flash4j 3.0 - A Java Api For Flash Development
Emitrom, a company providing custom enterprise software application services, has recently released Flash4j version 3.0 under the Apache Licence. Flash4j is a Java API (initially a wrapper over Apache Flex) that offers Java developers a familiar way to develop Flash applications on the desktop or on mobile devices.
Flash4j offers as self-contained Java classes:
- Controls such as buttons, menus, datagrids, lists, Date choosers etc.
- Containers such as Windows, boxes, accordions
- Advanced controls for charts and graphs
- An event system similar to Swing
There is a live demo showing several examples along with their source code.
It is interesting to note that even though Flash4j is clearly aimed at Flash runtimes, Emitrom acknowledges the importance of HTML5 as a fallback mechanism. Thus, Flash4j has smart detection for the presence of a Flash environment allowing the developer to handle differently devices that do not support Flash. It is therefore possible to write a Flash4j application that conditionally serves HTML5 depending on the environment.
Flash4j can also be integrated with:
- Apache Flex
- The Starling Flash game engine
- The GreenSock Tweening library for animations
- The Adobe Air platform
- Sencha GXT
The support for Adobe Air is important since it allows Flash4j to target applications that run on the desktop outside the browser. Therefore Emitrom argues that with Flash4j a single codebase written in Java can run on the desktop (via Adobe Air), on the browser (via Flash) and on mobile devices (via HTML5 from GWT). This makes development of cross platform applications (or games) easier since no porting is involved.
Great idea, but...
I like it
Flash will still be relevant for at least 5 more years. Plus there are organisations that wont/cant update their browser and still needs Flash solutions.
And it looks like Emitrom provides a nice way to fall back to HTML5 for platform where Flash is not supported.
Definitely the best thing i ve seen build around Flash.
Re: Great idea, but...
Re: Great idea, but...
replace "isn't Flash on the way out" with "aren't Flash and Java on the way out" ;)
Wonder what you think is on it's way in...
Flash is on it's way out, however everything Java (and everything that's related BB, Android, etc.. or what runs on the JVM) is stronger than ever.
Edmund Jorgensen Nov 27, 2014
Lisa Adkins and Michael Spayd Nov 27, 2014