I like Eclipse

by Volker Weber

eclipsewebload.jpg

Today was the day that I learned to appreciate Eclipse. It lets even a Bozo like myself slap some Java code together that actually works. :-) Thanks, Hubertus, for giving me a head start. I could take it from there and create the utility I needed.

Comments

Actually, eclipse is often mistaken as a Java IDE.
No doubt, the Java IDE that it comes with is great, but there's a lot more to eclipse.
E.g. if you're working with XML-based document formats, there are multiple plug-ins which allow you to create documents and validate them as you write. Also, there is a plug-in which checks XML schemas for standard compliance and plausibility (i.e. it applies certain typical design error patterns and notifies about their usage).
Beyond that, there's a plethora of other plug-ins for just about anything you might need. That's the beauty of a well-working open source community...

Just my two cents,

Ragnar Schierholz, 2004-04-30 07:58

...and I like to see it running under MacOS X.

Recommended plugins: x-men(XML) and transclipse(XSLT)

Volker did you call the array variable 'siteSucker'?

Tobias

Uh. Improve XSLT plugin, not transclipse. Sorry

Tobias, siteSucker seems to be an array of concurrent HttpGet threads.

Volker, some remarks, maybe interesting for a Java newbie:

- There is no need to use "new Long(timeDiff).toString()", because (a) .toString() is always automatically called by the concatenation operator "+" and (b) timeDiff is automatically convertet into a String when used in String concatenation. Writing "timeDiff" instead makes the code a little bit more clear.

- Interesting you are using Date instances to measure the time. You could also have been using System.currentTimeMillis(), which would be a little bit more accurate, as it does not force a new instantiation. For displaying dates, DateFormat.getDateInstance().format(date) is recommended.

- It appears, that you are implementing some kind of "busy waiting" (but I cannot tell correctly as most of the code is hidden), when writing "stillAlive = true" inside a loop. This causes some processor load. Using Object.wait() and Object.notify() would be much more effective (but maybe you've already implemented it like that?).

Anyway, good start, using concurrent threads and the java.net. package is quite good for a beginner (did you take a look at Apache's httpClient project?).

-Mo.

Maybe you're trying to develop something which is already done in JMeter ( http://jakarta.apache.org/jmeter/ ), don't you?

I've used JMeter recently to stress a webapp, and it worked nicely. It's a very complete app.

Denis Fuenzalida, 2004-04-30 19:47

Denis, JMeter is an aircraft carrier, whereas I am looking for a small boat. I believe that the organization would rather use Rational Robot than JMeter if they were to deploy a real solution.

Post a comment











Shall I remember this for you?




Use your full name and a working email address. Unless you want your comment to be removed. No kidding.



Recent comments

Carl Tyler on Everybody's PIN Number: Revealed! at 01:09
Armin Roth on Everybody's PIN Number: Revealed! at 00:43
Frank L. Quednau on Everybody's PIN Number: Revealed! at 23:42
Volker Weber on Everybody's PIN Number: Revealed! at 22:00
Chris Linfoot on Everybody's PIN Number: Revealed! at 21:57
Jan-Piet Mens on Everybody's PIN Number: Revealed! at 21:39
Marco Klop on Synchronizing iPhone with ... Lotus Notes at 18:55
sunny gerscky on Pwnage 2.0 released at 16:00
Tobias Lange on Remember, it's always the cable at 13:16
Volker Weber on Remember, it's always the cable at 12:21
Ian White on Remember, it's always the cable at 11:56
Andy Brunner on Remember, it's always the cable at 11:37
Ben Rose on Remember, it's always the cable at 11:33
Ben Poole on It has only been less than two hours at 09:44
Frank L. Quednau on It has only been less than two hours at 09:29
Martin Hiegl on It has only been less than two hours at 08:27
Stephan H. Wissel on Notes.ini parameter RunFaster=1 is finally here at 05:24
Volker Weber on It has only been less than two hours at 01:33
Thomas "Duffbert" Duff on It has only been less than two hours at 01:26
Chris Linfoot on Planet Lotus not picking up Christopher's feed at 21:56
Yancy Lent on Planet Lotus not picking up Christopher's feed at 19:48
Bruce Elgort on Robin Bloor: Why Google Chrome Will Dominate at 18:51
Mac Guidera on Planet Lotus not picking up Christopher's feed at 16:04
Kevan Emmott on 824 Chrome users so far today at 15:56
Chris Linfoot on Planet Lotus not picking up Christopher's feed at 14:54

Ceci n'est pas un blog

vowe.net is a personal website published by Volker Weber a.k.a. vowe. I am an author, consultant and systems architect based in Darmstadt, Germany.

rss Click here to subscribe

Hello

About me
Contact
Publications
Certificates
Frequently asked questions

Twitter Updates

More >

Poll

Can you bring a camera phone to work?

Getting poll results. Please wait...

Local time is 08:20

visitors.gif
120 visitors online

News

Other sources of news, imported into my own format to make them more accessible:

Heise Online
Schlagzeilen
Weather

Archives

As most of my articles roll off the front page rather quickly, I am making an archive of previous posts available here. You can also use the handy search box at the top of the page if you are looking for something particular.

Last 30 days
More archives

Got the T-shirt?

Got the T-shirt?
Are you buying from the US?

Systems Architecture

This site runs on an Apache web server on top of the Linux operating system. The content is managed with MovableType which is implemented in Perl. Last but not least the HTML code your browser sees is put together with PHP.

© 1992-2008 Volker Weber.
All Rights Reserved.

Impressum