Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Assembler Tools

    POMStrap 1.0.15

    Download button

    No screenshots available
    Downloads: 836  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Poor (1.8/5)
    15 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alag | More programs
    BSD License / FREE
    September 17th, 2010, 09:19 GMT [view history]
    ROOT / Programming / Assembler Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    POMStrap description

    POMStrap is a little opensource (BSD License) application bootstrap designed to avoid the Java library dependency headache.

    POMStrap is a little opensource (BSD License) application bootstrap designed to avoid the Java library dependency/version headache. The more we use open-source Java components, the more we have to deal with the classical problem of dependency conflict.

    I've personally experienced this problem when using FOP and Batik simultaneously: FOP required a specific old version of Batik to work (and render vector images), and I needed to use the latest version of Batik for image rendering.

    POMStrap allows you clean separation of concern within your application (for component oriented architecture), providing strict hierarchical classloader confinement.

    POMStrap is able to load application dependency as they are declared in Maven 2 project file, and execute each dependency in its own classloader without inhering from its parent avoiding version conflict.

    By using POMStrap you will be able to have an application dependency schema such as:

    Application-1.0
    + DepA-1.0
    + DepB-1.0
    + DepA-2.0
    And DepB-1.0 executing DepA-2.0 classes (and not DepA-1.0 as it would be without POMStrap).

    POMStrap also work as an application bootstrap. POMStrap project just requires 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 such as:

    java -jar pomstrap-1.0.jar groupId:artifact:version classname[:method] [method args]

    for example:

    java -jar pomstrap-1.0.jar pomstrap:testApp:1.0 com.prefetch.pomstrap.App:run

    If no method is provided it will try to start the classical java static main method.

    Be default POMStrap looks into you local repository (in you [home directory]/.m2/repository) but you can also specify another repository URL using system property:

    "-Dmaven2.repository.url=[URL]"

    You can use POMStrap via a Servlet with similar init-parameters configuration (see provided example sources).

    A JBoss POMStrap Service is also available and allows you to lauch applications as JBoss Service (via .sar file deployed in a JBoss instance).

    By the way, POMStrap can easily be embedded in your application with minimal impact (since it does not require any external library).


    Product's homepage

    What's New in This Release: [ read full changelog ]

    · A minor bug was fixed.
    · A synchronization was added in the classloader to avoid loading the same class multiple times (and the related exception).

      


    TAGS:

    application bootstrap | Java library | dependency headache | POMStrap | application | bootstrap

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM