JPPF Issue Tracker
Please log in to bookmark issues
CLOSED  Enhancement JPPF-578  -  Allow jppf-admin-web jar dependency as alternative to war to make embedding possible
Posted Feb 10, 2019 - updated Mar 02, 2019
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
  • Status
  • Assigned to
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
  • Owned by
    Not owned by anyone
  • Category
  • Resolution
  • Priority
  • Targetted for
    icon_milestones.png JPPF 6.0.3
Issue description
I would like to embed jppf-admin-web into my own embedded webserver as an executable jar. I need jppf-admin-web as a jar dependency instead of war to make this work. I would define my own web.xml for this and ignore the one inside

See description here:

You would need to add:
So that I could use:
Also it would be nice if you could define the jppf.css and and images/ as maven resources behind a package name and add those resources into the classes folder. You could then mount those resources in your wicket application under your current paths using PackageResourceReferences to serve them from the classpath. This makes embedding easier and I don't have to copy these resources myself then.

Comment posted by
Feb 11, 10:02
Since we're using Ant, not Maven, as our build framework, I cannot promise that everything you ask will be implemented. What I'm sure of:
  • we can produce and publish to Sonatype/Maven central a ppf-admin-web-<version>.jar
  • I'll see how to mount the css and images from the classpath, instead of our current setup (haven't used Wicket for some time, and I tend to forget)
Would this work?
Comment posted by
Feb 24, 22:36
First step done: all images and css were moved to the resources folder and are now used as Wicket shared resources loaded from the classpath.

Pushed to master and b_6_0 branch.
Comment posted by
Mar 02, 05:33
Second and final step done. We now create an additional artifact jppf-admin-web-embedded, packaged as a jar and which can be mebedded in another web app. Snapshots available in the Sonatype repository.