aspose file tools*
The moose likes Other Open Source Projects and the fly likes jakarta commons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "jakarta commons" Watch "jakarta commons" New topic
Author

jakarta commons

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

What is Jakarta Commons all about? :roll:


Groovy
brad balmer
Ranch Hand

Joined: Mar 08, 2004
Posts: 57
It is a toolbox of code and components that seem to pop up in most applications. So, instead of writing this yourself, you can use the commons code which is open source and has been checked over for bugs.
I'm hoping that you've already checked out:
http://jakarta.apache.org/commons/
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
Basically collection of packages. One of best is FileUploader which is very handy. Please check this web page
Tony Williams
Greenhorn

Joined: Oct 26, 2003
Posts: 7
The Commons Collections extends the available collections classes in Java. Some nice additions are the ordered maps and composite collections.
The Collections also have methods for standard Set Theory stuff like unions, intersections, etc.
Very nice functionality. Give them a try.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

Commons looks quite useful. Is log4j part of commons?
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
Its not.
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
Originally posted by Pradeep Bhat:
Commons looks quite useful. Is log4j part of commons?

It does have Commons Logging though that allows you to configure the actual logger implementation that you wish to use. So looks like you can switch between log4j, then jdk1.4 logger etc.
I have never tried it out though
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

Originally posted by karthik Guru:

It does have Commons Logging though that allows you to configure the actual logger implementation that you wish to use. So looks like you can switch between log4j, then jdk1.4 logger etc.
I have never tried it out though

Does Commons logging API act like a factory?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

Good article on Jakarta Commons
http://www.onjava.com/lpt/a/3932
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
is that same one I mentioned
Mike Wang
Ranch Hand

Joined: May 09, 2003
Posts: 76
It is another abstract layer on top of the the JDK 1.4 logging api and log4j.
Actually both JDK1.4 logging api and log4j contain factory class to creat logger object.
common logger also defined his factory class.
Originally posted by Pradeep Bhat:

Does Commons logging API act like a factory?


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"
Mike Wang
Ranch Hand

Joined: May 09, 2003
Posts: 76
Originally posted by Pradeep Bhat:
Commons looks quite useful. Is log4j part of commons?

No. Log4j is a sub project of Logging Services Project @ Apache
http://logging.apache.org/
commons contains another abstract logging framework common logging(http://jakarta.apache.org/commons/logging/). If you want your log not to depend on JDK1.4 logging or log4j. you can use this common logging
Harshad Oak
Author
Ranch Hand

Joined: Oct 21, 2002
Posts: 45
Jakarta Commons is a set of components that I feel every Java developer at least should be aware of. Each component performs one task very well.
XML Parsing > Digester
HTTP communication > HttpClient
Logging> Logging component
Database Connection Pooling > DBCP
Validator> Configurable validations
...
there are many such components that can each save u precious time, effort and money.

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 />------------------------
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
Hi Harshad,
Are you providing enough source code in your book to use the commons.
Doc is not very good in in jakarta site.
Harshad Oak
Author
Ranch Hand

Joined: Oct 21, 2002
Posts: 45
Yes. I think so. I and the tech reviewers for the book (Henri Yandell and John Zukowski) spent a lot of time trying to ensure that we had many code samples that can be easily understood and used by the reader.
frisode jonge
Ranch Hand

Joined: Dec 30, 2003
Posts: 34
hi, in general i agree on the topic of jakarta site and documentation. (however there are some good ones) be aware that docs on the jakarta site can be adjusted if you provide the correct input. Therefore if you think if some items are not explicit enough, just ask them if you can send more info regarding that topic
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jakarta commons
 
Similar Threads
Making main program exit on its own
jar files
upload redirect to error page
Bean values won't change on form submit
String - remove more than one space between words