Right, but in that case, your war is not able to be deployed outside
OSGi (or by pushing the lib by hand in the servlet/jsp container).
I would expect:
- that a war could be deployed inside or outside OSGi/Karaf in the same
way (the same war could be deployed in Tomcat): it's what I did in Archiva
- that a WAB is OSGi centric
My 0.02€ ;)
Regards
JB
On 12/15/2011 04:22 PM, Charles Moulliard wrote:
You are right but I can also generate a WAR wit han empty WEB-INF/lib
using<scope>provided</scope>. This is what I do for all my WAR OSGI
projects ;-)
On Thu, Dec 15, 2011 at 4:17 PM, Jean-Baptiste Onofré<[email protected]> wrote:
The main value is that the WEB-INF/lib could be empty and the required lib
imported (OSGi import package).
So even if you have an existing war, you can use "external" dependencies
using the OSGi statements.
Regards
JB
On 12/15/2011 04:15 PM, Charles Moulliard wrote:
Just a remark.
What is the added value to create a WAB ?
With a maven war project containing maven-bundle-plugin + some
modifications, we can deploy it on Karaf using
install -s mvn:mycompany.webproject/hello/1.0/war and if they don t
use Spring DM, Blueprint, OSGI registry they can also deploy their war
in Tomcat, J2EE Server and debug it inside Eclipse
On Thu, Dec 15, 2011 at 1:42 PM, Andreas Pieber<[email protected]>
wrote:
Yeah, I also thought so; (since there's already a task for pax-wicket
assigned to me). Just hoped that Achim says he would like to take over
*g*.
But yep, that one's mine.
Kind regards,
Andreas
On Thu, Dec 15, 2011 at 13:40, Achim
Nierbeck<[email protected]>wrote:
I think Andreas volunteers for the pax-wicket one :)
2011/12/15 Jean-Baptiste Onofré<[email protected]>
war and wab is already done (by me), including a jsp page. Charles, I
will
add the jsf one.
Regards
JB
On 12/15/2011 12:57 PM, Charles Moulliard wrote:
In resume,
Achim will developp the pax - wicket archetype [+1/-1]
Ioannis the pax - gwt + command pattern archetype [+1/-1]
Myself --> pax - war and wab archetype (with a simple Hello World
page
using jsp and / or jsf) [+1/-1]
On Thu, Dec 15, 2011 at 12:16 PM, Achim Nierbeck
<[email protected]> wrote:
Must be close to Christmas since everybody has a wish ;)
But honestly I really like this discussion and yes maybe just
starting
a
new GWT based archetype will give Ioannis the right push(reason :))
for contributing to his idea :-)
regards, Achim
2011/12/15 Ioannis Canellos<[email protected]>
Awesome idea!
A couple of thoughts on GWT. There are some commonly used
patterns around GWT. Some of them (e.g. the command pattern) would
be
really interesting inside OSGi, as they could leverage the OSGi
service
registry and produce real value. That's something I always wanted to
do
but
never had the time. An archetype for gwt that will include those
patterns
would be awesome.
--
*Ioannis Canellos*
*
FuseSource<http://fusesource.**com<http://fusesource.com>>
**
Blog: http://iocanel.blogspot.com
**
Apache Karaf<http://karaf.apache.org/**> Committer& PMC
Apache Camel<http://camel.apache.org/**> Committer
Apache ServiceMix<http://servicemix.**apache.org/<
http://servicemix.apache.org/>>
Committer
Apache Gora<http://incubator.apache.**org/gora/<
http://incubator.apache.org/gora/>>
Committer
Apache DirectMemory<http://incubator.**apache.org/directmemory/<
http://incubator.apache.org/directmemory/>>
Committer
*
--
Apache Karaf<http://karaf.apache.org/**> Committer& PMC
OPS4J Pax Web<http://wiki.ops4j.org/**display/paxweb/Pax+Web/<
http://wiki.ops4j.org/display/paxweb/Pax+Web/>>
Committer&
Project Lead
blog<http://notizblog.**nierbeck.de/<http://notizblog.nierbeck.de/>>
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com
--
Apache Karaf<http://karaf.apache.org/> Committer& PMC
OPS4J Pax Web<http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer&
Project Lead
blog<http://notizblog.nierbeck.de/>
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com