27th October 2008, 11:08 am
JarJar Links is an utility that can be used to repackage java libraries in order to embed them in your distribution. Using JarJar you can:
- generate a new jar which embedding classes from other jars.
- eliminate dependencies from external jars to avoid conflicts between different versions of the same jar
- shrink the size of a jar by stripping unreferenced classes and methods.
JarJar Links operates directly on compiled code using bytecode transformation based on ASM framework. It also includes a ant task to be integrated in builds processes.
Licence: Apache License 2.0
Links: Homepage, Download, Javadocs, Wiki, Sourcecode
21st September 2008, 09:06 am
FindBugs is a Java Code Analyzers which uses static analysis to look for bugs in Java code. FindBugs operates directly on Java bytecode and includes both a stand alone GUI and an Eclipse plug-in. Continue reading ‘FindBugs’ »
19th September 2008, 10:46 am
PMD is a Code Analyzer that scans Java source code and identify potential problems like:
* Possible bugs - empty try/catch/finally/switch statements
* Dead code - unused local variables, parameters and private methods
* Suboptimal code - wasteful String/StringBuffer usage
* Overcomplicated expressions - unnecessary if statements, for loops that could be while loops
* Duplicate code - copied/pasted code means copied/pasted bugs
PMD can be integrated with JDeveloper, Eclipse, JEdit, JBuilder, BlueJ, CodeGuide, NetBeans/Sun Java Studio Enterprise/Creator, IntelliJ IDEA, TextPad, Maven, Ant, Gel, JCreator, and Emacs.
Continue reading ‘PMD(Programming Mess Detector)’ »
13th September 2008, 10:01 am
JCatapult is a web application framework built on many open source frameworks:
* Struts2
* JPA and Hibernate
* Guice
* FreeMarker
* JODA
* JavaMail
* Savant
* Apache Ant
* MySQL
* PostgreSQL
* … Continue reading ‘jCatapult’ »
12th September 2008, 02:26 pm
jDepend is a java framework traverses Java class file directories and generates design quality metrics for each Java package which can be used to measure quality of a design in terms of its extensibility, reusability, and maintainability to manage package dependencies effectively.
Continue reading ‘jDepend’ »
11th September 2008, 08:36 am
jSecurity is a Java Security Framework that handles authentication, authorization, enterprise session management and cryptography. jSecurity can be used as well in web applications, clustered and standalone applications(or any other non web application). Unlike most of Java Security Frameworks jSecurity is not based on JAAS. Continue reading ‘jSecurity’ »
9th September 2008, 07:37 am
jGuard is a Java Security Framework that provides Access Control (Authentication and Authorization) for Java web applications and standalone applications. jGuard allows several ways to configure the mechanisms for authentication and authorization, i.e., in a relational database, XML files, or LDAP service.
jGuard is built on JAAS framework, which is part of the JAVA J2SE api. Continue reading ‘jGuard’ »
24th April 2008, 01:39 pm
Google Guice is a light java dependency inversion framework using annotations. It is developed by Google(Bob Lee and Kevin Bourrillion) and it is used internally by Google for their applications. Google Guice is sometimes considered an Inversion of Control Container but as their authors state it’s not a container, it’s just an Dependency Injector, being too Continue reading ‘Google Guice’ »
2nd April 2008, 12:45 pm
Apache Commons Collection is a set of classes created provide some useful classes and to complete the Java Collections Framework included in the JDK. The Apache Commons Collections doesn’t uses generics and it can be used in Java 1.4 as well.
Commons-Collections seek to build upon the JDK classes by providing new interfaces, implementations and utilities. There are many features, including:
* Bag interface for collections that have a number of copies of each object
* Buffer interface for collections that have a well defined removal order, like FIFOs
* BidiMap interface for maps that can be looked up from value to key as well and key to value
* MapIterator interface to provide simple and quick iteration over maps
Continue reading ‘Apache Commons Collections’ »
2nd April 2008, 12:22 am
Google Collections Library is a light java framework, build in one jar of about 300 kb. It extends Java Collections Framework adding a few classes that everyone needs. Currently only the Alpha version is released and changes of any kind can be made until the 1.0 version is released . In the Google Collection FAQ on Google Code the authors explain what 0.5 Alpha means” “We already use this library extensively in production for services like GMail, Reader, Blogger, Docs & Spreadsheets, AdWords, AdSense and dozens more. We consider it to be pretty safe. However, during the alpha period, we do reserve the right to make changes of any kind to it at any time.”
Google Collection Frameworks introduce 3 new types:
* BiMap. A Map that guarantees unique values, and supports an inverse view.
* Multiset. A Collection that may contain duplicate values like a List, yet has order-independent equality like a Set. Often used to represent a histogram.
* Multimap. Similar to Map, but may contain duplicate keys. Has subtypes SetMultimap and ListMultimap providing more specific behavior.
Licence: Apache License 2.0
Links: Homepage, Download, Javadocs, Sourcecode