Written on
April 20, 2005 – 12:00 am | by mpayne
I tasked myself with a simple project:
Namely create a form with a checkbox and textField.
When someone clicks on the checkbox, set the textField.text to "Please enter some text".
(A fairly simple process to do with javascript directly).
I first tried .NET. Within 5-10 minutes, I had a working solution. Keep in mind, I am not a .NET developer.
Next
I tried Sun’s Java Studio Creator. After working with it for about an
hour, I could not get the event assigned to the onclick event of the
checkbox, though I had it working for a form submit. Is this the best Sun could
do for a product that came after its competition? Also note its 3 times
slower than eclipse. However according to this article, "When it comes to Java Tools Sun Java Studio Creator beats them all!" ?
I looked around for other tools myeclipse
ide claims they have jsf support. However, their is no form designer.
There are a couple of wizards and some dtd code completion. Gee thanks,
I can get dtd code completion from xmlbuddy. myeclipse ide doesn’t have
jsf support, they have a bunch of marketing checkboxes.
I tried
Oracle JDeveloper, it was a much snappier ide. Overall its not a bad
ide, but for jsf development it doesn’t offer much more thans Sun’s.
Next I wanted to see, what else does "Java" have to offer outside of JSF.
I tried Echo Studio by nextapp. Echo Studio, is pretty much an eclipse
plugin. Its an ide for the Echo framework. The jar for the plugin is
about ~500k. Within 20minutes I had a working solution. I had to make
by components global with their respective class in order to make them visible to other components during within events, something the ide generated components don’t do by default.
Overall it was pretty easy. Very similiar to swing programming. Here is a snippet of the check event.
private void doCheck(ActionEvent e) { if (checkBox1.isSelected()) { textField1.setEnabled(true); textField1.setText("Please enter some text"); } else { textField1.setEnabled(false); textField1.setText(""); } }
Is the end, I have to ask. How does a 500k eclipse plugin beat out the best thing sun/jsf has to offer?
"Sun"— I don’t need anymore wizards that bring back rowsets etc. Just finish the gui designer, I’ll take care of the backend.
Posted in java | 8 Comments »