[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-dev] ShrinkWrap Integration with Jetty
|
Thank you for all of these great references/pointers. I'll be digging
in again later in the week; in the meantime I'll lurk in #jetty if
anyone would like to talk real-time.
S,
ALR
On 02/01/2010 12:36 PM, Joakim Erdfelt wrote:
Andrew,
There's a few technologies in Jetty that can overlap with your work to
make this a bit more interesting. :-)
First, there's the new work in the jetty-deploy module [1] for a
DeployManager [2] and Deployment Lifecycle.
You could create an AppProvider [3] to provide apps to the
DeployManager, providing the bridge between your ShrinkWrap technology
and the Jetty internals.
Also, there is a jetty-webapp-verifier package [4] in the sandbox [5] to
perform static checks against a webapp, based on a rules [6] defined in
a ruleset [7], in a similar way to how pmd operates against static java
source.
[1]
http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk/jetty-deploy/
[2]
http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java
[3]
http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/AppProvider.java
[4]
http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/sandbox/trunk/jetty-webapp-verifier/
[5] http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/sandbox/trunk/
[6]
http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/sandbox/trunk/jetty-webapp-verifier/src/main/java/org/eclipse/jetty/webapp/verifier/Rule.java
[7]
http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/sandbox/trunk/jetty-webapp-verifier/src/test/resources/
- Joakim
On Sun, Jan 31, 2010 at 6:30 PM, Andrew Lee Rubinger <alr@xxxxxxxxxxxxxx
<mailto:alr@xxxxxxxxxxxxxx>> wrote:
After some discussions on #jetty@Freenode, thought we'd go for a
more persistent introduction. :)
Over at JBoss we've been working on a simple API analouge to the
"jar" tool; its goal is to allow developers to very quickly make
archives like JARs, WARs, and EARs in Java:
JavaArchive archive = Archives.create("myEjb.jar", JavaArchive.class)
.addClasses(MyEjbBean.class,MyEjbLocalBusinessInterface.class)
.addResource("META-INF/ejb-jar.xml");
>From there, we're aiming to coordinate with as many target
containers as possible to support direct deployment:
server.deploy(archive);
This eliminates the packaging steps required to run integration tests.
The project is called "ShrinkWrap"[1][2], and we're in our 4th alpha
release. We have pretty decent test coverage and a growing
community including OpenEJB, GlassFish, and jClouds, though the
"alpha" indicator is to show that our core APIs are subject to
changes until we enter beta.
I've done a preliminary stab at integrating with Jetty:
http://community.jboss.org/message/523145
This implementation works by extending WebAppContext, serializing a
backing ShrinkWrap archive into a tmp ZIP-format file, and deploying
that. Definitely open to a more efficient mechanism that doesn't
require disk I/O or ZIP encoding, if Jetty can support it.
I invite you to join us and perhaps import/fork the work above into
Jetty to make things more transparent for users. Building should be
fairly intuitive:
http://community.jboss.org/docs/DOC-14304
Jetty specific code is located in the "extension-jetty" module.
Hoping you'd like to work with us and looking forward to hearing
from you. :)
S,
ALR
[1] http://jboss.org/shrinkwrap
[2] http://community.jboss.org/wiki/ShrinkWrap
_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx <mailto:jetty-dev@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/jetty-dev
_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-dev