dev@glassfish.java.net

Re: ShrinkWrap Integration with Embedded Glassfish

From: Siraj Ghaffar <Siraj.Ghaffar_at_Sun.COM>
Date: Tue, 26 Jan 2010 18:01:45 -0500

The new APIs are now available at
https://embedded-glassfish.dev.java.net/nonav/gf-embedded-api/apidocs/

The API of interest for this discussion is
org.glassfish.api.embedded.ScatteredArchive which is more generic than
the older ScatteredWar

--Siraj

 
Jerome Dochez wrote:
> Hi Andrew
>
> Sorry for the long delay with our answer, the v3 release and other things have kept us distracted...
> We would be interested in such a collaboration. The ScatteredWar support you mentioned below has been discontinued for the v3 final release and we do have a more generic API.
>
> I have asked Siraj to have the new APIs available at
> https://embedded-glassfish.dev.java.net/nonav/gf-embedded-api/apidocs/
>
> Once he confirms, you should have a look where we stand and we can start talking about how we can have a single approach.
>
> jerome
>
> On Nov 9, 2009, at 3:32 PM, Andrew Lee Rubinger wrote:
>
>
>> 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_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>