Here is my collection of some of the useful third-party libraries Java developers can use in their application to do a lot of useful tasks. 20 Useful Open Source Libraries for Java Programmers If you have the wrong versions of the JAR, then, you will get the ClassNotFoundException, NoClassDefFoundError, or the UnsupportedClassVersionError. You might not realize, but having the right version of dependent JARs is a big headache. When you use Maven for dependency management, it will automatically download these libraries, including the libraries they depend on, known as the transitive dependency.įor example, if you download the Spring Framework, it will also download all other JARs on which Spring is dependent, for example, Log4j. If you need to use them in your project, then, you can either include JARs of these libraries in your project's classpath to start using them or you can use Maven for dependency management. In general, I am including useful libraries for day-to-day projects, including logging libraries like Log4j, JSON parsing libraries like Jackson, and unit testing APIs like JUnit and Mockito. Spring and Hibernate, because they are pretty well known and have specific features. However, I am not including frameworks, e.g. In this article, I am going to share some of the most useful and essential libraries and APIs that a Java developer should be familiar with. That advise made sense to me because of the testing exposure 2nd-party libraries get. I spent a good deal of time learning API, especially after reading Effective Java 3rd Edition, where Joshua Bloch advised how to use existing APIs for development rather than writing new pieces of code for common stuff. ![]() One of the traits of a good and experienced Java developer is the extensive knowledge of API, including JDK and third-party libraries.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |