I notice a number of java libraries use this as a suffix:
log4j, couchdb4j, neo4j, launch4j, etc..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since the number 4 (four in English) is a homonym for the preposition
for, it’s being used to indicate that the library isfor Java.In .NET, libraries are sometimes prefixed with
nto indicate that they are the .NET variant. For instance, Java has Hibernate and .NET has nHibernate. You also have cases where Java follows this “convention” such as jUnit (where .NET has nUnit).As a beginning developer I, too, was confused by the 4j naming convention. I thought it was some kind of version indicator until I noticed several libraries carrying the suffix.
Maybe now a Google search will turn up a meaningful result for “4j” 🙂
EDIT:
I’ve been unable to find the origin of the 4j suffix, but my best guess would be that it started with log4j which now has variants such as log4net, log4php, log4cxx.