Google has pretty much swept the AJAX field with its GWT - but a lot of fairly viable options remain on the table. Of these I've had a lot of experience with Echo2 from NextApp
Both Echo2 and GWT offer the advantage to developers of being able to develop purely in Java - a huge benefit to back end developers wanting to break out without necessarily having to kill themselves over browser anomalies and such.
However, they differ in a crucial way - GWT pushes practically all computing and state management to the client/browser. In effect they create a browser based/Javascript based JVM that runs the UI which is generated as a post compilation step from the Java code. This is great from a scalability perspective since the server just deals with data generation.
Echo2 on the other hand (soon to be Echo3) does on the fly rendering of the screen based on the Java code and does a lot of heavy lifting on the server including state management for all users.
The big benefit I felt from Echo2 was the fact that not only was everything pure Java at development time but it remained so at runtime as well. So debugging etc tended to be much smoother. Also the transparency of developing and running on the same JVM can be a pretty good thing for large volumes of code.
I have a fairly large application running off a Ubuntu+JBoss combination very stably for some time now and I believe it deserves at least one good look.
The differences between the 2 will continue to narrow with time so I will continue to update my opinions over the next few postings.
As an active developer, I feel the benefits of open software every day. At the same time, having worked for several large corporations, I'm constantly reminded of the vast chasm dividing those of us who believe in the power of 'open', from those who think it is just another nutty hobby. This weblog is a running commentary on my experiments with various open products and libraries in an attempt to bridge this gap...
Saturday, December 29, 2007
Sunday, December 23, 2007
Accessing files from a USB drive on non-GUI Ubuntu
Ubuntu Desktops transparently make available the files on a USB drive as a folder on the user's desktop. But with Ubuntu server and no GUI, the same can appear challenging. However, Ubuntu makes it really easy:
All you do is plug in the device as usual. Ubuntu may display some logging on the current console to indicate USB registration. Now if you want the files and folders in the drive to appear in folder called called '/test' under your home folder - simply do the following:
mount /usr/dev/sda1 /test (provided "/test" exists on your system.)
Another option is to try the following:
ls /media
If your USB hard drive had been correctly inserted and registered, you should see under media, a list of the currently inserted USB devices including the one you want to access, as folders. You can simply change directories and access files under the relevant folder
All you do is plug in the device as usual. Ubuntu may display some logging on the current console to indicate USB registration. Now if you want the files and folders in the drive to appear in folder called called '/test' under your home folder - simply do the following:
mount /usr/dev/sda1 /test (provided "/test" exists on your system.)
Another option is to try the following:
ls /media
If your USB hard drive had been correctly inserted and registered, you should see under media, a list of the currently inserted USB devices including the one you want to access, as folders. You can simply change directories and access files under the relevant folder
Subscribe to:
Posts (Atom)