I use jboss for development.  You can set your web app as exploded and have the jvm do class hotswapping via your IDE.  This only works for certain changes as everyone knows you can't hotswap class schema changes, method signature changes, etc.  Also, you can explode your .ear file and redeploy individual modules (war, ejb3 and par modules for example) independently of each other, meaning you don't have to redeploy your whole app, only a single part (and any parts that depend on it, otherwise you'll get classloader errors).  My current webapp is fairly large and it only takes jboss about 3 seconds to redeploy the .war.  I set the .war up as an exploded dir and IDEA will recompile my classes and touch the web.xml file (which will trigger jboss to redeploy).  My EJB3 modules take about 30 seconds to deploy so it helps that I don't have to redeploy the EJB3 for iterative changes to the .war code.  It seems to work nicely.  You should never have to restart the actual JBoss server unless you run out of PermGen space (which will happen after you redeploy hundreds of times).

One thing I've thought about is playing with JDK 1.6 and see how on-the-fly scripting could be used for wicket components.


Aaron


On Fri, 2006-10-06 at 11:21 -0700, craigdd wrote:
Again, sorry for this post to be a little off topic, however, this question
has come up because as I'm evaluating wicket I've found that I'm restarted
my container way too much while doing some simple web development.  I
thought maybe that people in this forum have had the same issue and found
some slick ways around it.



Michael Hosier wrote:
> 
> There is nothing lacking in JBoss here, the guy just doesn't know what he
> is
> doing and doesn't know (or care) about the appropriate venues for this
> type
> of question.  I use JBoss and Eclipse with MyEclipse in development and it
> is very slick.
> 
> Perhaps people are not answering his question because it is off topic and
> that annoys people?
> 
> 
> On 10/6/06, Thomas R. Corbin <[EMAIL PROTECTED]> wrote:
>>
>> On Friday, 06 October 2006 12:51 pm, craigdd escreveu:
>> > Yes, my next step is to check the jboss forums, I sort of figured a lot
>> of
>> > people that where using wicket might also be using jboss and had
>> figured
>> > out this issue because it greatly affects the efficiency of
>> development.
>> >
>> > I'm getting the impression that most people are using jetty with wicket
>> > which makes me wonder how main stream this framework is.
>>
>>         I user jetty for development, but tomcat for deployment.
>>
>>         Dunno about anyone else.
>>
>>         Make me wonder how jboss could be mainstream w/o supporting this
>> feature! :)
>>
>> >
>> > igor.vaynberg wrote:
>> > > why not ask on the jboss forums? what you want to ask is that if
>> jboss
>> > > can be launched to take advantage of jvm's hotswap.
>> > >
>> > > -Igor
>> > >
>> > > On 10/6/06, craigdd <[EMAIL PROTECTED]> wrote:
>> > >> So in other words the out come to my question is that NO, jboss can
>> not
>> > >> be
>> > >> configured to reloaded changed classes without restarting the
>> container.
>> > >>
>> > >> Erik van Oosten wrote:
>> > >> > Martijn Dashorst wrote:
>> > >> >> Doesn't JBoss IDE start the jboss container in debug mode?
>> > >> >
>> > >> > Indeed, it does start jboss in debug mode.
>> > >> >
>> > >> > craigdd wrote:
>> > >> >> I don't think debug mode in jboss allows the reloading of
>> classes,
>> i
>> > >> >> believe
>> > >> >> it it just for remote debugging.
>> > >> >
>> > >> > Indeed again, JBoss is directly started from Eclipse (as all
>> programs
>> > >> > you start from Eclipse). Strictly there is no class reloading, but
>> you
>> > >> > _can_ change classes on the fly. Just remember that when you
>> restart
>> > >> > JBoss, you must recompile and redeploy your changed classes.
>> > >> >
>> > >> > Regards,
>> > >> >      Erik.
>> > >> >
>> > >> >
>> > >> > --
>> > >> > Erik van Oosten
>> > >> > http://day-to-day-stuff.blogspot.com/
>> > >>
>> > >>
>> ------------------------------------------------------------------------
>> > >>-
>> > >>
>> > >> > Take Surveys. Earn Cash. Influence the Future of IT
>> > >> > Join SourceForge.net's Techsay panel and you'll get the chance to
>> > >> > share your
>> > >> > opinions on IT & business topics through brief surveys -- and earn
>> > >> > cash
>> > >>
>> > >>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
>> > >>V
>> > >>
>> > >> > _______________________________________________
>> > >> > Wicket-user mailing list
>> > >> > [email protected]
>> > >> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> > >>
>> > >> --
>> > >> View this message in context:
>> > >> http://www.nabble.com/JBOSS-Reload-Classes-tf2393072.html#a6683715
>> > >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> > >>
>> > >>
>> > >>
>> ------------------------------------------------------------------------
>> > >>- Take Surveys. Earn Cash. Influence the Future of IT
>> > >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> > >> your
>> > >> opinions on IT & business topics through brief surveys -- and earn
>> cash
>> > >>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
>> > >>V _______________________________________________
>> > >> Wicket-user mailing list
>> > >> [email protected]
>> > >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> > >
>> > >
>> -------------------------------------------------------------------------
>> > > Take Surveys. Earn Cash. Influence the Future of IT
>> > > Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> > > your
>> > > opinions on IT & business topics through brief surveys -- and earn
>> cash
>> > >
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> > > _______________________________________________
>> > > Wicket-user mailing list
>> > > [email protected]
>> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to