2017 most popular Java libraries 100 __java

Source: Internet
Author: User
Tags google guava

We analyzed 47,251 import statements from 12,059 unique Java libraries used by the top 3,862 Java projects in GitHub. We have selected 100 large Java libraries from this list, and now we share the results.

Most popular 20 Java libraries

JUnit has been the most popular Java library on GitHub for two consecutive years. Java Log api:slf4j ranked second, log4j ranked fourth.

Google's Open source project guava development momentum is fierce, won the third place. It contains a series of core Java libraries that were born inside Google. If you're unfamiliar with guava, or unsure how to use it, read our article to find out what every developer should know about Google Guava's little-known features.

The rise of the spring library

As the main competitor of Java EE, the Spring Framework is becoming popular, and this high popularity is also reflected in the GitHub. Of the 100 most popular Java libraries, 15 libraries are related to spring. One of the most noteworthy is the rapid rise of Spring boot. It allows developers to build spring-driven applications and services with minimal boilerplate code. Do you want to build a production-ready Java application in the shortest possible time? Read this article: "Javabootstrap:dropwizard vs Spring Boot".

Most Popular Spring libraries:

13th place –springframework.spring-context

17th Place –springframework.spring-test

22nd Place –SPRINGFRAMEWORK.SPRING-WEBMVC

24th Place –springframework.spring-core

27th Place –springframework.spring-web

36th Place –springframework.spring-jdbc

37th Place –springframework.spring-orm

38th Place –springframework.spring-tx

40th Place –SPRINGFRAMEWORK.SPRING-AOP

47th Place –springframework.spring-context-support

72nd Place –springframework.boot.spring-boot-starter-web

81st Place –springframework.security.spring-security-web

82nd Place –springframework.security.spring-security-config

88th Place –springframework.boot.spring-boot-starter-test

99th Place –springframework.security.spring-security-core

Most popular JSON libraries

Since Java does not provide native support for JSON (but almost includes this support in Java 9!), we want to see how popular these libraries are in the GitHub project.

You shouldn't judge the library by its surface. Not all JSON libraries have the same performance, and it is important to choose a library that is appropriate for your environment. If you want to know which JSON library to use, take a look at our latest JSON benchmark test.

The most popular JSON libraries are:

14th Place –fasterxml.jackson.core.jackson-databind

19th Place –google.code.gson.gson

43rd Place –json.json

80th Place –googlecode.json-simple.json-simple

89th Place –thoughtworks.xstream.xstream

The 4 most stunning libraries

There are many interesting and even novel libraries that have caught our attention, but we decided to focus on these 4 libraries:

Top 100 Libraries by type

The math behind the Magic

You might ask: How did we get this information? We first selected the top-ranked Java project from the GitHub according to the score. We then picked up a project using Maven or Ivy for dependency management to quickly access pom.xml/ivy.xml dependencies, so we got 47,251 data points.

We had a calculation and analysis that resulted in the 12,059 unique Java libraries used by the top 3,862 projects in GitHub. On this basis, according to the number of times they appear in GitHub, it is easy to decide on the 100 most popular libraries.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.