Hi Andrew,
This is really nice idea.
Please take a look at Deployer, FromURIDeployer abstract classes and
WarDeployer for embedding War deployment capabilities.
HTH,
Hubert.
On Tue, Nov 10, 2009 at 11:26 AM, Jeanfrancois Arcand <
Jeanfrancois.Arcand_at_sun.com> wrote:
> Salut,
>
> this looks quite interesting for Grizzly as well. I think we should talk
> about it next meeting.
>
> A+
>
> -- Jeanfrancois
>
> -------- Original Message --------
> Subject: ShrinkWrap Integration with Embedded Glassfish
> Date: Mon, 09 Nov 2009 18:32:34 -0500
> From: Andrew Lee Rubinger <alr_at_alrubinger.com>
> Reply-To: dev_at_glassfish.dev.java.net
> To: dev_at_glassfish.dev.java.net
>
> Hi guys:
>
> (This is a resend of a previous email sent to
> embedded_at_glassfish.dev.java.net; I'm told that this is low-volume and
> perhaps not monitored. If incorrect please advise the proper forum).
>
> Over the past few months, we've been putting some development into the
> EmbeddedAS[1] project at JBoss. Part of this effort has involved the
> creation of a standalone API for archive creation, now called "ShrinkWrap".
>
> Our goals are simple:
>
> * Minimal dependency set (currently nothing aside from Java6)
> * Intuitive, fluid, documented API
> * Domain-specific extensions for spec-defined archives (JAR, EAR, EAR, etc)
> * Export options (to ZIP or exploded flat file format)
>
> Greater details can be found on our Wiki[2], JavaDoc[3], or project
> page[4].
>
> We will be supporting this kind of notation within EmbeddedAS:
>
> JavaArchive archive = JavaArchiveFactory.create("archive.jar")
> .addClasses(MyClass.class,MyOtherClass.class)
> .addResource("META-INF/ejb-jar.xml");
> server.deploy(archive);
>
> I'd like to open a dialogue to discover your interest in providing
> similar integration for Embedded Glassfish. I believe ShrinkWrap's
> scope is more generic than what I've seen so far in ScatteredWar for
> example, and perhaps the community could benefit from a unified
> declarative archive API shared across vendors/communities. Our license
> is ASL v2 to encourage this effort.
>
> S,
> ALR
>
> References:
>
> [1] - http://www.jboss.org/community/docs/DOC-13843
> [2] - http://www.jboss.org/community/docs/DOC-14138
> [3] - http://docs.jboss.org/shrinkwrap/
> [4] - http://jboss.org/shrinkwrap
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>
>