File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes What is the most useful component among jakarta commons? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "What is the most useful component among jakarta commons?" Watch "What is the most useful component among jakarta commons?" New topic

What is the most useful component among jakarta commons?

Kazuto Waga

Joined: Mar 17, 2004
Posts: 3
And what is the least?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
I have gotten the most out of the HttpClient toolkit.
I used it to create a load tester for my on-line exam servlet.
The "codec" collection is pretty handy too - when people write asking for my phonetic encoding (Metaphone) source, I send them to the Codec collection too.
[ April 13, 2004: Message edited by: William Brogden ]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

I dont think it is possible to say which is more useful. Doesn't it depend on your project? Digester may be useful to me but not to another guy.

Carol Enderlin
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
OK, how about "What jakarta commons component have YOU found to be the most useful and WHY?"
Mike Wang
Ranch Hand

Joined: May 09, 2003
Posts: 76
Every common project is useful. How do you define the word "most"?
Originally posted by Kazuto Waga:
And what is the least?

SCJP1.4<br />SCWCD 1.4 (Beta)<br />SCMAD 1.0 (Beta)<br />SCDJWS (Beta)<br />SCBCD 1.3 <br />SCJD <br />SCEA (Prepairing)<br />"I am mike, not milk"
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
I have mainly used the Commons Net project and HttpClient, and once (for prototyping, didn't end up into the production branch) DBCP + Pool. I don't recall using any of the other Commons stuff directly (obviously there are certain dependencies which could be used to argue that I am, in fact, using "Commons Foo" because I'm using "Commons Bar").

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Harshad Oak
Ranch Hand

Joined: Oct 21, 2002
Posts: 45
I would agree with Pradeep that 'most' useful is relative to the kind of Java development undertaken.
For a standard Java web application I would say Digester, HttpClient, Lang and Logging are useful.
If you are using Struts, Validator is a must have. The database connection pooling (DBCP) component can be easily integrated with Struts and is useful especially if you are using a app server that does not have DB connection pooling features.
If you are writing JDBC code, DbUtils is a simple yet useful tool to have.

Pro Jakarta Commons
Implementing DbUtils (An article based on the book's contents)
Jakarta Commons

------------------------<br />Harshad Oak<br /> <br />- Oracle ACE Director, Sun Java Champion<br /> <br />Author:<br />- Pro Jakarta Commons<br />- Oracle JDeveloper 10g: Empowering J2EE development<br />- Java 2 Enterprise Edition 1.4 Bible<br /> <br />- SCJP, SCWCD<br />------------------------
Jason Menard

Joined: Nov 09, 2000
Posts: 6450
I'm a big fan of BeanUtils and Digester.
Kazuto Waga

Joined: Mar 17, 2004
Posts: 3
Yes, I wanted to know what is really *common* and fits almost all projects, and what is decisive in particular needs.
I know every commons component is awesome, so was just kidding the
word 'least'. Forget about it please.
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
please read this web page. Hope that helps.
vasu maj
Ranch Hand

Joined: Jul 12, 2001
Posts: 396
Nice article Sunita.


What a wonderful world!
I agree. Here's the link:
subject: What is the most useful component among jakarta commons?
It's not a secret anymore!