Provioning is about the way to get binaries or information. It is the answer to how do i get my application, my webapp, my configuration.
TomEE and OpenEJB brings some help about it allowing you to point out some resources instead of providing it directly.
This indirection is clearly very useful to industrialize your software or simply to cloudify it.
This page will not explain you how to deploy an application or how to enhance your container. It will simply explain you how which kind of urls are supported for such features.
These feature are explained in other places.
This is the default and well know provisioning. Simply give a file path the container is able to access through its filesystem.
Here you give an url to access the desired file. Proxies used are the JVM ones.
Probably the most fun but very useful for cloud deployments: maven. Use maven informations to deploy your application.
The location should follow:
Note: classifier are supported (through version field)
For instance you can use:
The maven url parsing is not included by default in OpenEJB/TomEE bundle. It needs to be installed.
If you are using an embedded application and maven simply add org.apache.openejb:openejb-provisionning:VERSION dependency.
If you are using TomEE you have to extract the org.apache.openejb:openejb-provisionning zip in the same classloader than tomee (webapps/tomee/lib for instance, for other places please have a look to other tip pages).
Another way to install it with tomee is to edit or create the file
All edits are reviewed before going live, so feel free to do much more than fix typos or links. If you see a page that could benefit from an entire rewrite, we'd be thrilled to review it. Don't be surprised if we like it so much we ask you for help with other pages :)NOTICE: unless indicated otherwise on the pages in question, all editable content available from apache.org is presumed to be licensed under the Apache License (AL) version 2.0 and hence all submissions to apache.org treated as formal Contributions under the license terms.