Sunday, February 9, 2014

GitHub’s 10,000 Most Popular Java Projects: Here are the Top Libraries They Use

As Java developers working with a language that’s both mature yet highly evolving, we’re faced with a constant dilemma whenever we write new code – go with the hot new technology that everyone is talking about, or stick with a tried-and-true library?
Since a very large part of Java applications are commercial in nature, it can sometimes be hard to separate the buzz around a new framework with the number of projects actually putting it to use. This is important, as the community of users and contributors around a framework is one of the strongest factors in determining its continuous success and development.
We decided to use a data-based approach to get more insight into this, by analyzing which Java projects developers are actually using on the world’s largest open repository for Java projects – GitHub.
In our previous post we presented the main results of our GitHub research project and the top 100 libraries for JavaScript, Ruby and Java. Now let’s dive into the data, analyzing Java in particular.

The Approach

To generate our dataset we queried 10,000 Java projects, with a bias towards the ones most favorited by the community, as a strong qualifying indicator towards their relative importance. We used the pom.xml, which is used by the vast majority of Java projects on GH, to define dependencies. We then analyzed and grouped those into categories. The results were really interesting.

The Results

Logging. The most popular Java library is slf4j - the logging facade framework, with 3,068 entries. It seems that Java GH developers have fully embraced a decoupled approach towards their logging engine, and have standardized on slf4j to do so.
Since slf4j isn’t a logging engine by itself, it’s also useful to see the top logging engines being used. It looks like the “winner” here is log4j - 891 projects are using it. Next in line is Apache Commons-logging, with 334 projects. While very respectable, this number still represents less than half of the projects using log4j. sfl4j’s simple logging implementation comes in third at 174 projects.
The most popular Java library today is slf4j – used by 30.7% of the 10,000 projects (Tweet this)
Spring. While Spring may be perceived by some as a more mature and less “hip” framework, it still sees tremendous usage, placing 15 libraries in the top 100. Since Spring is an umbrella framework, it’s interesting to see which of its components are being used the most. Spring-test is the most used part of the framework (after the core library) with 376 entries. It’s followed by web-mvc for designing robust web applications with 277 entries. After web functionality, we see web-orm with 218 entries, highlighting Spring’s key use case for building a DB backed Java web application.
TDD. Right there with Spring at the top is JUnit with 3,068 entries. This really shows the profound effect that Test Driven Development has had on the Java landscape. It seems that if you’re a Java developer posting your code, unit tests today are an absolute requirement. It’s also worthwhile noting that while JUnit is not alone in this space (TestNG, the 2nd most popular testing framework, has 331 entries) it is by far the most dominant.
Mockito, a popular framework for mock based testing, has also gained wide appeal with 413 entries. EasyMock, another mocking framework, comes 2nd in this category with 231 project entries.
Google’s Guava framework is becoming mainstream – 4.8% of 10,000 Java GitHub projects are using it (Tweet this)
Apache Commons. Having looked at Spring, it’s important we don’t neglect Apache Commons, one of the most fundamental set of libraries within the language. Commons-io and Commons-lang are right there in the top 10 with 519 and 504 entries respectively, showing their strong prevalence.
As a whole Apache Commons have 13 libraries in the top 100. Google’s Guava framework, which itself provides language utils (some similar to those found in Commons) is also doing very well with 483 entries, marking it as another key Java building block.
04 (1)
SQL & NoSQL. With NoSql and Big data being all the buzz these last couple of years (some for good reasons), it’s worthwhile looking at the actual usage numbers for both relational and NoSql technologies. The most popular Sql DB out there is MySql with 225 entries. Hibernate ORM, while not a DB in itself, is also fairly popular with 181 entries. This is one area that we need to keep in mind that as GH is an open source repository, we might see a somewhat stronger bias towards commercial DBs such as Oracle’s in a closed source dataset.
Justifying the buzz: Hadoop is more popular in Java GitHub projects than Postgre SQL (Tweet this)
Hadoop is also doing very well with 168 entries, showing that the buzz is justified when looking at its actual usage data. To put in perspective, it has more entries than Postgre SQL (with 121 entries), one of the most mature relational open source DBs out there.
ElasticSearch, another Big data technology, is also on the board with 110 project entries. It’s surprising to note that sqlite, which has 1,085 entries in Ruby, isn’t in the Java top 100.
Android. For mobile developers on GH we see 228 project entries consuming Android via Maven. While this can signify that not a lot of mobile projects are placed on GH, it’s still a strong indicator that Java remains a very strong server side language.
Surprised by some of the results? We know we were with some of them. Take a look at the full list of the top 100 Java libraries on GitHub below, and let us know.
Originally appeared on Takipi's blog
Published at DZone with permission of its author, Chen Harel.


oakleyses said...

louis vuitton handbags, oakley sunglasses, louboutin, longchamp outlet, nike shoes, louis vuitton outlet stores, chanel handbags, burberry outlet, prada outlet, jordan shoes, tiffany and co, michael kors outlet, tory burch outlet, louis vuitton outlet, longchamp handbags, nike free, true religion jeans, michael kors outlet, kate spade outlet, polo ralph lauren outlet, tiffany and co, prada handbags, polo ralph lauren outlet, michael kors outlet, michael kors outlet, longchamp handbags, oakley sunglasses, ray ban sunglasses, kate spade handbags, burberry outlet, louis vuitton outlet, louboutin outlet, louboutin, coach factory outlet, air max, air max, coach outlet, gucci outlet, christian louboutin shoes, michael kors outlet, coach purses, ray ban sunglasses, michael kors outlet, louis vuitton, coach outlet store online, true religion jeans, oakley sunglasses cheap

oakleyses said...

ralph lauren, lululemon, air max, hollister, north face, nike air max, polo lacoste, vanessa bruno, timberland, vans pas cher, louboutin, louis vuitton, oakley pas cher, air max pas cher, nike roshe run, air max, true religion outlet, barbour, sac longchamp, air force, hollister, sac louis vuitton, nike free, polo ralph lauren, nike trainers, louis vuitton uk, nike roshe, sac hermes, longchamp, michael kors, sac burberry, sac guess, mulberry, new balance pas cher, converse pas cher, sac louis vuitton, hogan outlet, nike tn, north face, true religion outlet, ray ban pas cher, michael kors, air jordan, nike blazer, nike free pas cher, michael kors pas cher, abercrombie and fitch, ray ban sunglasses

oakleyses said...

mac cosmetics, mont blanc, marc jacobs, canada goose outlet, nike huarache, vans shoes, soccer jerseys, hollister, giuseppe zanotti, beats by dre, abercrombie and fitch, longchamp, insanity workout, celine handbags, bottega veneta, ghd, nfl jerseys, north face outlet, chi flat iron, ugg boots, birkin bag, ugg australia, canada goose, herve leger, ugg pas cher, rolex watches, valentino shoes, canada goose uk, canada goose, ferragamo shoes, canada goose, ugg boots, uggs outlet, north face jackets, soccer shoes, asics running shoes, new balance shoes, p90x, lululemon outlet, canada goose jackets, mcm handbags, instyler, babyliss pro, ugg, wedding dresses, jimmy choo outlet, reebok outlet, nike roshe run

oakleyses said...

parajumpers, karen millen, air max, converse, pandora charms, moncler, louboutin, moncler, links of london, lancel, juicy couture outlet, oakley, hollister, pandora charms, supra shoes, thomas sabo, canada goose, gucci, wedding dresses, timberland boots, swarovski crystal, air max, coach outlet store online, moncler, ray ban, canada goose, moncler, ugg, louis vuitton, swarovski, hollister, montre homme, moncler, hollister clothing store, ralph lauren, rolex watches, moncler outlet, moncler, iphone 6 cases, baseball bats, juicy couture outlet, toms shoes, vans, pandora jewelry, ugg, converse shoes

Anna said...

Great and Useful Article.

Online Java Training

Online Java Course

Java EE course

Java Course in Chennai

Java Training in Chennai

Java Training Institutes in Chennai

Java Interview Questions

Java Interview Questions

oakleyses said...

jordan pas cher, chanel handbags, nike outlet, michael kors pas cher, kate spade outlet, replica watches, longchamp pas cher, nike free, jordan shoes, christian louboutin shoes, nike free run, louis vuitton outlet, oakley sunglasses, ray ban sunglasses, polo ralph lauren, ugg boots, christian louboutin uk, air max, louis vuitton outlet, ugg boots, tiffany jewelry, polo ralph lauren outlet online, burberry pas cher, prada outlet, nike air max, gucci handbags, sac longchamp pas cher, ray ban sunglasses, louboutin pas cher, louis vuitton, uggs on sale, tiffany and co, oakley sunglasses, louis vuitton outlet, ray ban sunglasses, longchamp outlet, louis vuitton, longchamp outlet, replica watches, nike roshe, polo outlet, oakley sunglasses, cheap oakley sunglasses, oakley sunglasses wholesale, christian louboutin, christian louboutin outlet, tory burch outlet

oakleyses said...

lululemon canada, nike air max, burberry outlet, oakley pas cher, burberry handbags, coach outlet store online, kate spade, michael kors outlet, michael kors, nike air force, true religion jeans, true religion outlet, michael kors, polo lacoste, nike tn, new balance, abercrombie and fitch uk, michael kors outlet, uggs outlet, michael kors outlet, ralph lauren uk, michael kors outlet online, replica handbags, coach outlet, true religion outlet, coach purses, nike free uk, sac vanessa bruno, mulberry uk, michael kors outlet online, michael kors outlet online, michael kors outlet online, north face, uggs outlet, converse pas cher, hogan outlet, nike air max uk, hollister pas cher, sac hermes, nike roshe run uk, hollister uk, nike air max uk, true religion outlet, timberland pas cher, vans pas cher, ray ban pas cher, guess pas cher, ray ban uk

oakleyses said...

ipad cases, beats by dre, iphone 6 cases, ferragamo shoes, wedding dresses, hollister clothing, p90x workout, instyler, asics running shoes, nike huaraches, hermes belt, north face outlet, s6 case, babyliss, nfl jerseys, hollister, iphone 6 plus cases, insanity workout, ralph lauren, iphone cases, iphone 6s plus cases, bottega veneta, new balance shoes, longchamp uk, iphone 6s cases, giuseppe zanotti outlet, nike roshe run, mont blanc pens, herve leger, oakley, lululemon, timberland boots, nike air max, iphone 5s cases, ghd hair, valentino shoes, louboutin, nike trainers uk, celine handbags, north face outlet, baseball bats, vans outlet, abercrombie and fitch, chi flat iron, soccer jerseys, mac cosmetics, mcm handbags, soccer shoes, jimmy choo outlet, reebok outlet

oakleyses said...

supra shoes, marc jacobs, canada goose, converse outlet, toms shoes, ugg uk, ugg pas cher, canada goose outlet, canada goose, nike air max, louis vuitton, karen millen uk, doudoune moncler, converse, louis vuitton, vans, gucci, montre pas cher, moncler outlet, canada goose uk, canada goose outlet, moncler, pandora jewelry, barbour uk, moncler outlet, juicy couture outlet, louis vuitton, canada goose, pandora uk, coach outlet, swarovski crystal, ugg,uggs,uggs canada, juicy couture outlet, links of london, louis vuitton, louis vuitton, hollister, swarovski, canada goose outlet, ray ban, moncler, ugg, barbour, ugg,ugg australia,ugg italia, replica watches, pandora charms, moncler uk, pandora jewelry, wedding dresses, canada goose jackets, hollister, lancel