Thursday, January 03, 2008

maven with on the fly editing for java webapps


Valleywag, Silicon Valley's Tech Gossip Rag
Balaji's blog - Inplace or On-the-fly editing of Java webapp’s
Inplace or On-the-fly editing of Java webapp’s

While developing and testing the Java EE web applications, people often needs a way to immediately web-view the changes that they have made in their JSP or HTML or Javascript.

For people who are using Eclipse or intelliJ as their IDE might also like to see their changes in serverside Java files applied over the deployed webapp's immediately.

Lets see how this can be done using Maven
In general, to view the changes immediately, people will edit those files on the exploded directory under webapp. Later, they have to manually copy the changes
to their original workspace. This is a pain for projects which has version control enabled.

Maven comes for resque:)

Some of the common goals used in Maven based build process includes test, clean, package, install. Apart from this maven provides excellent plugin capability.
One of such plugin allows you to directly deploy your webapp on your java application server like Tomcat/Jetty/Websphere etc.,
Lets see how we can make use of that plugin for inplace or on-the-fly editing and still be on hold with version control system.


1 comment:

Anonymous said...

Falcon18 Deals Tries to bring you the Best Branded Organic Products which do not involve modern synthetic inputs such as synthetic pesticides and chemical fertilizers and from certified Organic Suppliers [url=http://www.tiffanyjewelryonlineoutlet.com/]tiffany jewelry outlet[/url]
They want to supply brand new items, which they can achieve a higher sale price for [url=http://www.2013tomsshoes-outlet.com/]toms outlet online[/url]
Look for a vendor that has reputable industry standing as well as extensive experience to ensure that you're teaming with a firm that has the skills needed to help your business make a lasting impression on visitors at any event [url=http://www.2013tomsshoes-outlet.net/]cheap toms shoes[/url]
These trainer gloves are little heavier than the gloves used during the actual fight [url=http://www.louboutinshoes2013sale.co.uk/]louboutin uk[/url]
Like Aviators, Wayfarer sunglasses were originally design for aircraft pilots [url=http://www.cheapestlouboutinshoe.co.uk/]christian louboutin sale[/url]