Top Twenty Libraries As Well As Apis Coffee Developer Should Know

One of the traits of a practiced as well as experienced Java developer is the extensive cognition of API, including JDK as well as third-party libraries. I spent a practiced bargain of fourth dimension learning API, peculiarly afterwards reading Spring as well as Hibernate because they are pretty good known as well as receive got specific features.

I am by as well as large including useful libraries for solar daytime to solar daytime materials e.g. logging libraries similar Log4j, JSON parsing libraries similar Jackson, as well as unit of measurement testing API e.g. JUnit as well as Mockito. If yous demand to exercise them inward your projection as well as thence yous tin either include JARs of these libraries inward your project's classpath to kickoff using them or yous tin exercise Maven for dependency management.

When yous exercise Maven for dependency management, as well as thence it volition automatically download these libraries, including the libraries they depend, known equally the transitive dependency.

For example, if yous download Spring Framework as well as thence it volition also download all other JARs on which Spring is dependent e.g. Log4j etc.

You mightiness non realize but having the correct version of dependent JARs is a large headache. If yous receive got incorrect versions of the JAR as well as thence yous volition acquire ClassNotFoundException or NoClassDefFoundError, or UnsupportedClassVersionError.

Btw, If yous are a beginner or intermediate Java programmer as well as thence I also propose yous to bring together The Complete Java MasterClass course of teaching on Udemy to fill upward the gaps inward your knowledge. It's i the most up-to-date course of teaching inward Java as well as updated for Java 7, 8, 9, 10, as well as eleven recently.




20 Useful Open Source libraries for Java Programmers

Here is my collection of closed to of the useful third-party libraries Java developers tin exercise inward their application to do a lot of useful tasks. In gild to exercise these libraries, Java developer should also live on familiar amongst that as well as this is the whole betoken of this article. If yous receive got an stance as well as thence yous tin enquiry close that library as well as exercise it.


1. Logging libraries
Logging libraries are rattling mutual because yous demand them inward every project. They are the most of import affair for server-side application because logs are alone placed where yous tin run into what's going on your application. Even though JDK ships amongst its ain logging library, at that spot are many improve alternatives are available e.g. Log4j, SLF4j, as well as LogBack.

 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know


H5N1 Java developer should live on familiar amongst pros as well as cons of logging library as well as know why using SLF4j is improve than evidently Log4j. If yous don't know why I propose yous read my before article on the same subject.


2. JSON parsing libraries
In today's globe of spider web services as well as network of things (IoT), JSON has acquire the go-to protocol to comport information from customer to server. They receive got replaced the XML equally the most preferred agency to transfer information inward a platform-independent way. Unfortunately JDK doesn't receive got a JSON library withal but fortunately, at that spot are many practiced third-party libraries which allows yous to both parse as well as create JSON messages e.g. Jackson as well as Gson.

 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know

H5N1 Java spider web developer should live on familiar amongst at to the lowest degree i of these libraries. If yous desire to know to a greater extent than close Jackson as well as JSON, I propose going through JSON amongst Java API course of teaching from Udemy, which they are offering inward only $10.99 on their New Year's Day Sale.


3. Unit testing libraries
Unit testing is the unmarried most of import affair which separates an average developer from a practiced developer. Programmers oft are given excuses for non writing unit of measurement tests but the most mutual excuse for avoiding unit of measurement testing is lack of sense as well as cognition of pop unit of measurement testing library e.g. JUnit, Mockito, as well as PowerMock.

 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know

 I receive got a destination inward 2019 to improve my cognition of unit of measurement testing as well as integration testing libraries e.g. JUnit 5, Cucumber, Robot framework etc.

I receive got also signed upward for a JUnit as well as Mockito Crash Course in Udemy. Even if yous know JUnit as well as basics of unit of measurement testing, yous may desire to refresh as well as upgrade your cognition inward 2019.


4. General purpose libraries
There is a twain of rattling practiced full general purpose, third-party library available to Java developer e.g. Apache Commons as well as Google Guava. I ever include these libraries inward my projects because they simplify a lot of tasks. As Joshua Bloch has rightly said inward Effective Java (now the 3rd edition is also available) that at that spot is no betoken inward re-inventing the wheels as well as nosotros should prefer using tried as well as tested libraries instead of writing our ain routines every instantly as well as then.

 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know

It's only for a practiced Java developer to acquire himself familiar amongst Google's Guava as well as Apache common library.


5. Http libraries
One affair I don't similar much close JDK is their lack of back upward for HTTP. Though yous tin brand HTTP connexion using classes inward java.net bundle it's non equally piece of cake as well as seamless equally past times using opened upward source, third-party libraries similar Apache HttpClient as well as HttpCore.

Though JDK ix is bringing the back upward of HTTP 2.0 as well as improve back upward for HTTP, I strongly propose all Java developers acquire familiar amongst pop HTTP customer libraries e.g. HttpClient as well as HttpCore.

You tin also check What's New inward Java ix - Modules as well as More to acquire to a greater extent than close JDK 9's HTTP 2 support.

 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know



6. XML parsing libraries
There are many XML parsing libraries exists e.g. Xerces, JAXB, JAXP, Dom4j, Xstream etc. Xerces2 is the adjacent generation of high performance, fully compliant XML parsers inward the Apache Xerces family. This novel version of Xerces introduces the Xerces Native Interface (XNI), a consummate framework for edifice parser components as well as configurations that is extremely modular as well as piece of cake to program.

 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know

The Apache Xerces2 parser is the reference implementation of XNI but other parser components, configurations, as well as parsers tin live on written using the Xerces Native Interface. Dom4j is closed to other flexible XML framework for Java application. If yous desire to acquire to a greater extent than close XML parsing inward Java as well as thence I propose yous receive got a hold off at Java Web Services as well as XML online course of teaching on Udemy. It's currently available for alone $10.99 on sale.


7. Excel reading libraries
Believe it or non but all real-world application has to interact amongst Microsoft business office inward closed to cast or other. Many application needs to furnish functionality to export information inward Excel as well as if yous receive got to do same from your Java application as well as thence yous demand Apache POI API.

 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know

 This is a rattling rich library which allows yous to both read as well as write XLS files from Java program. You tin run into that link for a working instance of reading Excel file inward Core Java application.


8. Bytecode libraries
If yous are writing framework or libraries which generate code or interact amongst bytecodes as well as thence yous demand a bytecode library. They allow yous to read as well as modify bytecode generated past times an application. Some of the pop bytecode libraries inward Java globe are javassist as well as Cglib Nodep.
 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know
The Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation rattling simple. It is a degree library for editing bytecodes inward Java. ASM is closed to other useful bytecode editing library.



9. Database connexion puddle libraries
If yous are interacting amongst the database from Java application but non using database connexion puddle libraries as well as thence yous are missing something. Since creating connections at runtime takes fourth dimension as well as makes asking processing slower, its ever advised to exercise DB connexion libraries. Some of the pop ones are Commons Pool as well as DBCP.


In a spider web application, it's spider web server which by as well as large provides these functionalities but inward meat Java application yous demand to include these connexion puddle libraries into your classpath to exercise database connexion pool. If yous desire to acquire to a greater extent than close JDBC as well as connexion puddle inward a spider web application, I propose yous receive got a hold off at JSP, Servlet, as well as JDBC for Beginners course of teaching inward Udemy.



10. Messaging libraries 
Similar to logging as well as database connection, messaging is also a mutual characteristic of many real-world Java application. Java provides JMS, Java Messaging Service but that's non constituent of JDK as well as yous demand to include dissever jms.jar. Similarly, if yous are using third-party messaging protocol e.g. Tibco RV as well as thence yous demand to exercise a third-party JAR similar tibrv.jar inward your application classpath.




11. PDF Libraries
Similar to Microsoft Excel as well as World, PDF is closed to other ubiquitous format. If yous demand to back upward PDF functionality inward your application e.g. exporting information inward PDF files as well as thence yous tin exercise the iText as well as Apache FOP libraries. Both furnish useful PDF related functionality but iText is richer as well as improve as well as I ever preferred that one. See hither to acquire to a greater extent than close iText.


 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know



12. Date as well as Time libraries
Before Java 8, JDK's information as well as fourth dimension libraries receive got thence many flaws e.g they were non thread-safe, immutable, as well as error-prone as well as many Java developer relied on JodaTime for implementing their appointment as well as fourth dimension requirement. From JDK 8, at that spot is no argue to exercise Joda because yous acquire all that functionality inward the JDK 8's new Date as well as Time API itself but if yous are working inward older Java version as well as thence JodaTime is a worth learning library.


If yous desire to acquire to a greater extent than close novel Date as well as Time API, I propose yous to delight cheque the  One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know
FastUtil is closed to other similar API, it extends the Java Collections Framework past times providing type-specific maps, sets, lists as well as priority queues amongst a pocket-size retention footprint as well as fast access as well as insertion; provides also large (64-bit) arrays, sets, as well as lists, as well as fast, practical I/O classes for binary as well as text files.



14. Email APIs
The javax.mail as well as Apache Commons Email - furnish an API for sending an email. It is built on transcend of the JavaMail API, which it aims to simplify.




15. HTML Parsing libraries
Similar to JSON as well as XML, HMTL is closed to other mutual format many of us receive got to bargain with. Thankfully, nosotros receive got jsoup which greatly simplify working amongst HTML inward Java application. You tin exercise JSoup to non alone parse HTML but also to create HTML documents

 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know

It provides a rattling convenient API for extracting as well as manipulating data, using the best of DOM, CSS, as well as jquery-like methods. jsoup implements the WHATWG HTML5 specification as well as parses HTML to the same DOM equally modern browsers do.



16.Cryptographic library
The Apache Commons Codec bundle contains unproblematic encoder as well as decoders for diverse formats such as Base64 as well as Hexadecimal. In improver to these widely used encoders as well as decoders, the codec bundle also maintains a collection of phonetic encoding utilities.

 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know



17. Embedded SQL database library
I actually dearest in-memory database similar H2, which yous tin embed inward your Java application. They are bang-up for testing your SQL scripts as well as running Unit tests which demand a database. Btw, H2 is non the alone DB, yous also receive got Apache Derby as well as HSQL to select from.



18. JDBC Troubleshooting libraries
There are closed to practiced JDBC Extension libraries exists which makes debugging easier e.g. P6spy. It is a library which enables database information to live on seamlessly intercepted as well as logged amongst no code changes to the application. You tin exercise these to log SQL queries as well as their timings. For example, if yous are using PreparedStatment as well as CallableStatement inward your code as well as thence these libraries tin log an exact telephone retrieve amongst parameters as well as how much fourth dimension it took to execute.

 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know



19. Serialization libraries
Google Protocol Buffer Protocol Buffers are a agency of encoding structured information inward an efficient withal extensible format. It's richer as well as improve choice to Java serialization as well as I strongly recommend experienced Java developer to acquire Google Protobuf. You tin run into this article to acquire to a greater extent than close Google Protocol Buffer.

 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know


20. Networking libraries
Some of the useful networking libraries are Netty as well as Apache MINA. If yous are writing an application where yous demand to do low-level networking task, regard using these libraries.

 One of the traits of a practiced as well as experienced Java developer is the extensive cognition of  Top twenty Libraries as well as APIs Java Developer should know


That's all close closed to of the useful libraries every Java developer should live on familiar with. Java Ecosystem is rattling vast as well as yous volition respect tons of libraries for doing dissimilar things. You intend close something as well as yous volition respect at that spot is a library exists to do only that. As always, Google is your best friend to respect useful Java libraries but yous tin also receive got a hold off at Maven key repository to respect closed to of the useful libraries for your draw of piece of job at hand.

If yous similar this article, yous may respect my other articles useful too:
10 Things Java Developer Should Learn inward 2019
10 Programming Languages to explore inward 2019
10 Frameworks Java as well as Web Developers should acquire inward 2019
20 Java Books You Can Read inward 2019
10 Ways to Learn a  New Technology inward 2019
10 PluralSight Courses for Java as well as Web Developers
10 Tutorials to Learn Java 8 Better
10 tips to beocme a improve Java Programmer
10 Tools Java Developer Should Learn inward 2019

Thanks for reading this article thence far. If yous similar this article as well as thence delight portion amongst your friends as well as colleagues too. If yous receive got whatever feedback or questions as well as thence delight drib a note. 

P.S. - If yous desire to kickoff 2019 inward practiced banking enterprise complaint as well as thence I propose yous to bring together The Complete Java MasterClass, i the most up-to-date courser. It's non updated for Java 7, 8, 9, 10, as well as eleven recently.

0 Response to "Top Twenty Libraries As Well As Apis Coffee Developer Should Know"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel