You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by James Selvakumar <ja...@mcruncher.com> on 2016/09/02 01:19:31 UTC

Reload Wicket classes/markup without reloading Servlet Container

Dear Wicket community,

May I know what techniques/tools are used by the community to reload Wicket
classes and markup without reloading Servlet Container to speed up
development?

-- 
Thanks & regards
James Selvakumar
mCruncher

Re: Reload Wicket classes/markup without reloading Servlet Container

Posted by Илья Нарыжный <ph...@ydn.ru>.
Hi,

I also recommend this library https://github.com/stagemonitor/stagemonitor
Stagemonitor has nice web page for tracking/monitoring.

Thanks,

Ilya

---------------------------------------------
Orienteer(http://orienteer.org) - open source Business Application Platform

On Fri, Sep 2, 2016 at 12:08 AM, Martin Grigorov <mg...@apache.org>
wrote:

> Hi,
>
> I use DCEVM (https://github.com/dcevm/dcevm).
> It doesn't have all the bells and whisles like JRebel but it is FREE and
> does a great job in reloading classes!
> Combined with an embedded web container (as Tobias suggested) is the best!
>
> For reloading markup - Wicket does itself without any extermal help in DEV
> mode.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Sep 2, 2016 at 8:59 AM, Martijn Dashorst <
> martijn.dashorst@gmail.com
> > wrote:
>
> > At € day job we pay a lot to use jrebel. Not perfect but does the job
> > reasonably well. Unfortunately their new licensing model made it about 4
> > times more expensive for us to use it.
> >
> > Martijn
> >
> > On Friday, 2 September 2016, Tobias Soloschenko <
> > tobiassoloschenko@googlemail.com> wrote:
> >
> > > Hi,
> > >
> > > you could use Jetty and run it in debug mode within your IDE. See
> > > StartExamples Java-Class
> > >
> > > https://github.com/apache/wicket/blob/master/wicket-
> > > examples/src/test/java/org/apache/wicket/examples/StartExamples.java
> > >
> > > kind regards
> > >
> > > Tobias
> > >
> > > > Am 02.09.2016 um 03:19 schrieb James Selvakumar <james@mcruncher.com
> > > <javascript:;>>:
> > > >
> > > > Dear Wicket community,
> > > >
> > > > May I know what techniques/tools are used by the community to reload
> > > Wicket
> > > > classes and markup without reloading Servlet Container to speed up
> > > > development?
> > > >
> > > > --
> > > > Thanks & regards
> > > > James Selvakumar
> > > > mCruncher
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > <javascript:;>
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > > <javascript:;>
> > >
> > >
> >
> > --
> > Become a Wicket expert, learn from the best: http://wicketinaction.com
> >
>

Re: Reload Wicket classes/markup without reloading Servlet Container

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

I use DCEVM (https://github.com/dcevm/dcevm).
It doesn't have all the bells and whisles like JRebel but it is FREE and
does a great job in reloading classes!
Combined with an embedded web container (as Tobias suggested) is the best!

For reloading markup - Wicket does itself without any extermal help in DEV
mode.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Sep 2, 2016 at 8:59 AM, Martijn Dashorst <martijn.dashorst@gmail.com
> wrote:

> At € day job we pay a lot to use jrebel. Not perfect but does the job
> reasonably well. Unfortunately their new licensing model made it about 4
> times more expensive for us to use it.
>
> Martijn
>
> On Friday, 2 September 2016, Tobias Soloschenko <
> tobiassoloschenko@googlemail.com> wrote:
>
> > Hi,
> >
> > you could use Jetty and run it in debug mode within your IDE. See
> > StartExamples Java-Class
> >
> > https://github.com/apache/wicket/blob/master/wicket-
> > examples/src/test/java/org/apache/wicket/examples/StartExamples.java
> >
> > kind regards
> >
> > Tobias
> >
> > > Am 02.09.2016 um 03:19 schrieb James Selvakumar <james@mcruncher.com
> > <javascript:;>>:
> > >
> > > Dear Wicket community,
> > >
> > > May I know what techniques/tools are used by the community to reload
> > Wicket
> > > classes and markup without reloading Servlet Container to speed up
> > > development?
> > >
> > > --
> > > Thanks & regards
> > > James Selvakumar
> > > mCruncher
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> <javascript:;>
> > For additional commands, e-mail: users-help@wicket.apache.org
> > <javascript:;>
> >
> >
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
>

Re: Reload Wicket classes/markup without reloading Servlet Container

Posted by Martijn Dashorst <ma...@gmail.com>.
At € day job we pay a lot to use jrebel. Not perfect but does the job
reasonably well. Unfortunately their new licensing model made it about 4
times more expensive for us to use it.

Martijn

On Friday, 2 September 2016, Tobias Soloschenko <
tobiassoloschenko@googlemail.com> wrote:

> Hi,
>
> you could use Jetty and run it in debug mode within your IDE. See
> StartExamples Java-Class
>
> https://github.com/apache/wicket/blob/master/wicket-
> examples/src/test/java/org/apache/wicket/examples/StartExamples.java
>
> kind regards
>
> Tobias
>
> > Am 02.09.2016 um 03:19 schrieb James Selvakumar <james@mcruncher.com
> <javascript:;>>:
> >
> > Dear Wicket community,
> >
> > May I know what techniques/tools are used by the community to reload
> Wicket
> > classes and markup without reloading Servlet Container to speed up
> > development?
> >
> > --
> > Thanks & regards
> > James Selvakumar
> > mCruncher
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org <javascript:;>
> For additional commands, e-mail: users-help@wicket.apache.org
> <javascript:;>
>
>

-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

Re: Reload Wicket classes/markup without reloading Servlet Container

Posted by Tobias Soloschenko <to...@googlemail.com>.
Hi,

you could use Jetty and run it in debug mode within your IDE. See StartExamples Java-Class

https://github.com/apache/wicket/blob/master/wicket-examples/src/test/java/org/apache/wicket/examples/StartExamples.java

kind regards

Tobias

> Am 02.09.2016 um 03:19 schrieb James Selvakumar <ja...@mcruncher.com>:
> 
> Dear Wicket community,
> 
> May I know what techniques/tools are used by the community to reload Wicket
> classes and markup without reloading Servlet Container to speed up
> development?
> 
> -- 
> Thanks & regards
> James Selvakumar
> mCruncher

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


Re: Reload Wicket classes/markup without reloading Servlet Container

Posted by Martin Grigorov <mg...@apache.org>.
Here is yet another tool: https://github.com/fakereplace/fakereplace
It is similar to DCEVM but it implemented with Java agents. And it has some
extra logic for JBoss products (like JRebel).

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Sep 8, 2016 at 3:14 AM, James Selvakumar <ja...@mcruncher.com>
wrote:

> Thanks for the correction.
> I'm sorry I am not familiar with DCEVM.
> Anyhow, thank you very much for all your input.
>
> On Wed, Sep 7, 2016 at 5:29 PM, Martin Grigorov <mg...@apache.org>
> wrote:
>
> > On Wed, Sep 7, 2016 at 11:24 AM, James Selvakumar <ja...@mcruncher.com>
> > wrote:
> >
> > > Thanks Martin. Will try that out.
> > > I assume Jetty + DCEVM can reload Spring beans as well.
> > >
> >
> > Wrong assumption!
> > JRebel can do that.
> > Spring Boot devutils can do it too.
> >
> > DCEVM is just an enhanced JRE that knows how to reload classes without
> > restart. It doesn't know anything about frameworks.
> >
> >
> > >
> > > On Wed, Sep 7, 2016 at 5:19 PM, Martin Grigorov <mg...@apache.org>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I use embedded Jetty + DCEVM for all my Wicket projects.
> > > > I haven't had any problems with multi module projects.
> > > > DCEVM is an entension to the JRE so it doesn't care how exactly the
> > > runtime
> > > > classpath is constructed.
> > > >
> > > > Martin Grigorov
> > > > Wicket Training and Consulting
> > > > https://twitter.com/mtgrigorov
> > > >
> > > > On Wed, Sep 7, 2016 at 11:13 AM, James Selvakumar <
> james@mcruncher.com
> > >
> > > > wrote:
> > > >
> > > > > Dear friends,
> > > > >
> > > > > Thank you very much for your suggestions.
> > > > > I was using JRebel before but was fed up with the frequent change
> in
> > > > their
> > > > > licensing module.
> > > > > I don't think Jetty can reload classes in a multi module Maven
> > project?
> > > > Can
> > > > > it?
> > > > > Has anyone used DCEVM successfully in a multi module Maven project?
> > > > > Thanks for mentioning about Stage Monitor, but is it related to
> what
> > we
> > > > are
> > > > > discussing? Looks more like a performance monitoring app to me.
> > Please
> > > > > correct me if my understanding is wrong.
> > > > >
> > > > > On Tue, Sep 6, 2016 at 4:21 PM, Marc <ma...@web.de> wrote:
> > > > >
> > > > > > Spring Boot users can use Spring Boot developer tools:
> > > > > > http://docs.spring.io/spring-boot/docs/current/reference/
> > > > > > html/using-boot-devtools.html
> > > > > >
> > > > > > Not comparable to JRebel but does the job quite well.
> > > > > >
> > > > > > --
> > > > > > View this message in context: http://apache-wicket.1842946.
> > > > > > n4.nabble.com/Reload-Wicket-classes-markup-without-
> > > > > > reloading-Servlet-Container-tp4675422p4675449.html
> > > > > > Sent from the Users forum mailing list archive at Nabble.com.
> > > > > >
> > > > > > ------------------------------------------------------------
> > > ---------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Thanks & regards
> > > > > James Selvakumar
> > > > > mCruncher
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Thanks & regards
> > > James Selvakumar
> > > mCruncher
> > >
> >
>
>
>
> --
> Thanks & regards
> James Selvakumar
> mCruncher
>

Re: Reload Wicket classes/markup without reloading Servlet Container

Posted by James Selvakumar <ja...@mcruncher.com>.
Thanks for the correction.
I'm sorry I am not familiar with DCEVM.
Anyhow, thank you very much for all your input.

On Wed, Sep 7, 2016 at 5:29 PM, Martin Grigorov <mg...@apache.org>
wrote:

> On Wed, Sep 7, 2016 at 11:24 AM, James Selvakumar <ja...@mcruncher.com>
> wrote:
>
> > Thanks Martin. Will try that out.
> > I assume Jetty + DCEVM can reload Spring beans as well.
> >
>
> Wrong assumption!
> JRebel can do that.
> Spring Boot devutils can do it too.
>
> DCEVM is just an enhanced JRE that knows how to reload classes without
> restart. It doesn't know anything about frameworks.
>
>
> >
> > On Wed, Sep 7, 2016 at 5:19 PM, Martin Grigorov <mg...@apache.org>
> > wrote:
> >
> > > Hi,
> > >
> > > I use embedded Jetty + DCEVM for all my Wicket projects.
> > > I haven't had any problems with multi module projects.
> > > DCEVM is an entension to the JRE so it doesn't care how exactly the
> > runtime
> > > classpath is constructed.
> > >
> > > Martin Grigorov
> > > Wicket Training and Consulting
> > > https://twitter.com/mtgrigorov
> > >
> > > On Wed, Sep 7, 2016 at 11:13 AM, James Selvakumar <james@mcruncher.com
> >
> > > wrote:
> > >
> > > > Dear friends,
> > > >
> > > > Thank you very much for your suggestions.
> > > > I was using JRebel before but was fed up with the frequent change in
> > > their
> > > > licensing module.
> > > > I don't think Jetty can reload classes in a multi module Maven
> project?
> > > Can
> > > > it?
> > > > Has anyone used DCEVM successfully in a multi module Maven project?
> > > > Thanks for mentioning about Stage Monitor, but is it related to what
> we
> > > are
> > > > discussing? Looks more like a performance monitoring app to me.
> Please
> > > > correct me if my understanding is wrong.
> > > >
> > > > On Tue, Sep 6, 2016 at 4:21 PM, Marc <ma...@web.de> wrote:
> > > >
> > > > > Spring Boot users can use Spring Boot developer tools:
> > > > > http://docs.spring.io/spring-boot/docs/current/reference/
> > > > > html/using-boot-devtools.html
> > > > >
> > > > > Not comparable to JRebel but does the job quite well.
> > > > >
> > > > > --
> > > > > View this message in context: http://apache-wicket.1842946.
> > > > > n4.nabble.com/Reload-Wicket-classes-markup-without-
> > > > > reloading-Servlet-Container-tp4675422p4675449.html
> > > > > Sent from the Users forum mailing list archive at Nabble.com.
> > > > >
> > > > > ------------------------------------------------------------
> > ---------
> > > > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Thanks & regards
> > > > James Selvakumar
> > > > mCruncher
> > > >
> > >
> >
> >
> >
> > --
> > Thanks & regards
> > James Selvakumar
> > mCruncher
> >
>



-- 
Thanks & regards
James Selvakumar
mCruncher

Re: Reload Wicket classes/markup without reloading Servlet Container

Posted by Martin Grigorov <mg...@apache.org>.
On Wed, Sep 7, 2016 at 11:24 AM, James Selvakumar <ja...@mcruncher.com>
wrote:

> Thanks Martin. Will try that out.
> I assume Jetty + DCEVM can reload Spring beans as well.
>

Wrong assumption!
JRebel can do that.
Spring Boot devutils can do it too.

DCEVM is just an enhanced JRE that knows how to reload classes without
restart. It doesn't know anything about frameworks.


>
> On Wed, Sep 7, 2016 at 5:19 PM, Martin Grigorov <mg...@apache.org>
> wrote:
>
> > Hi,
> >
> > I use embedded Jetty + DCEVM for all my Wicket projects.
> > I haven't had any problems with multi module projects.
> > DCEVM is an entension to the JRE so it doesn't care how exactly the
> runtime
> > classpath is constructed.
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Wed, Sep 7, 2016 at 11:13 AM, James Selvakumar <ja...@mcruncher.com>
> > wrote:
> >
> > > Dear friends,
> > >
> > > Thank you very much for your suggestions.
> > > I was using JRebel before but was fed up with the frequent change in
> > their
> > > licensing module.
> > > I don't think Jetty can reload classes in a multi module Maven project?
> > Can
> > > it?
> > > Has anyone used DCEVM successfully in a multi module Maven project?
> > > Thanks for mentioning about Stage Monitor, but is it related to what we
> > are
> > > discussing? Looks more like a performance monitoring app to me. Please
> > > correct me if my understanding is wrong.
> > >
> > > On Tue, Sep 6, 2016 at 4:21 PM, Marc <ma...@web.de> wrote:
> > >
> > > > Spring Boot users can use Spring Boot developer tools:
> > > > http://docs.spring.io/spring-boot/docs/current/reference/
> > > > html/using-boot-devtools.html
> > > >
> > > > Not comparable to JRebel but does the job quite well.
> > > >
> > > > --
> > > > View this message in context: http://apache-wicket.1842946.
> > > > n4.nabble.com/Reload-Wicket-classes-markup-without-
> > > > reloading-Servlet-Container-tp4675422p4675449.html
> > > > Sent from the Users forum mailing list archive at Nabble.com.
> > > >
> > > > ------------------------------------------------------------
> ---------
> > > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > > For additional commands, e-mail: users-help@wicket.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Thanks & regards
> > > James Selvakumar
> > > mCruncher
> > >
> >
>
>
>
> --
> Thanks & regards
> James Selvakumar
> mCruncher
>

Re: Reload Wicket classes/markup without reloading Servlet Container

Posted by James Selvakumar <ja...@mcruncher.com>.
Thanks Martin. Will try that out.
I assume Jetty + DCEVM can reload Spring beans as well.

On Wed, Sep 7, 2016 at 5:19 PM, Martin Grigorov <mg...@apache.org>
wrote:

> Hi,
>
> I use embedded Jetty + DCEVM for all my Wicket projects.
> I haven't had any problems with multi module projects.
> DCEVM is an entension to the JRE so it doesn't care how exactly the runtime
> classpath is constructed.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Wed, Sep 7, 2016 at 11:13 AM, James Selvakumar <ja...@mcruncher.com>
> wrote:
>
> > Dear friends,
> >
> > Thank you very much for your suggestions.
> > I was using JRebel before but was fed up with the frequent change in
> their
> > licensing module.
> > I don't think Jetty can reload classes in a multi module Maven project?
> Can
> > it?
> > Has anyone used DCEVM successfully in a multi module Maven project?
> > Thanks for mentioning about Stage Monitor, but is it related to what we
> are
> > discussing? Looks more like a performance monitoring app to me. Please
> > correct me if my understanding is wrong.
> >
> > On Tue, Sep 6, 2016 at 4:21 PM, Marc <ma...@web.de> wrote:
> >
> > > Spring Boot users can use Spring Boot developer tools:
> > > http://docs.spring.io/spring-boot/docs/current/reference/
> > > html/using-boot-devtools.html
> > >
> > > Not comparable to JRebel but does the job quite well.
> > >
> > > --
> > > View this message in context: http://apache-wicket.1842946.
> > > n4.nabble.com/Reload-Wicket-classes-markup-without-
> > > reloading-Servlet-Container-tp4675422p4675449.html
> > > Sent from the Users forum mailing list archive at Nabble.com.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> >
> > --
> > Thanks & regards
> > James Selvakumar
> > mCruncher
> >
>



-- 
Thanks & regards
James Selvakumar
mCruncher

Re: Reload Wicket classes/markup without reloading Servlet Container

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

I use embedded Jetty + DCEVM for all my Wicket projects.
I haven't had any problems with multi module projects.
DCEVM is an entension to the JRE so it doesn't care how exactly the runtime
classpath is constructed.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Sep 7, 2016 at 11:13 AM, James Selvakumar <ja...@mcruncher.com>
wrote:

> Dear friends,
>
> Thank you very much for your suggestions.
> I was using JRebel before but was fed up with the frequent change in their
> licensing module.
> I don't think Jetty can reload classes in a multi module Maven project? Can
> it?
> Has anyone used DCEVM successfully in a multi module Maven project?
> Thanks for mentioning about Stage Monitor, but is it related to what we are
> discussing? Looks more like a performance monitoring app to me. Please
> correct me if my understanding is wrong.
>
> On Tue, Sep 6, 2016 at 4:21 PM, Marc <ma...@web.de> wrote:
>
> > Spring Boot users can use Spring Boot developer tools:
> > http://docs.spring.io/spring-boot/docs/current/reference/
> > html/using-boot-devtools.html
> >
> > Not comparable to JRebel but does the job quite well.
> >
> > --
> > View this message in context: http://apache-wicket.1842946.
> > n4.nabble.com/Reload-Wicket-classes-markup-without-
> > reloading-Servlet-Container-tp4675422p4675449.html
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
>
> --
> Thanks & regards
> James Selvakumar
> mCruncher
>

Re: Reload Wicket classes/markup without reloading Servlet Container

Posted by James Selvakumar <ja...@mcruncher.com>.
Dear friends,

Thank you very much for your suggestions.
I was using JRebel before but was fed up with the frequent change in their
licensing module.
I don't think Jetty can reload classes in a multi module Maven project? Can
it?
Has anyone used DCEVM successfully in a multi module Maven project?
Thanks for mentioning about Stage Monitor, but is it related to what we are
discussing? Looks more like a performance monitoring app to me. Please
correct me if my understanding is wrong.

On Tue, Sep 6, 2016 at 4:21 PM, Marc <ma...@web.de> wrote:

> Spring Boot users can use Spring Boot developer tools:
> http://docs.spring.io/spring-boot/docs/current/reference/
> html/using-boot-devtools.html
>
> Not comparable to JRebel but does the job quite well.
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/Reload-Wicket-classes-markup-without-
> reloading-Servlet-Container-tp4675422p4675449.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Thanks & regards
James Selvakumar
mCruncher

Re: Reload Wicket classes/markup without reloading Servlet Container

Posted by Marc <ma...@web.de>.
Spring Boot users can use Spring Boot developer tools:
http://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-devtools.html

Not comparable to JRebel but does the job quite well.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Reload-Wicket-classes-markup-without-reloading-Servlet-Container-tp4675422p4675449.html
Sent from the Users forum mailing list archive at Nabble.com.

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