felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: A better life: quick webapp deploy
Date Thu, 07 Apr 2011 07:03:17 GMT
You are right, if you don't need to a whiteboard extension is also possible.
Pax WEB also provides this for Servlets and JSPs.

regards, Achim

2011/4/7 Justin Edelson <justin@justinedelson.com>:
> Why write a web.xml at all?
> http://felix.apache.org/site/apache-felix-http-service.html#ApacheFelixHTTPService-UsingtheWhiteboard
>
>
>
> On Wed, Apr 6, 2011 at 11:01 AM, Daniele Dellafiore <ildella@gmail.com> wrote:
>> Hi. I am trying to achive this goal.
>> What do I hate the most of webapp development in java? That to put a webapp
>> online after you've changed a single line of code, you have to deploy a
>> whole war. Now, I can manage to reduce the war by hand to be around 1 MB but
>> yet is too big, and also complicated: I have to put by hand all the jars in
>> a JEE/lib folder and keep them alignet, by hand.
>> Then what if I do not change the webapp bundle but just a dep? I have to
>> repackage. For me this is hell. Moreover, the JEE containers itself is hell.
>>
>>
>> Enter OSGI. What I want to achieve is deploy a webapp as a JAR, not as a
>> WAR. Or a war, but without the dependencies.
>>
>> The war belongs to the idea of being a super package with all the dep in it.
>> I want to deploy a jar with a web.xml, but it seems that no one ever did
>> this and I have no idea how to do this. W
>> With this solution, my modularized app can be deployed in seconds cause
>> every jar is just a few Kb of data, eitehr the webapp jar than the jar it
>> depends upon.
>>
>> Any tip for this? All the pax-web stuff are really targetted to deploy a
>> war.
>> I think that even a custom solution with some custom code to start a servlet
>> container and it's web.xml from an osgi Activator would be better than the
>> standard jee hell.
>>
>>
>> --
>> Daniele Dellafiore
>> http://danieledellafiore.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message