<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Start IT up &#187; glassfish</title>
	<atom:link href="http://www.techjini.com/blog/category/glassfish/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techjini.com/blog</link>
	<description>The blog of TechJini Solutions</description>
	<lastBuildDate>Fri, 30 Dec 2011 10:31:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>GlassFish Auto Deployment and Hot Deployment</title>
		<link>http://www.techjini.com/blog/2007/10/23/glassfish-auto-deployment-and-hot-deployment/</link>
		<comments>http://www.techjini.com/blog/2007/10/23/glassfish-auto-deployment-and-hot-deployment/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 08:39:10 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[glassfish]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.techjini.com/blog/2007/10/23/glassfish-auto-deployment-and-hot-deployment/</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.techjini.com/blog/2007/10/23/glassfish-auto-deployment-and-hot-deployment/' addthis:title='GlassFish Auto Deployment and Hot Deployment '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>There are several ways to deploy a GlassFish application. To speed up development/debuging we need a way to instantly deploy<a href="http://www.techjini.com/blog/2007/10/23/glassfish-auto-deployment-and-hot-deployment/" class="searchmore">Read the Rest...</a><div class="clr"></div><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.techjini.com/blog/2007/10/23/glassfish-auto-deployment-and-hot-deployment/' addthis:title='GlassFish Auto Deployment and Hot Deployment ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.techjini.com/blog/2007/10/23/glassfish-auto-deployment-and-hot-deployment/' addthis:title='GlassFish Auto Deployment and Hot Deployment '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><p>There are several <a href="https://glassfish.dev.java.net/javaee5/deployment/#0.0.0.0.Deploying%20Applications%7Coutline">ways</a> to <a href="http://docs.sun.com/app/docs/doc/819-4733/ablgw?a=view">deploy a GlassFish application</a>. To speed up development/debuging we need a way to instantly deploy web applications. One of the ways is to use hot deployment feature, another lesser known feature is &#8216;directory deployment&#8217;. You simply point GlassFish to your development directory and let it pick up and deploy application from there. No packaging and re-deoploying hassles. The catch is whenever you want to re-deploy your application you just need to &#8216;touch&#8217; a file called &#8216;.reload&#8217; which should be present in your web folder.<br />
Following is the command and directory structure you can use.<br />
&#8211;|myproj<br />
&#8211;|&#8211;|src<br />
&#8211;|&#8211;|web<br />
&#8211;|&#8211;|&#8211;|WEB-INF<br />
&#8211;|&#8211;|&#8211;|&#8211;lib<br />
&#8211;|&#8211;|&#8211;|&#8211;classes<br />
&#8211;|&#8211;|&#8211;|&#8211;web.xml<br />
&#8211;|&#8211;|.reload</p>
<p>GLASS_FISH_HOME/bin/<a href="http://docs.sun.com/app/docs/doc/819-4733/gcode?a=view">asadmin</a> deploydir full_path_to_you_web_folder</p>
<p>If you are using Eclipse or NetBeans make sure that they put the class files in web-inf/class folder after compiling.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.techjini.com/blog/2007/10/23/glassfish-auto-deployment-and-hot-deployment/' addthis:title='GlassFish Auto Deployment and Hot Deployment ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.techjini.com/blog/2007/10/23/glassfish-auto-deployment-and-hot-deployment/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>

