Pack dwr web-module to jar

View: New views
5 Messages — Rating Filter:   Alert me  

Pack dwr web-module to jar

by Timofiychuk Sergey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello. I want to create some web-module and pack java classes and
dwr.xml to the jar. Is it possible? If yes - how can I include dwr.xml
(from jar) to the web.xml. Thanks in advance.

--
Sergey Timofiychuk

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Pack dwr web-module to jar

by Niklasr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jun 30, 2009 at 2:59 PM, Timofiychuk Sergey <tima.sergej@...> wrote:
Hello. I want to create some web-module and pack java classes and
dwr.xml to the jar. Is it possible? If yes - how can I include dwr.xml
(from jar) to the web.xml. Thanks in advance.

--
Sergey Timofiychuk

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

Yes, dwr.xml in WEB-INF directory. jar, zip, war and ear are same format (zip) named different to imply specific matter of use. dwr.xml in WEB-INF registers and servlet namings in web.xml Apache Maven is good "automatic" module manager to keep compatible between many IDEs but Maven hasn't latest versions. dwr.xml in standard directory WEB-INF worked here, and easiest put everything in one web archive or .ear, and carefully following the author's example instruction. You may also inspect my project at montao.googlecode.com or live dwr applied montao.com.br/li and with my best wishes I hope the little information gets projects forward.
Niklas Rosencrantz



Re: Pack dwr web-module to jar

by Timofiychuk Sergey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I do not understand, how I can to create jar with dwr.xml and with my
classes. I want to include this jar to my war or ear module.

2009/6/30 Niklas Rosencrantz <niklasro@...>:

> On Tue, Jun 30, 2009 at 2:59 PM, Timofiychuk Sergey <tima.sergej@...>
> wrote:
>>
>> Hello. I want to create some web-module and pack java classes and
>> dwr.xml to the jar. Is it possible? If yes - how can I include dwr.xml
>> (from jar) to the web.xml. Thanks in advance.
>>
>> --
>> Sergey Timofiychuk
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
> Yes, dwr.xml in WEB-INF directory. jar, zip, war and ear are same format
> (zip) named different to imply specific matter of use. dwr.xml in WEB-INF
> registers and servlet namings in web.xml Apache Maven is good "automatic"
> module manager to keep compatible between many IDEs but Maven hasn't latest
> versions. dwr.xml in standard directory WEB-INF worked here, and easiest put
> everything in one web archive or .ear, and carefully following the author's
> example instruction. You may also inspect my project at
> montao.googlecode.com or live dwr applied montao.com.br/li and with my best
> wishes I hope the little information gets projects forward.
> Niklas Rosencrantz
>
>
>



--
Sergey Timofiychuk

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Pack dwr web-module to jar

by Niklasr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jun 30, 2009 at 5:13 PM, Timofiychuk Sergey <s.timofiychuk@...> wrote:
I do not understand, how I can to create jar with dwr.xml and with my
classes. I want to include this jar to my war or ear module.

2009/6/30 Niklas Rosencrantz <niklasro@...>:
> On Tue, Jun 30, 2009 at 2:59 PM, Timofiychuk Sergey <tima.sergej@...>
> wrote:
>>
>> Hello. I want to create some web-module and pack java classes and
>> dwr.xml to the jar. Is it possible? If yes - how can I include dwr.xml
>> (from jar) to the web.xml. Thanks in advance.
>>
>> --
>> Sergey Timofiychuk
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
> Yes, dwr.xml in WEB-INF directory. jar, zip, war and ear are same format
> (zip) named different to imply specific matter of use. dwr.xml in WEB-INF
> registers and servlet namings in web.xml Apache Maven is good "automatic"
> module manager to keep compatible between many IDEs but Maven hasn't latest
> versions. dwr.xml in standard directory WEB-INF worked here, and easiest put
> everything in one web archive or .ear, and carefully following the author's
> example instruction. You may also inspect my project at
> montao.googlecode.com or live dwr applied montao.com.br/li and with my best
> wishes I hope the little information gets projects forward.
> Niklas Rosencrantz
If you're skilled, you can. Try understand a minimal dwr project, and add to it.
Regards,
Niklas

Re: Pack dwr web-module to jar

by Pablo J. Cabrera Muñoz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

compile -> copy stuff into the compiled directory -> "jar" the compiled directory

On Tue, Jun 30, 2009 at 6:48 PM, Niklas Rosencrantz <niklasro@...> wrote:
On Tue, Jun 30, 2009 at 5:13 PM, Timofiychuk Sergey <s.timofiychuk@...> wrote:
I do not understand, how I can to create jar with dwr.xml and with my
classes. I want to include this jar to my war or ear module.

2009/6/30 Niklas Rosencrantz <niklasro@...>:
> On Tue, Jun 30, 2009 at 2:59 PM, Timofiychuk Sergey <tima.sergej@...>
> wrote:
>>
>> Hello. I want to create some web-module and pack java classes and
>> dwr.xml to the jar. Is it possible? If yes - how can I include dwr.xml
>> (from jar) to the web.xml. Thanks in advance.
>>
>> --
>> Sergey Timofiychuk
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
> Yes, dwr.xml in WEB-INF directory. jar, zip, war and ear are same format
> (zip) named different to imply specific matter of use. dwr.xml in WEB-INF
> registers and servlet namings in web.xml Apache Maven is good "automatic"
> module manager to keep compatible between many IDEs but Maven hasn't latest
> versions. dwr.xml in standard directory WEB-INF worked here, and easiest put
> everything in one web archive or .ear, and carefully following the author's
> example instruction. You may also inspect my project at
> montao.googlecode.com or live dwr applied montao.com.br/li and with my best
> wishes I hope the little information gets projects forward.
> Niklas Rosencrantz
If you're skilled, you can. Try understand a minimal dwr project, and add to it.
Regards,
Niklas