POMStrap is a BSD-licensed open-source bootstrap software that solves the Java library dependency problems. It is a lightweight application that simplifies the process of coding in Java.
POMStrap allows you to have a clean separation of concerns in your application with component oriented architecture, offering strict hierarchical classloader confinement. POMStrap is capable of loading application dependencies as they are declared in Maven 2 project file and running each dependency in its unique classloader without inheriting from its parent, thereby avoiding version conflict.
With POMStrap, you can have an application dependency schema such as Application-1.0 with DepA-1.0 and DepB-1.0 with DepA-2.0 executing DepA-2.0 classes and not DepA-1.0 as it would be without POMStrap.
Moreover, POMStrap also works as an application bootstrap. The POMStrap project requires only a pom file (Maven 2 project file) and a class/method to fetch all required dependencies and launch the application using a command-line syntax like java -jar pomstrap-1.0.jar groupId:artifact:version classname[:method] [method args]. If no method is provided, it will start the classical java static main method.
POMStrap default looks into your local repository, but you can also specify another repository URL using the system property "-Dmaven2.repository.url=[URL]". You can also use POMStrap via a servlet with similar init-parameters configuration, as can be seen in the provided example sources. Additionally, a JBoss POMStrap Service is also available, allowing you to launch applications as JBoss Service through a .sar file deployed in a JBoss instance.
POMStrap is a lightweight solution since it does not depend on any external library. You can easily embed POMStrap in your application with negligible impact. Overall, POMStrap is an efficient tool for managing application dependencies and resolving version conflicts, making it a must-have for developers working on big applications with varying dependencies.
Version 1.0.14: N/A