Eclipse Helios Gets Cozy with Your OS
Join the DZone community and get the full member experience.Join For Free
let's start with two, non trivial, claims: (a) native apps are not dead yet (os native, as opposed to web apps), (b) people prefer the native apps .
it's relatively easy to see that when looking at the modern mobile platforms: ios and android. there are so many native apps and developers even develop native apps for both platform . in most cases, this could be solved with one good web app. but people prefer the native apps. facebook is a good example. they have a good mobile site, but people still install and use the native client.
why? i don't have anything substantiated, but here's my guess:
- unified experience - it fits better within the os: it looks the same, uses the same widgets, etc.
- it works offline .
does this applies to the larger devices? i believe so. on the face of it, there's a rise in web apps and decline is desktop apps. but, the desktop is not dead yet. office apps are a good example: even microsoft thought it would be wise to create a web-based office apps , but it still kept the office 2010 on track (with 9m beta downloads ...) and we would probably see office 2012...
i believe most of the reasons above still apply in the desktop world. speed is less of an issue with the current browsers arms races. that leaves us with offline capabilities and unified experience.
now, let's look at eclipse. imho, it is the best open source framework for cross platform desktop app development. mainly because it blends into the operating system. it feels more natural than any other solution. it blends so well, some people will never know it is java behind the scenes.
eclipse helios (aka eclipse 3.6), which was released a couple of weeks ago takes this even further with cool new ways of assimilating your application into the operating system. i chose two new features that may look minor, but make a lot of difference to end users.
open file feature
this features enables eclipse to open files directly from the os. this means files may be associated with eclipse or eclipse-based applications. for example, you can associate java files with eclipse and have them open for editing within eclipse with a simple double click. if you've always wanted to use eclipse as a text editor, now is your chance.
the new feature enables launching eclipse and opening a file from the command line as well as opening a file in an existing eclipse instance, although i found that works better on a mac and not as well on windows. the original eclipse distro does not include an installer, so it does not set any file associations in the operating system. you can do it yourself, more details can be found in the eclipse wiki . nevertheless, it opens the door for other distributions and eclipse-rcp based applications to provide such features with minimal effort.
taskbar/dock icon api
the taskitem api enables some very cool tricks that can be applied to the application icon in the taskbar on windows or dock in os x. it includes:
- overlaying an image or text over the icon.
- displaying progress.
- adding custom right-click actions to the icon.
the images were taken from the eclipse helios new and noteworthy pages. developers who wish to utilize those new features should look at this snippet as an example.
imho, these features, along with many more additions, makes helios an even more compelling choice for cross platform desktop development. once you do decide to make the leap and turn your app into a web app, check out eclipse rap as a possible solution (but that's a topic for a different article).
Opinions expressed by DZone contributors are their own.