This post originated from an RSS feed registered with Java Buzz
by Fred Grott.
Original Post: Press Gets it wrong again-Eclipse and WORA
Feed Title: ShareMe Technologies LLC-The Mobile Future
Feed URL: http://www.jroller.com/shareme/feed/entries/rss
Feed Description: A Weblog about Java programming and digital convergence on mobile devices in such areas as P2P and collaborative technology.
At the JVM level and non JVM level AWT is different for different platforms in that the source code is different. In other words to implement WORA at the application level the classes that operate behind the scenes are different per platform.
The difference between AWT and SWT on the slimplistic level is that with AWT all classes for each OS platform are within the same distrubted JRE package. With SWT applicaiotns you only get the SWT that runs on your OS system. At the applicaiotn level its pretty much the saem calls on all OS platforms, ie not differrent ones!
Eclipe's method of using SWT does not break WORA rules as its only a variation on how AWT is implemented. A radical new way, yes, but not an attack on WORA! SWT applications are just as portable as those that rely on AWT and Swing.
If Bernard's missive were true than yo would get a wide variety of plugins use din Eclipes that would not work on all OSes. Guess what? This is not the case. Why? Becuase just like AWT, SWT abstracts out functions. Yes, those functions use specific OS code in each SWT library but the abstract of file acdcess, gui, and etc are the same! Not different! Its that abstraction that applicaiton developers write to, get it?