<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Techieexchange's Techblog</title>
	<atom:link href="http://techieexchange.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://techieexchange.wordpress.com</link>
	<description>Technical discussion and tutorial contribution related to J2EE, JEE, Jboss Seam, JSF, Eclipse, Spring, Hibernate, RichFaces, AJAX, Google GWT, Web Application frameworks etc.,</description>
	<lastBuildDate>Sat, 18 Jun 2011 09:39:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='techieexchange.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Techieexchange's Techblog</title>
		<link>http://techieexchange.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://techieexchange.wordpress.com/osd.xml" title="Techieexchange&#039;s Techblog" />
	<atom:link rel='hub' href='http://techieexchange.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Flexy Seam: Jboss Seam with Flamingo and Flex &#8211; enters RIA world</title>
		<link>http://techieexchange.wordpress.com/2008/12/11/ria-seam-flamingo-flex/</link>
		<comments>http://techieexchange.wordpress.com/2008/12/11/ria-seam-flamingo-flex/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 09:00:05 +0000</pubDate>
		<dc:creator>Techie Exchange</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Flamingo]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[SEAM]]></category>

		<guid isPermaLink="false">http://techieexchange.wordpress.com/?p=80</guid>
		<description><![CDATA[Description soon&#8230; Links http://www.exadel.com/flamingo/docs/ http://blogs.esberi.com/adobe-flex/seam-flex-integration http://java.dzone.com/articles/exadel-flamingo-flex-and-jboss?mz=3006-jboss http://www.adobe.com/devnet/flex/articles/flex_seam.html http://www.theserverside.com/news/thread.tss?thread_id=49358<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=80&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Description soon&#8230;</p>
<p>Links</p>
<p>http://www.exadel.com/flamingo/docs/</p>
<p>http://blogs.esberi.com/adobe-flex/seam-flex-integration</p>
<p>http://java.dzone.com/articles/exadel-flamingo-flex-and-jboss?mz=3006-jboss</p>
<p>http://www.adobe.com/devnet/flex/articles/flex_seam.html</p>
<p>http://www.theserverside.com/news/thread.tss?thread_id=49358</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techieexchange.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techieexchange.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techieexchange.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techieexchange.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techieexchange.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techieexchange.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techieexchange.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techieexchange.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techieexchange.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techieexchange.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techieexchange.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techieexchange.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techieexchange.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techieexchange.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=80&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techieexchange.wordpress.com/2008/12/11/ria-seam-flamingo-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2861b0863d19cac25f2bbeb22853d0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techieExchange</media:title>
		</media:content>
	</item>
		<item>
		<title>JSF Session Expired Timeout Solution</title>
		<link>http://techieexchange.wordpress.com/2008/02/21/jsf-session-expired-timeout-solution/</link>
		<comments>http://techieexchange.wordpress.com/2008/02/21/jsf-session-expired-timeout-solution/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 12:57:48 +0000</pubDate>
		<dc:creator>Techie Exchange</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[JSF]]></category>
		<category><![CDATA[SEAM]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Application]]></category>

		<guid isPermaLink="false">http://techieexchange.wordpress.com/?p=79</guid>
		<description><![CDATA[With JSF, a clean Session expiry or timeout is not easy to implement. So, I would like to post a solution that you can integrate it as out-of-box with your JSF applications. Here is a better version of code with syntax highlight: http://techieexchange.blogspot.com/2008/02/jsf-session-expiry-timeout-solution.html Step 1: /** * When the user session timedout, ({@link #sessionDestroyed(HttpSessionEvent)}) method will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=79&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With JSF, a clean Session expiry or timeout is not easy to implement. So, I would like to post a solution that you can integrate it as out-of-box with your JSF applications.</p>
<p>Here is a better version of code with syntax highlight:</p>
<p><a target="_blank" href="http://techieexchange.blogspot.com/2008/02/jsf-session-expiry-timeout-solution.html">http://techieexchange.blogspot.com/2008/02/jsf-session-expiry-timeout-solution.html</a></p>
<p><span id="more-79"></span></p>
<h3><font color="#ff0000">Step 1:</font></h3>
<p><font size="2" color="#3f5fbf"></p>
<address>/**</address>
<address><font size="2"><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">When</font><font size="2"> </font><font size="2" color="#3f5fbf">the</font><font size="2"> </font><font size="2" color="#3f5fbf">user</font><font size="2"> </font><font size="2" color="#3f5fbf">session</font><font size="2"> </font><font size="2" color="#3f5fbf">timedout,</font><font size="2"> </font><font size="2" color="#3f5fbf">(</font><font size="2" color="#3f3fbf">{@link #sessionDestroyed(HttpSessionEvent)}</font><font size="2" color="#3f5fbf">)</font><font size="2"> </font><font size="2" color="#3f5fbf">method</font><font size="2"> </font><font size="2" color="#3f5fbf">will</font><font size="2"> </font><font size="2" color="#3f5fbf">be</font><font size="2"> </font><font size="2" color="#3f5fbf">invoked.</font><font size="2"></p>
<address>
<address><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">This</font><font size="2"> </font><font size="2" color="#3f5fbf">method</font><font size="2"> </font><font size="2" color="#3f5fbf">will</font><font size="2"> </font><font size="2" color="#3f5fbf">make</font><font size="2"> </font><font size="2" color="#3f5fbf">necessary</font><font size="2"> </font><font size="2" color="#3f5fbf">cleanups</font><font size="2"> </font><font size="2" color="#3f5fbf">(logging</font><font size="2"> </font><font size="2" color="#3f5fbf">out</font><font size="2"> </font><font size="2" color="#3f5fbf">user,</font><font size="2"> </font><font size="2" color="#3f5fbf">updating</font><font size="2"> </font><font size="2" color="#3f5fbf">db</font><font size="2"> </font><font size="2" color="#3f5fbf">and</font><font size="2"> </font><font size="2" color="#3f5fbf">audit</font><font size="2"> </font><font size="2" color="#3f5fbf">logs,</font><font size="2"> </font><font size="2" color="#3f5fbf">etc&#8230;)</font><font size="2"><br />
<address><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">As</font><font size="2"> </font><font size="2" color="#3f5fbf">a</font><font size="2"> </font><font size="2" color="#3f5fbf">result;</font><font size="2"> </font><font size="2" color="#3f5fbf">after</font><font size="2"> </font><font size="2" color="#3f5fbf">this</font><font size="2"> </font><font size="2" color="#3f5fbf">method,</font><font size="2"> </font><font size="2" color="#3f5fbf">we</font><font size="2"> </font><font size="2" color="#3f5fbf">will</font><font size="2"> </font><font size="2" color="#3f5fbf">be</font><font size="2"> </font><font size="2" color="#3f5fbf">in</font><font size="2"> </font><font size="2" color="#3f5fbf">a</font><font size="2"> </font><font size="2" color="#3f5fbf">clear</font><font size="2"> </font><font size="2" color="#3f5fbf">and</font><font size="2"> </font><font size="2" color="#3f5fbf">stable</font><font size="2"> </font><font size="2" color="#3f5fbf">state.</font><font size="2"> </font><font size="2" color="#3f5fbf">So</font><font size="2"> </font><font size="2" color="#3f5fbf">nothing</font><font size="2"> </font><font size="2" color="#3f5fbf">left</font><font size="2"> </font><font size="2" color="#3f5fbf">to</font><font size="2"> </font><font size="2" color="#3f5fbf">think</font><font size="2"> </font><font size="2" color="#3f5fbf">about</font><font size="2"><br />
<address><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">because</font><font size="2"> </font><font size="2" color="#3f5fbf">session</font><font size="2"> </font><font size="2" color="#3f5fbf">expired,</font><font size="2"> </font><font size="2" color="#3f5fbf">user</font><font size="2"> </font><font size="2" color="#3f5fbf">can</font><font size="2"> </font><font size="2" color="#3f5fbf">do</font><font size="2"> </font><font size="2" color="#3f5fbf">nothing</font><font size="2"> </font><font size="2" color="#3f5fbf">after</font><font size="2"> </font><font size="2" color="#3f5fbf">this</font><font size="2"> </font><font size="2" color="#3f5fbf">point.</font></address>
<address><font size="2"><font size="2" color="#3f5fbf">*</font><font size="2"><br />
<address><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">Thanks</font><font size="2"> </font><font size="2" color="#3f5fbf">to</font><font size="2"> </font><font size="2" color="#3f5fbf">hturksoy</font><font size="2" color="#3f5fbf"> </font><font size="2"><br />
<address><font size="2" color="#3f5fbf">*</font><font size="2"><br />
<font size="2" color="#3f5fbf">*/</font></font></address>
<p></font></address>
<p></font></font></address>
<p></font></address>
<p></font></address>
</address>
<p></font></font></address>
<p></font></p>
<p><font size="2" color="#7f0055"><br />
</font><font size="2" color="#7f0055"><br />
</font><font size="2" color="#7f0055"><br />
</font><font size="2" color="#7f0055"><br />
<address>public<font size="2"> </font><font size="2" color="#7f0055">class</font><font size="2"> <strong>MySessionListener</strong> </font><font size="2" color="#7f0055">implements</font><font size="2"> HttpSessionListener {</p>
<address></address>
<address><font size="2" color="#7f0055">public</font><font size="2"> <strong>MySessionListener</strong>() {</p>
<address>}</address>
<address></address>
<address><font size="2" color="#7f0055">public</font><font size="2"> </font><font size="2" color="#7f0055">void</font><font size="2"> sessionCreated(HttpSessionEvent event) {</p>
<address><font color="#000000">System.<font size="2">out</font><font size="2">.println(</font><font size="2">&#8220;Current Session created : &#8220;</font><font size="2"> + event.getSession().getId() + </font><font size="2">&#8221; at &#8220;</font><font size="2">+ </font><font size="2">new</font></font><font size="2"><font color="#000000"> Date());<br />
</font><br />
<address>}</address>
<address></address>
<address><font size="2" color="#7f0055">public</font><font size="2"> </font><font size="2" color="#7f0055">void</font><font size="2"> sessionDestroyed(HttpSessionEvent event) {</p>
<address><font size="2" color="#3f7f5f">// get the destroying session&#8230;</font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p><font size="2"></p>
<address>HttpSession session = event.getSession();</address>
<address>System.<font size="2" color="#0000c0">out</font><font size="2">.println(</font><font size="2" color="#2a00ff">&#8220;Current Session destroyed :&#8221;</font><font size="2"> + session.getId() + </font><font size="2" color="#2a00ff">&#8221; Logging out user&#8230;&#8221;</font><font size="2">);</p>
<address></address>
<address><font size="2" color="#3f7f5f">/*</p>
<address>* nobody can reach user data after this point because session is invalidated already.</address>
<address>* So, get the user data from session and save its logout information </address>
<address>* before losing it.</address>
<address>* User&#8217;s redirection to the timeout page will be handled by the SessionTimeoutFilter.</address>
<address>*/</address>
<p></font></address>
<p></font></address>
<p></font></p>
<p></font><font size="2"><br />
</font><font size="2"><br />
</font><font size="2"><br />
</font><font size="2"><br />
</font><font size="2"><br />
<address><font size="2" color="#3f7f5f">// Only if needed</font><font size="2"></p>
<address><font size="2" color="#7f0055">try</font><font size="2"> {</p>
<address>prepareLogoutInfoAndLogoutActiveUser(session);</address>
<address>} <font size="2" color="#7f0055">catch</font><font size="2">(Exception e) {</p>
<address>System.<font size="2" color="#0000c0">out</font><font size="2">.println(</font><font size="2" color="#2a00ff">&#8220;Error while logging out at session destroyed : &#8220;</font><font size="2"> + e.getMessage());</p>
<address>}</address>
<address>}</address>
<address></address>
<address></address>
<address><font size="2" color="#3f5fbf">/**</font><font size="2"><br />
</font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p><font size="2"><br />
<address><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">Clean</font><font size="2"> </font><font size="2" color="#3f5fbf">your</font><font size="2"> </font><font size="2" color="#3f5fbf">logout</font><font size="2"> </font><font size="2" color="#3f5fbf">operations.</font><font size="2"> </font></address>
<address><font size="2"><font size="2" color="#3f5fbf">*/</font></font><font size="2"><br />
<address><font size="2" color="#7f0055">public</font><font size="2"> </font><font size="2" color="#7f0055">void</font><font size="2"> prepareLogoutInfoAndLogoutActiveUser(HttpSession httpSession) {</p>
<address><font size="2" color="#3f7f5f">// Only if needed</font><font size="2"></p>
<address>}</address>
<address></address>
<address></address>
<address>} </address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></p>
<p></font></p>
<h3><font color="#ff0000">Step 2:</font></h3>
<address><font size="2" color="#3f5fbf"></p>
<address>/**</address>
<p></font></address>
<p><font size="2"><br />
</font><font size="2"><br />
</font><font size="2"><br />
<address><font size="2" color="#3f5fbf">*</font><font size="2"><font size="2" color="#3f5fbf">When</font><font size="2"> </font><font size="2" color="#3f5fbf">the</font><font size="2"> </font><font size="2" color="#3f5fbf">session</font><font size="2"> </font><font size="2" color="#3f5fbf">destroyed,</font><font size="2"> </font><font size="2" color="#3f5fbf">MySessionListener</font><font size="2"> </font><font size="2" color="#3f5fbf">will</font><font size="2"> </font><font size="2" color="#3f5fbf">do</font><font size="2"> </font><font size="2" color="#3f5fbf">necessary</font><font size="2"> </font><font size="2" color="#3f5fbf">logout</font><font size="2"> </font><font size="2" color="#3f5fbf">operations.</font></font><font size="2"></p>
<address><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">Later,</font><font size="2"> </font><font size="2" color="#3f5fbf">at</font><font size="2"> </font><font size="2" color="#3f5fbf">the</font><font size="2"> </font><font size="2" color="#3f5fbf">first</font><font size="2"> </font><font size="2" color="#3f5fbf">request</font><font size="2"> </font><font size="2" color="#3f5fbf">of</font><font size="2"> </font><font size="2" color="#3f5fbf">client,</font><font size="2"> </font><font size="2" color="#3f5fbf">this</font><font size="2"> </font><font size="2" color="#3f5fbf">filter</font><font size="2"> </font><font size="2" color="#3f5fbf">will</font><font size="2"> </font><font size="2" color="#3f5fbf">be</font><font size="2"> </font><font size="2" color="#3f5fbf">fired</font><font size="2"> </font><font size="2" color="#3f5fbf">and</font><font size="2"> </font><font size="2" color="#3f5fbf">redirect</font><font size="2"><br />
<address><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">the</font><font size="2"> </font><font size="2" color="#3f5fbf">user</font><font size="2"> </font><font size="2" color="#3f5fbf">to</font><font size="2"> </font><font size="2" color="#3f5fbf">the</font><font size="2"> </font><font size="2" color="#3f5fbf">appropriate</font><font size="2"> </font><font size="2" color="#3f5fbf">timeout</font><font size="2"> </font><font size="2" color="#3f5fbf">page</font><font size="2"> </font><font size="2" color="#3f5fbf">if</font><font size="2"> </font><font size="2" color="#3f5fbf">the</font><font size="2"> </font><font size="2" color="#3f5fbf">session</font><font size="2"> </font><font size="2" color="#3f5fbf">is</font><font size="2"> </font><font size="2" color="#3f5fbf">not</font><font size="2"> </font><font size="2" color="#3f5fbf">valid.</font><font size="2"> </font></address>
<address><font size="2"><font size="2" color="#3f5fbf">* </font></font></address>
<p></font><br />
<address><font size="2"><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">Thanks</font><font size="2"> </font><font size="2" color="#3f5fbf">to</font><font size="2"> </font><font size="2" color="#3f5fbf">hturksoy</font><font size="2"><br />
<address>
<address><font size="2" color="#3f5fbf">*</font><font size="2"></p>
<address><font size="2" color="#3f5fbf">*/</font></address>
<p></font></address>
</address>
<p></font></font></address>
</address>
<p></font></address>
<p></font><font size="2" color="#7f0055"></font><font size="2" color="#7f0055"><br />
</font><font size="2" color="#7f0055"><br />
</font><font size="2" color="#7f0055"><br />
<address>public<font size="2"> </font><font size="2" color="#7f0055">class</font><font size="2"> <strong>SessionTimeoutFilter</strong> </font><font size="2" color="#7f0055">implements</font><font size="2"> Filter {</p>
<address></address>
<address><font color="#808080"> // This should be your default Home or Login page<br />
// &#8220;login.seam&#8221; if you use Jboss Seam otherwise &#8220;login.jsf&#8221; / &#8220;login.xhtml&#8221; or whatever</font></address>
<address><font size="2" color="#7f0055">private</font><font size="2"> String </font><font size="2" color="#0000c0">timeoutPage</font><font size="2"> = </font><font size="2" color="#2a00ff">&#8220;login.seam&#8221;</font><font size="2">;</p>
<address></address>
<address><font size="2" color="#7f0055">public</font><font size="2"> </font><font size="2" color="#7f0055">void</font><font size="2"> init(FilterConfig filterConfig) </font><font size="2" color="#7f0055">throws</font><font size="2"> ServletException {</p>
<address>}</address>
<address></address>
<address><font size="2" color="#7f0055">public</font><font size="2"> </font><font size="2" color="#7f0055">void</font><font size="2"> doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) </font><font size="2" color="#7f0055">throws</font><font size="2"> IOException,</p>
<address>ServletException {</address>
<address></address>
<address><font color="#000000"><font size="2">if</font><font size="2"> ((request </font><font size="2">instanceof</font><font size="2"> HttpServletRequest) &amp;&amp; (response </font><font size="2">instanceof</font></font><font size="2"><font color="#000000"> HttpServletResponse)) {</font></p>
<address><font color="#000000">HttpServletRequest httpServletRequest = (HttpServletRequest) request;</font></address>
<address><font color="#000000">HttpServletResponse httpServletResponse = (HttpServletResponse) response;</font></address>
<address></address>
<address><font size="2" color="#3f7f5f">// is session expire control required for this request?</font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p><font size="2"></p>
<address><font size="2" color="#7f0055">if</font><font size="2"> (isSessionControlRequiredForThisResource(httpServletRequest)) {</p>
<address></address>
<address><font size="2" color="#3f7f5f">// is session invalid?</font></address>
<p></font></address>
<p></font></p>
<p><font size="2"><br />
</font><font size="2"><br />
<address><font size="2" color="#7f0055">if</font><font size="2"> (isSessionInvalid(httpServletRequest)) {</p>
<address>String <font color="#000000">timeoutUrl = httpServletRequest.getContextPath() + <font size="2">&#8220;/&#8221;</font></font><font size="2"><font color="#000000"> + getTimeoutPage();<br />
</font><br />
<address><font color="#000000">System.<i><font size="2">out</font></i><font size="2">.println(</font><font size="2">&#8220;Session is invalid! redirecting to timeoutpage : &#8220;</font></font><font size="2"><font color="#000000"> + timeoutUrl);<br />
</font><br />
<address></address>
<address><font color="#000000">httpServletResponse.sendRedirect(timeoutUrl);</font></address>
<address><font size="2" color="#7f0055">return</font><font size="2">;</p>
<address>}</address>
<address>}</address>
<address>}</address>
<address>filterChain.doFilter(request, response);</address>
<address>}</address>
<address></address>
<address></address>
<address><font size="2" color="#3f5fbf">/*</font><font size="2"><font size="2"></p>
<address>
<address><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">session</font><font size="2"> </font><font size="2" color="#3f5fbf">shouldn&#8217;t</font><font size="2"> </font><font size="2" color="#3f5fbf">be</font><font size="2"> </font><font size="2" color="#3f5fbf">checked</font><font size="2"> </font><font size="2" color="#3f5fbf">for</font><font size="2"> </font><font size="2" color="#3f5fbf">some</font><font size="2"> </font><font size="2" color="#3f5fbf">pages.</font><font size="2"> </font><font size="2" color="#3f5fbf">For</font><font size="2"> </font><font size="2" color="#3f5fbf">example:</font><font size="2"> </font><font size="2" color="#3f5fbf">for</font><font size="2"> </font><font size="2" color="#3f5fbf">timeout</font><font size="2"> </font><font size="2" color="#3f5fbf">page..</font><font size="2"><br />
</font></address>
</address>
<p></font></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></p>
<p></font><font size="2"><br />
</font><font size="2"><br />
</font><font size="2"><br />
<address><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">Since</font><font size="2"> </font><font size="2" color="#3f5fbf">we&#8217;re</font><font size="2"> </font><font size="2" color="#3f5fbf">redirecting</font><font size="2"> </font><font size="2" color="#3f5fbf">to</font><font size="2"> </font><font size="2" color="#3f5fbf">timeout</font><font size="2"> </font><font size="2" color="#3f5fbf">page</font><font size="2"> </font><font size="2" color="#3f5fbf">from</font><font size="2"> </font><font size="2" color="#3f5fbf">this</font><font size="2"> </font><font size="2" color="#3f5fbf">filter,</font><font size="2"></p>
<address><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">if</font><font size="2"> </font><font size="2" color="#3f5fbf">we</font><font size="2"> </font><font size="2" color="#3f5fbf">don&#8217;t</font><font size="2"> </font><font size="2" color="#3f5fbf">disable</font><font size="2"> </font><font size="2" color="#3f5fbf">session</font><font size="2"> </font><font size="2" color="#3f5fbf">control</font><font size="2"> </font><font size="2" color="#3f5fbf">for</font><font size="2"> </font><font size="2" color="#3f5fbf">it,</font><font size="2"> </font><font size="2" color="#3f5fbf">filter</font><font size="2"> </font><font size="2" color="#3f5fbf">will</font><font size="2"> </font><font size="2" color="#3f5fbf">again</font><font size="2"> </font><font size="2" color="#3f5fbf">redirect</font><font size="2"> </font><font size="2" color="#3f5fbf">to</font><font size="2"> </font><font size="2" color="#3f5fbf">it</font><font size="2"><br />
<address><font size="2" color="#3f5fbf">*</font><font size="2"> </font><font size="2" color="#3f5fbf">and</font><font size="2"> </font><font size="2" color="#3f5fbf">this</font><font size="2"> </font><font size="2" color="#3f5fbf">will</font><font size="2"> </font><font size="2" color="#3f5fbf">be</font><font size="2"> </font><font size="2" color="#3f5fbf">result</font><font size="2"> </font><font size="2" color="#3f5fbf">with</font><font size="2"> </font><font size="2" color="#3f5fbf">an</font><font size="2"> </font><font size="2" color="#3f5fbf">infinite</font><font size="2"> </font><font size="2" color="#3f5fbf">loop&#8230;</font><font size="2"></p>
<address><font size="2" color="#3f5fbf">*/</font></address>
<p></font></address>
<p><font size="2"></p>
<address><font size="2" color="#7f0055">private</font><font size="2"> </font><font size="2" color="#7f0055">boolean</font><font size="2"> isSessionControlRequiredForThisResource(HttpServletRequest httpServletRequest) {</p>
<address></address>
<address>String requestPath = httpServletRequest.getRequestURI();</address>
<address></address>
<address><font size="2" color="#7f0055">boolean</font><font size="2"> controlRequired = !StringUtils.<i>contains</i>(requestPath, getTimeoutPage());</p>
<address></address>
<address><font size="2" color="#7f0055">return</font><font size="2"> controlRequired;</p>
<address></address>
<address></address>
<address></address>
<address>}</address>
<address></address>
<address><font size="2" color="#7f0055">private</font><font size="2"> </font><font size="2" color="#7f0055">boolean</font><font size="2"> isSessionInvalid(HttpServletRequest httpServletRequest) {</p>
<address><font size="2" color="#7f0055">boolean</font><font size="2"> sessionInValid = (httpServletRequest.getRequestedSessionId() != </font><b><font size="2" color="#7f0055">null</font></b><font size="2">)</p>
<address>&amp;&amp; !httpServletRequest.isRequestedSessionIdValid();</address>
<address><font size="2" color="#7f0055">return</font><font size="2"> sessionInValid;</p>
<address>}</address>
<address></address>
<address><font size="2" color="#7f0055">public</font><font size="2"> </font><font size="2" color="#7f0055">void</font><font size="2"> destroy() {</p>
<address>}</address>
<address></address>
<address><font size="2" color="#7f0055">public</font><font size="2"> String getTimeoutPage() {</p>
<address><font size="2" color="#7f0055">return</font><font size="2"> </font><font size="2" color="#0000c0">timeoutPage</font><font size="2">;</p>
<address>}</address>
<address></address>
<address><font size="2" color="#7f0055">public</font><font size="2"> </font><font size="2" color="#7f0055">void</font><font size="2"> setTimeoutPage(String timeoutPage) {</p>
<address><font size="2" color="#7f0055">this</font><font size="2">.</font><font size="2" color="#0000c0">timeoutPage</font><font size="2"> = timeoutPage;</p>
<address>}</address>
<address></address>
<address>} </address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></p>
<p></font></address>
<p></font></address>
<p></font></p>
<h3><font color="#ff0000">Step 3:</font></h3>
<p>Web.xml<font size="2" color="#008080">&lt;<font size="2" color="#3f7f7f">listener</font><font size="2" color="#008080">&gt;</font><font size="2"><br />
<address>
<address><font size="2" color="#008080">&lt;</font><font size="2" color="#3f7f7f">listener-class</font><font size="2" color="#008080">&gt;</font><font size="2"><br />
<address>com.fpc.carconfig.session.MySessionListener</address>
<address><font size="2" color="#008080">&lt;/</font><font size="2" color="#3f7f7f">listener-class</font><font size="2" color="#008080">&gt;</font><font size="2"><br />
<address><font size="2" color="#008080">&lt;/</font><font size="2" color="#3f7f7f">listener</font><font size="2" color="#008080">&gt;</font></address>
<address><font color="#008080"></font><font size="2"><br />
</font><font size="2"><font size="2" color="#008080">&lt;</font><font size="2" color="#3f7f7f">filter</font><font size="2" color="#008080">&gt;</font><font size="2"><br />
<address><font size="2" color="#008080">&lt;</font><font size="2" color="#3f7f7f">filter-name</font><font size="2" color="#008080">&gt;</font><font size="2">SessionTimeoutFilter</font><font size="2" color="#008080">&lt;/</font><font size="2" color="#3f7f7f">filter-name</font><font size="2" color="#008080">&gt;</font></address>
<p></font></font></address>
<p></font></address>
<p></font></address>
</address>
<p></font></font></p>
<p><font size="2"><br />
</font><font size="2"><br />
</font><font size="2"><br />
<address><font size="2" color="#008080">&lt;</font><font size="2" color="#3f7f7f">filter-class</font><font size="2" color="#008080">&gt;</font><font size="2"></p>
<address>com.fpc.carconfig.session.SessionTimeoutFilter</address>
<address><font size="2" color="#008080">&lt;/</font><font size="2" color="#3f7f7f">filter-class</font><font size="2" color="#008080">&gt;</font></address>
<address><font size="2"><font size="2" color="#008080">&lt;/</font><font size="2" color="#3f7f7f">filter</font><font size="2" color="#008080">&gt;</font></p>
<address><font size="2"><br />
<address></address>
<address><font size="2" color="#008080">&lt;</font><font size="2" color="#3f7f7f">filter-mapping</font><font size="2" color="#008080">&gt;</font><font size="2"></p>
<address><font size="2" color="#008080">&lt;</font><font size="2" color="#3f7f7f">filter-name</font><font size="2" color="#008080">&gt;</font><font size="2">SessionTimeoutFilter</font><font size="2" color="#008080">&lt;/</font><font size="2" color="#3f7f7f">filter-name</font><font size="2" color="#008080">&gt;</font><font size="2"></p>
<address><font size="2" color="#008080">&lt;</font><font size="2" color="#3f7f7f">url-pattern</font><font size="2" color="#008080">&gt;</font><font size="2">*.seam</font><font size="2" color="#008080">&lt;/</font><font size="2" color="#3f7f7f">url-pattern</font><font size="2" color="#008080">&gt; <font color="#808080">// Remember to use your correct URL pattern</font></font></address>
<address><font size="2"><font size="2" color="#008080">&lt;/</font><font size="2" color="#3f7f7f">filter-mapping</font><font size="2" color="#008080">&gt;</font>Thats it.<br />
To check whether this solution works:<br />
Change session timeout to 1 minute in web.xml like this:<font size="2"></font><font size="2"><br />
<address><font size="2" color="#008080">&lt;</font><font size="2" color="#3f7f7f">session-config</font><font size="2" color="#008080">&gt;</font><font size="2"></p>
<address><font size="2" color="#008080">&lt;</font><font size="2" color="#3f7f7f">session-timeout</font><font size="2" color="#008080">&gt;<font color="#000000">1</font></font><font size="2" color="#008080">&lt;/</font><font size="2" color="#3f7f7f">session-timeout</font><font size="2" color="#008080">&gt;</font><font size="2"><br />
</font></address>
<p></font></address>
<p></font></p>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font></address>
<p></font><font size="2"><br />
</font><font size="2"><br />
<address><font size="2" color="#008080">&lt;/</font><font size="2" color="#3f7f7f">session-config</font><font size="2" color="#008080">&gt;</font><br />
</address>
<p></font><br />
<address><font size="2" color="#008080"></font></address>
<p><font size="2" color="#008080"><font color="#000000">Feel free to share your comments.</font></font></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techieexchange.wordpress.com/79/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techieexchange.wordpress.com/79/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techieexchange.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techieexchange.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techieexchange.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techieexchange.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techieexchange.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techieexchange.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techieexchange.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techieexchange.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techieexchange.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techieexchange.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techieexchange.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techieexchange.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techieexchange.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techieexchange.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=79&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techieexchange.wordpress.com/2008/02/21/jsf-session-expired-timeout-solution/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2861b0863d19cac25f2bbeb22853d0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techieExchange</media:title>
		</media:content>
	</item>
		<item>
		<title>Database development with HiberObjects</title>
		<link>http://techieexchange.wordpress.com/2008/02/07/database-development-with-hiberobjects/</link>
		<comments>http://techieexchange.wordpress.com/2008/02/07/database-development-with-hiberobjects/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 22:57:58 +0000</pubDate>
		<dc:creator>cgernert</dc:creator>
				<category><![CDATA[Development Tools]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[Database Development]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[HiberObjects]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JPA]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://techieexchange.wordpress.com/?p=67</guid>
		<description><![CDATA[There are a lot of UML and ER tools out there, but they cost a lot of money, too. This is a step-by-step to develop your database with Eclipse and HiberObjects for free. It is a fast way for Java developers to develop database tables. It uses an UML-ER Model to generate JavaBeans, which can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=67&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are a lot of UML and ER tools out there, but they cost a lot of money, too.<br />
This is a step-by-step to develop your database with Eclipse and HiberObjects for free.<br />
It is a fast way for Java developers to develop database tables.<br />
It uses an UML-ER Model to generate JavaBeans, which can create tables on the database by using Hibernate as persistence manager.</p>
<p><span id="more-67"></span><br />
<b>Download and extract the files</b></p>
<p>Download the last version of Eclipse Java EE Edition (second entry)<br />
<a href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/<br />
</a><br />
<span>You will need a database, I like MySQL but you can use any other Database. Download the proper JDBC Driver</span><br />
<span><a href="http://dev.mysql.com/downloads/connector/j/5.0.html">http://dev.mysql.com/downloads/connector/j/5.0.html</a><br />
</span><br />
<span>Extract these files where you like but keep in mind not to use blanks &#8221; &#8221; or special characters &#8220;áä&#8221;. <span>I used “C:\Development” as path. And create a new workspace folder. </span><br />
<span>Your development folder should look like this.<br />
</span></span></p>
<p><a href="http://techieexchange.files.wordpress.com/2008/02/1worksp1.jpg" title="workspace"><img src="http://techieexchange.files.wordpress.com/2008/02/1worksp1.thumbnail.jpg?w=480" alt="workspace" /></a></p>
<p>Next download hiberobjects-all-1.3.18.zip<br />
<a href="http://objectgeneration.com/eclipse/download.html"><span>http://objectgeneration.com/eclipse/download.html<br />
</span></a><br />
<span>Extract this file in the Eclipse directory and overwrite all existing folders.<br />
</span><br />
<b><span>Download and install database</span></b></p>
<p><b><span></span></b>Download the MySQL database from this page<br />
<a href="http://dev.mysql.com/downloads/mysql/5.0.html">http://dev.mysql.com/downloads/mysql/5.0.html<br />
</a><br />
Next we need to get our database up and running.<br />
Run the Setup and make a “typical” installation. At the end of the Setup configure the MySQL server. Choose “Standard Configuration”. Do not change anything in the next screen. Now set root password for the DB. I used “mysql” at this point (very inventive, huh?). Go to the next screen and finish the configuration.</p>
<p><b><span>Start Eclipse</span> and create a new project</b></p>
<p><span>Start Eclipse and set your workspace to “C:\Development\workspace”.</span><br />
<span>Close the welcome screen.</span><br />
<span>Create a new HiberObjects project.</span><br />
<span>Choose “File” =&gt; “new” =&gt; “Project&#8230;”</span><br />
<span>Select HiberObjects project. Customize the project name or the root package if you want to and click “Finish”.</span></p>
<p><a href="http://techieexchange.files.wordpress.com/2008/02/2hib.jpg" title="newproject"><img src="http://techieexchange.files.wordpress.com/2008/02/2hib.thumbnail.jpg?w=480" alt="newproject" /></a></p>
<p><span></span><span>Eclipse asks you, if you want to switch to the HiberObjects perspective. Choose “Yes”</span><b><span><br />
</span></b><br />
<b><span>Configure the JDBC connection<br />
</span></b><br />
<span>Check out “hibernate.properties” in the “conf” folder.</span><br />
<span>This file contains the configuration for the JDBC connection. The file is configured for HSQL database.</span></p>
<p><a href="http://techieexchange.files.wordpress.com/2008/02/3hibpro.jpg" title="propertiesbefore"><img src="http://techieexchange.files.wordpress.com/2008/02/3hibpro.thumbnail.jpg?w=480" alt="propertiesbefore" /></a></p>
<p><span>Happily there is a note how to configure the MySQL connection.</span><br />
<span>Comment and comment up the right lines. Enter “root” as username and “mysql” as password. We will use the MySQL “test” database. Change the last </span>line to “hibernate.connection.url=jdbc:mysql://localhost/test”.<br />
The file should now look like this.</p>
<p><a href="http://techieexchange.files.wordpress.com/2008/02/35hibpro.jpg" title="properties"><img src="http://techieexchange.files.wordpress.com/2008/02/35hibpro.thumbnail.jpg?w=480" alt="properties" /></a></p>
<p>Next we need to add the MySQL JDBC driver to the project.<br />
Right click your project and select „Properties“, “Java Build Path” and “Libraries”. Add an external JAR file. And select “mysql-connector-java-5.0.8-bin.jar” from “C:\Development\mysql-connector-java-5.0.8” and click OK.</p>
<p><a href="http://techieexchange.files.wordpress.com/2008/02/lib.jpg" title="lib"><img src="http://techieexchange.files.wordpress.com/2008/02/lib.thumbnail.jpg?w=480" alt="lib" /></a></p>
<p>The JDBC connection to MySQL is finished.</p>
<p><b>Create the model</b></p>
<p>Select &#8220;Model&#8221; in “HiberObjects” =&gt; “com.xyz.myproject.model”<br />
That&#8217;s our playground.</p>
<p>Next we create a more or less simple model. I thought of a program that helps us with the market research for our super market.<br />
Right click at your empty model and create a new class “Customer”. Right click at the new class and generate new attribute “+String name”. The “+” at the beginning indicates that our attribute is public, but only the getters and setters will be public.</p>
<p>You can get more informations here<br />
<a href="http://objectgeneration.com/eclipse/">http://objectgeneration.com/eclipse/</a><br />
If you don&#8217;t know what you are doing here, you should look at this.<br />
<a href="http://en.wikipedia.org/wiki/Class_diagram">http://en.wikipedia.org/wiki/Class_diagram<br />
</a><br />
Right click at the “Costumer” class and select “Show” =&gt; ”Id”. The attribute “+Long id &lt;&lt;id&gt;&gt;” appears. This attribute is generated for all classes automatically as primary key. Later you can see the attribute in your JavaBean, too.</p>
<p>Create a new class “Visit”. The visit at our super market hat got a time and a duration. Create the new attributes “+Date time” and “+String duration”.</p>
<p>You can add a JPA annotation to the duration attribute. Right click at “+String duration” and select “New” =&gt; “Tag”. A new “@Column” Tag appears. Right click at this one and create a new parameter for this one, enter “nullable=false”.</p>
<p>We will need a class “Product”, too. A product has usually a name and a prize. Make new Attributes “+String name” and “+double prize”.</p>
<p>Now it is time to connect the classes.</p>
<p>Make a bidirectional association between “Costumer” and “Visit” by clicking at the “&#8212;” Symbol and connect each class with another.<br />
One costumer can do several visits but one visit can only be made by one costumer. Change the the Multiplicity by right click on it. Change the one at “Visit” from “0..1” to “*” and the one at “Costumer” to “1”.</p>
<p>Now connect the “Visit” class with the “Product” class by a bidirectional association.<br />
The costumer can buy several product at each visit and one product can be bought at different visits. Change both Multiplicities from “0..1” to “*”.</p>
<p>We want to store these informations at the database. Right click at each class and select as Stereotype “Persistent”.</p>
<p>That will do it for now. The model is complete for our purpose.<br />
<b></b><br />
<b>Generate the JavaBeans<br />
</b><br />
When you are done, right click “HiberObjects” in your Eclipse project and select “Save all”.<br />
HiberObjects has generated three JavaBeans from the Model in the com.xyz.myproject.model” package.</p>
<p>It should look like this.</p>
<p><a href="http://techieexchange.files.wordpress.com/2008/02/5modelfinnew.jpg" title="modelnew"><img src="http://techieexchange.files.wordpress.com/2008/02/5modelfinnew.thumbnail.jpg?w=480" alt="modelnew" /></a></p>
<p><b>Create the database tables</b></p>
<p>In the package “com.xyz.myproject.util” is a file “HibernateHelper.java”. Right click at it and select “Run as” =&gt; “Java Application”<br />
The log says everything is all right.</p>
<p><a href="http://techieexchange.files.wordpress.com/2008/02/6log.jpg" title="log"><img src="http://techieexchange.files.wordpress.com/2008/02/6log.thumbnail.jpg?w=480" alt="log" /></a></p>
<p>Start your database administration tool to take a look at your database.</p>
<p><a href="http://techieexchange.files.wordpress.com/2008/02/db.jpg" title="db"><img src="http://techieexchange.files.wordpress.com/2008/02/db.thumbnail.jpg?w=480" alt="db" /></a></p>
<p>(See? Even the duration column is set to NOT NULL)<br />
Everything is there where it should be (after an uncountable number of right clicks)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techieexchange.wordpress.com/67/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techieexchange.wordpress.com/67/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techieexchange.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techieexchange.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techieexchange.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techieexchange.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techieexchange.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techieexchange.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techieexchange.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techieexchange.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techieexchange.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techieexchange.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techieexchange.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techieexchange.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techieexchange.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techieexchange.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=67&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techieexchange.wordpress.com/2008/02/07/database-development-with-hiberobjects/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac4bf2496277b180d3de05b165db78bd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cgernert</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/1worksp1.thumbnail.jpg" medium="image">
			<media:title type="html">workspace</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/2hib.thumbnail.jpg" medium="image">
			<media:title type="html">newproject</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/3hibpro.thumbnail.jpg" medium="image">
			<media:title type="html">propertiesbefore</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/35hibpro.thumbnail.jpg" medium="image">
			<media:title type="html">properties</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/lib.thumbnail.jpg" medium="image">
			<media:title type="html">lib</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/5modelfinnew.thumbnail.jpg" medium="image">
			<media:title type="html">modelnew</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/6log.thumbnail.jpg" medium="image">
			<media:title type="html">log</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/db.thumbnail.jpg" medium="image">
			<media:title type="html">db</media:title>
		</media:content>
	</item>
		<item>
		<title>How to make JBoss Seam work with Eclipse (for Windows)</title>
		<link>http://techieexchange.wordpress.com/2008/02/01/how-to-make-jboss-seam-work-with-eclipse-for-windows/</link>
		<comments>http://techieexchange.wordpress.com/2008/02/01/how-to-make-jboss-seam-work-with-eclipse-for-windows/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 11:24:02 +0000</pubDate>
		<dc:creator>cgernert</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[SEAM]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://techieexchange.wordpress.com/?p=55</guid>
		<description><![CDATA[This is a step-by-step tutorial. I made this Tutorial, because I was not happy with the four project folders generated by JBoss Tools 2.0.0 when I select a new Seam EAR project. The work is a bit confusing. If I create a new Seam WAR project I only get two projects (one of them is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=55&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span>This is a step-by-step tutorial. I made this Tutorial, because I was not happy with the four project folders generated by JBoss Tools 2.0.0 when I select a new Seam EAR project. The work is a bit confusing. If I create a new Seam WAR project I only get two projects (one of them is a test project). I had a lot of trouble with the WAR project. I was not able to not get the EJB3 examples work with it. Never the less the folder structure is different from the Seam-gen generated projects. This tutorial works completely without JBoss Tool. You can use JBoss Tools anyway, it has nice functions do build a RichFaces JSF page, but keep in mind that new generated projects are difficult to handle, since you have to keep an overview of all four projects and the changes you made in each of them.</span></p>
<p><span id="more-55"></span><span><b></b></span></p>
<p><span><b>Download and extract the files</b></span></p>
<p><span></span></p>
<p class="MsoNormal"><span>First of all you need to download a few things.</span></p>
<p class="MsoNormal"><span>Eclipse for Java EE Developers (second entry)<br />
<a href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a></span></p>
<p class="MsoNormal"><span>Try to download the last GAs from the JBoss websites.</span></p>
<p class="MsoNormal"><span>JBoss Seam 2.0.X (of course)<br />
<a href="http://labs.jboss.com/jbossseam/download/index.html">http://labs.jboss.com/jbossseam/download/index.html</a></span></p>
<p class="MsoNormal"><span>And the JBoss Application Server 4.2.X<br />
<a href="http://labs.jboss.com/jbossas/downloads/">http://labs.jboss.com/jbossas/downloads/</a></span></p>
<p class="MsoNormal"><span>And you will need a database, I used MySQL. Download the proper JDBC Driver<br />
<a href="http://dev.mysql.com/downloads/connector/j/5.0.html">http://dev.mysql.com/downloads/connector/j/5.0.html</a></span></p>
<p>Extract these files where you like but keep in mind not to use blanks &#8221; &#8221; or special characters &#8220;áä&#8221;.<br />
I used “C:\Development” as path. Create a new workspace folder here.</p>
<p>Now the folder should look like this:</p>
<p><span></span><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/1folder.jpg" title="folder view"></a><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/1worksp.jpg"><img src="http://techieexchange.files.wordpress.com/2008/02/1worksp.jpg?w=480" alt="folder" /></a> <span><b></b></span><br />
<span><b></b></span></p>
<p><span><b>Download and install Database</b></span></p>
<p><span><b></b></span></p>
<p class="MsoNormal"><span>Download the MySQL Database from this Page<br />
<a href="http://dev.mysql.com/downloads/mysql/5.0.html">http://dev.mysql.com/downloads/mysql/5.0.html</a></span></p>
<p class="MsoNormal"><span>Next we need to get our database up and running.</span></p>
<p class="MsoNormal"><span>Run the setup and make a &#8220;typical&#8221; installation. At the end of the setup configure the MySQL server. Choose “Standard Configuration”. Do not change anything in the next screen. Now set root password for the DB. I used “mysql” at this point (very inventive, huh?). Go to the next screen and finish the configuration. </span></p>
<p class="MsoNormal"><span><br />
<b>Setup JBoss Seam and create a new project</b></span></p>
<p class="MsoNormal"><span>You need to create a new Seam project</span></p>
<blockquote>
<p class="MsoNormal"><span><em>Enter the Console, Start =&gt; Run an enter “cmd”<br />
Enter “C:” and change the Directory to the JBoss Seam installation<br />
“cd C:\Development\jboss-seam-2.0.X.GA”.</em></span></p></blockquote>
<p class="MsoNormal"><span></span><span>Now it is time to setup JBoss Seam.</span></p>
<blockquote>
<p class="MsoNormal"><span><em>Type: “seam setup”</em></span></p>
</blockquote>
<p class="MsoNormal"><span>Seam welcomes us but wants to know some things about our project.</span></p>
<p class="MsoNormal"><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/41.jpg"><img src="http://techieexchange.files.wordpress.com/2008/02/41.jpg?w=480" alt="Seam" /></a><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/4.jpg" title="Seam"></a></p>
<blockquote>
<p class="MsoNormal"><span>Enter the project folder. That will be our workspace<br />
<em>“C:\Development\workspace”</em></span></p></blockquote>
<p class="MsoNormal"><span></span></p>
<blockquote>
<p class="MsoNormal"><span>Enter the Directory of the JBoss Application Server<br />
<em>“C:\Development\jboss-4.2.2.GA”</em></span></p></blockquote>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Give the Seam project a name.<br />
“MyFirstSeamProj”</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>RichFaces is fine. Hit enter.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>The BlueSky Theme is fine, too. Hit enter.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>EAR, ok. Hit enter</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Enter the package name of your session beans.</span></p>
<blockquote>
<p class="MsoNormal"><span><em>“com.mydomain.MyFirstSeamProj.session”</em></span></p>
</blockquote>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Enter the package name of your entity beans.</span></p>
<blockquote>
<p class="MsoNormal"><span><br />
</span><span><em>“com.mydomain.MyFirstSeamProj.entity”</em></span></p></blockquote>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>The package for the test cases is ok. Enter.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>I use MySQL, so I enter “mysql”.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Dialect is ok. Enter.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Enter the path to the JDBC driver. In this case it is</span></p>
<blockquote>
<p class="MsoNormal"><span><br />
<em>“C:\Development\mysql-connector-java-5.0.8\mysql-connector-java-5.0.8-bin.jar”</em></span></p></blockquote>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>This is the driver class, hit enter.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Now it gets a bit tricky. Enter the connection URL to your Database.</span></p>
<p class="MsoNormal"><span>I used the test database in my MySQL installation.<br />
</span></p>
<blockquote>
<p class="MsoNormal"><span><em>“jdbc:mysql://localhost:3306/test&#8221;</em></span></p>
<p class="MsoNormal"><span><em></em></span></p>
</blockquote>
<p class="MsoNormal"><span><em>The username was “root” and the password “mysql”.</em></span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>There is no DB catalog in this case. Enter.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>There are no tables so far. Enter.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>I want to keep my tables. Enter.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>The setup is finished. That was a lot of work, so where is my project?<br />
There is no project till now. </span></p>
<p class="MsoNormal"><span></span></p>
<blockquote>
<p class="MsoNormal"><span><em>Enter “seam create-project”</em></span></p>
</blockquote>
<p class="MsoNormal"><span>There it is!<br />
</span><br />
<a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/6seamgencreate.jpg" title="Seam finished"></a><a href="http://techieexchange.files.wordpress.com/2008/02/41.jpg" title="Seam"></a><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/6seamgencreate.jpg" title="Seam finished"><img src="http://techieexchange.files.wordpress.com/2008/02/6seamgencreate.jpg?w=480" alt="Seam finished" /></a><a href="http://techieexchange.files.wordpress.com/2008/02/6seamgencreate.jpg" title="Seam finished"><br />
</a></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>That’s enough console hacking for now.</span></p>
<p class="MsoNormal"><span></span><b><span><br />
Start Eclipse</span></b></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Start Eclipse and choose our workspace “C:\Development\workspace”.</span></p>
<p class="MsoNormal"><span>Close the welcome screen (if you already haven’t) </span></p>
<p class="MsoNormal"><span></span></p>
<blockquote>
<p class="MsoNormal"><span><em>Create a new Java project. File =&gt; New =&gt; Project.. =&gt; Java =&gt; Java Project</em></span></p>
</blockquote>
<blockquote>
<p class="MsoNormal"><span><em>Choose “Create project from existing source” and enter the Seam project path “C:\Development\workspace\MyFirstSeamProj”.</em></span></p>
</blockquote>
<p class="MsoNormal"><span>Enter Project Name “MyFirstSeamProj” and click “Finish”.</span></p>
<p class="MsoNormal"><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/7eclipsenew.jpg" title="7eclipsenew.jpg"></a></p>
<p class="MsoNormal"><span><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/7eclipsenew.jpg" title="7eclipsenew.jpg"><img src="http://techieexchange.files.wordpress.com/2008/02/7eclipsenew.jpg?w=480" alt="7eclipsenew.jpg" /></a> </span></p>
<p class="MsoNormal"><span>Switch to Java EE perspective (top right) </span></p>
<p class="MsoNormal"><span></span></p>
<blockquote>
<p class="MsoNormal"><span>Click on the “Servers” tab. Right click and create a new one.</span></p>
<p class="MsoNormal"><span>Choose JBoss v4.2, than next. Enter Application Server directory “C:\Development\jboss-4.2.2.GA”, than click “Finish”.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Start the Server by right click, “Start”.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Open the project, right click the ant file “build.xml” and click “Run as” =&gt; “Ant Build”.</span></p>
<p class="MsoNormal"><span></span></p>
</blockquote>
<p class="MsoNormal"><span>An error appears! Why? The Windows file system does not like a file and a directory with the same name.</span></p>
<p class="MsoNormal"><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/8t.jpg" title="8t.jpg"></a></p>
<p class="MsoNormal"><span><a href="http://techieexchange.files.wordpress.com/2008/02/8t.jpg" title="8t.jpg"><img src="http://techieexchange.files.wordpress.com/2008/02/8t.jpg?w=480" alt="8t.jpg" /></a> </span></p>
<p class="MsoNormal"><span>Stop the server.</span></p>
<p class="MsoNormal"><span>Open the Explorer and go to “C:\Development\jboss-4.2.2.GA\server\default\deploy” and delete the MyFirstSeamProj.ear folder.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Let’s try again. Start the server. That’s a bit better.</span></p>
<p class="MsoNormal"><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/10t.jpg" title="Error solved"></a></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/10t.jpg" title="Error solved"><img src="http://techieexchange.files.wordpress.com/2008/02/10t.jpg?w=480" alt="Error solved" /></a> </span></p>
<p class="MsoNormal"><span>Now it is time to open the page of our new Seam project.<br />
</span></p>
<blockquote>
<p class="MsoNormal"><span>Open the browser and enter <a href="http://localhost:8080/MyFirstSeamProj/">http://localhost:8080/MyFirstSeamProj/</a></span></p>
</blockquote>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>There it is, your first Seam project!<br />
</span><br />
<a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/11webside.jpg" title="11webside.jpg"><img src="http://techieexchange.files.wordpress.com/2008/02/11webside.jpg?w=480" alt="11webside.jpg" /></a><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/11webside.jpg" title="11webside.jpg"></a></p>
<p><span></span></p>
<p class="MsoNormal"><b><span>Get the example running</span></b></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Now it is time to test a Seam example. I used the simple “Registration” example.</span></p>
<p class="MsoNormal"><span></span></p>
<blockquote>
<p class="MsoNormal"><span>Go to “C:\Development\jboss-seam-2.0.1.GA\examples\registration”<br />
The source files are in “\src\org\jboss\seam\example\registration”</span></p></blockquote>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Copy Register.java, RegisterAction.java and insert it in your Eclipse project at src/action in the package “com.mydomain.MyFirstSeamProj.session”.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Another error appears! Well not really, it is the same as before, but now we have got an additional window<br />
</span><br />
<a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/12.jpg" title="New error"></a><a href="http://techieexchange.files.wordpress.com/2008/02/12.jpg" title="New error"><img src="http://techieexchange.files.wordpress.com/2008/02/12.jpg?w=480" alt="New error" /></a><a href="http://techieexchange.files.wordpress.com/2008/02/12.jpg" title="New error"><br />
</a></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>It is the Windows file system again.</span></p>
<blockquote>
<p class="MsoNormal"><span>Go to “C:\Development\jboss-4.2.2.GA\server\default\deploy” again and delete the “MyFirstSeamProj.ear” FILE this time. The error should now be solved.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Go back to the Eclipse project and make a new package in “src/model” and name it “com.mydomain.MyFirstSeamProj.entity”. Copy “User.java” from the example in this package.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Now you must correct the package entry in the source files in your eclipse project to “com.mydomain.My…”. In “RegisterAction.java” you have to import User from “com.mydomain.MyFirstSeamProj.entity.User”. Save all files.</span></p>
</blockquote>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>Go to the root directory of the Registration example and copy all files from the view folder into the view folder of your eclipse project and override the existing.</span></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>The deploy method is explode, what does this mean?<br />
</span></p>
<p class="MsoNormal"><span>Open your browser and to <a href="http://localhost:8080/MyFirstSeamProj/">http://localhost:8080/MyFirstSeamProj/</a> again.</span></p>
<p class="MsoNormal"><span><br />
The Seam Registration example is already running.<br />
</span><br />
<a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/13regist.jpg" title="Example"></a><a href="http://techieexchange.files.wordpress.com/2008/02/13regist.jpg" title="Example"><img src="http://techieexchange.files.wordpress.com/2008/02/13regist.jpg?w=480" alt="Example" /></a><a href="http://techieexchange.files.wordpress.com/2008/02/13regist.jpg" title="Example"><br />
</a></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>But to be sure that nothing went wrong, stop and start the server in Eclipse again.</span></p>
<p class="MsoNormal"><span>Now you can register a new user in the browser and look into your database with the query browser.</span></p>
<p class="MsoNormal"><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/14db.jpg" title="Database"></a></p>
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span><a target="_blank" href="http://techieexchange.files.wordpress.com/2008/02/14db.jpg" title="Database"><img src="http://techieexchange.files.wordpress.com/2008/02/14db.jpg?w=480" alt="Database" /></a> </span></p>
<p class="MsoNormal"><span>Everything works, very good.</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techieexchange.wordpress.com/55/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techieexchange.wordpress.com/55/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techieexchange.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techieexchange.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techieexchange.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techieexchange.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techieexchange.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techieexchange.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techieexchange.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techieexchange.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techieexchange.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techieexchange.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techieexchange.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techieexchange.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techieexchange.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techieexchange.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=55&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techieexchange.wordpress.com/2008/02/01/how-to-make-jboss-seam-work-with-eclipse-for-windows/feed/</wfw:commentRss>
		<slash:comments>66</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac4bf2496277b180d3de05b165db78bd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cgernert</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/1worksp.jpg" medium="image">
			<media:title type="html">folder</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/41.jpg" medium="image">
			<media:title type="html">Seam</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/6seamgencreate.jpg" medium="image">
			<media:title type="html">Seam finished</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/7eclipsenew.jpg" medium="image">
			<media:title type="html">7eclipsenew.jpg</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/8t.jpg" medium="image">
			<media:title type="html">8t.jpg</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/10t.jpg" medium="image">
			<media:title type="html">Error solved</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/11webside.jpg" medium="image">
			<media:title type="html">11webside.jpg</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/12.jpg" medium="image">
			<media:title type="html">New error</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/13regist.jpg" medium="image">
			<media:title type="html">Example</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2008/02/14db.jpg" medium="image">
			<media:title type="html">Database</media:title>
		</media:content>
	</item>
		<item>
		<title>RAD: Seam development with Eclipse and Tomcat Step-by-Step-Tutorial Screencast</title>
		<link>http://techieexchange.wordpress.com/2007/11/11/rad-seam-development-with-eclipse-and-tomcat-step-by-step-tutorial-screencast/</link>
		<comments>http://techieexchange.wordpress.com/2007/11/11/rad-seam-development-with-eclipse-and-tomcat-step-by-step-tutorial-screencast/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 19:52:55 +0000</pubDate>
		<dc:creator>Techie Exchange</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Application Frameworks]]></category>
		<category><![CDATA[Development Tools]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[EJB 3.0]]></category>
		<category><![CDATA[Enterprise]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[Jboss]]></category>
		<category><![CDATA[JSF]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[SEAM]]></category>
		<category><![CDATA[UI-User Interface]]></category>
		<category><![CDATA[Web Application]]></category>

		<guid isPermaLink="false">http://techieexchange.wordpress.com/2007/11/11/rad-seam-development-with-eclipse-and-tomcat-step-by-step-tutorial-screencast/</guid>
		<description><![CDATA[Jboss Seam, one of the most innovative full-stack web application framework in Java EE era. Letz dive in to the tutorial directly without explaining more about Seam. In order to develop an enterprise application, one must have an application server installed locally, which is a big pain when considering system resource and performance. During the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=25&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://labs.jboss.com/jbossseam/" title="JBoss Seam homepage"><br />
<strong>Jboss Seam</strong></a>, one of the most innovative full-stack web application framework in Java EE era.</p>
<p>Letz dive in to the tutorial directly without explaining more about Seam.</p>
<p>In order to develop an enterprise application, one must have<br />
an application server installed locally, which is a big pain<br />
when considering system resource and performance. During the<br />
development period developer always perfer to have his<br />
code-hotdeploy time as short as possible, which rapidly<br />
increases his development and production. But this is not<br />
easily achieved when application servers are used during<br />
development. An alternative is to use web servers which are<br />
very light when compared to Application servers. Seam has a<br />
good support for Tomcat webserver.</p>
<blockquote><p>This tutorial focuses Seam development under Tomcat webserver without support for EJB, that means Seam with POJO and JPA+Hibernate as Persistence provider.</p>
<p>Main goal of this tutorial is to achieve <strong>RAD-Rapid Application Development with Seam, Tomcat and Eclipse</strong>.</p></blockquote>
<blockquote><p>Requirements for Seam development envirnoment:<br />
<a target="_blank" href="http://sourceforge.net/project/showfiles.php?group_id=22866&amp;package_id=163777&amp;release_id=551158" title="Download JBoss Seam 2.0.0 GA"><br />
Download latest Seam release</a><a target="_blank" href="http://tomcat.apache.org/download-55.cgi" title="Download Tomcat 5.5x"><br />
Download Tomcat 5.5</a> or <a target="_blank" href="http://tomcat.apache.org/download-60.cgi">Tomcat 6</a><a target="_blank" href="http://www.eclipse.org/downloads/"><br />
Download latest Eclipse</a><a target="_blank" href="http://www.eclipsetotale.com/tomcatPlugin.html" title="Download Sysdeo plugin"><br />
Download Eclipse-Tomcat-Sysdeo plugin<br />
</a></p></blockquote>
<p>This is a screencast (static) showing all the screenshots without explanation.</p>
<p>[splashcast LRUS5101RC]</p>
<p>Here we go&#8230;.</p>
<p><span id="more-25"></span></p>
<blockquote><p>Extract Seam 2 GA distribution on local hard disk (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/1-seam-unzipped.png" title="Open Figure in new window">see Figure 1</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/1-seam-unzipped.png" title="Download JBoss Seam and extract"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/1-seam-unzipped.png?w=480" alt="Download JBoss Seam and extract" /><br />
</a></p>
<blockquote><p>JPA example from Seam 2 GA distribution (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/2-seam-jpa-example.png">see Figure 2</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/2-seam-jpa-example.png" title="2-seam-jpa-example.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/2-seam-jpa-example.png?w=480" alt="2-seam-jpa-example.png" /><br />
</a></p>
<blockquote><p>Build JPA example for Tomcat 5.5 by using ant (make sure that <a target="_blank" href="http://ant.apache.org/" title="Ant Homepage">ANT</a> already installed) command:<strong><em>ant tomcat55</em><br />
</strong></p>
<p>Building JPA WAR file (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/3-build-jpa-example-tomcat.png" title="Open Figure in new window">see Figure 3</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/3-build-jpa-example-tomcat.png" title="3-build-jpa-example-tomcat.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/3-build-jpa-example-tomcat.png?w=480" alt="3-build-jpa-example-tomcat.png" /><br />
</a></p>
<blockquote><p>Once build successfull, then you can find the war file inside <strong>dist-tomcat55 </strong>folder (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/4-build-jar-jpa-example.png" title="Open Figure in new window">see Figure 4</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/4-build-jar-jpa-example.png" title="4-build-jar-jpa-example.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/4-build-jar-jpa-example.png?w=480" alt="4-build-jar-jpa-example.png" /><br />
</a></p>
<blockquote><p>Now import WAR file to Eclipse to make an Eclipse project (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/5-eclipse-import-example.png" title="Open Figure in new window">see Figure 5</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/5-eclipse-import-example.png" title="5-eclipse-import-example.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/5-eclipse-import-example.png?w=480" alt="5-eclipse-import-example.png" /><br />
</a></p>
<blockquote><p>In order to import WAR file select Web -&gt; WAR file from Eclipse import console (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/6-eclipse-import-war.png" title="Open Figure in new window">see Figure 6</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/6-eclipse-import-war.png" title="6-eclipse-import-war.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/6-eclipse-import-war.png?w=480" alt="6-eclipse-import-war.png" /><br />
</a></p>
<blockquote><p>Choose absolute path of jboss-seam-jpa.war file and press next (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/9-eclipse-import-jpa-war.png" title="Open Figure in new window">see Figure 7</a>)</p>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/9-eclipse-import-jpa-war.png" title="9-eclipse-import-jpa-war.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/9-eclipse-import-jpa-war.png?w=480" alt="9-eclipse-import-jpa-war.png" /><br />
</a></p></blockquote>
<blockquote><p>Import all libs from WEB-INF/lib (don&#8217;t select any libs) (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/10-eclipse-import-war-default-lib.png" title="Open Figure in new window">see Figure 8</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/10-eclipse-import-war-default-lib.png" title="10-eclipse-import-war-default-lib.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/10-eclipse-import-war-default-lib.png?w=480" alt="10-eclipse-import-war-default-lib.png" /><br />
</a></p>
<blockquote><p>Here&#8217;s new project created in Eclipse workspace (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/11-eclipse-project-hierarchy.png" title="Open Figure in new window">see Figure 9</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/11-eclipse-project-hierarchy.png" title="11-eclipse-project-hierarchy.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/11-eclipse-project-hierarchy.png?w=480" alt="11-eclipse-project-hierarchy.png" /><br />
</a></p>
<blockquote><p>Create <strong>classes </strong>inside WEB-INF to build src files (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/12-eclipse-create-classes-folder.png" title="Open Figure in new window">see Figure 10</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/12-eclipse-create-classes-folder.png" title="12-eclipse-create-classes-folder.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/12-eclipse-create-classes-folder.png?w=480" alt="12-eclipse-create-classes-folder.png" /><br />
</a></p>
<blockquote><p>Configure the build path so that src folder takes correct classes folder (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/13-project-class-folder.png" title="Open Figure in new window">see Figure 11</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/13-project-class-folder.png" title="13-project-class-folder.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/13-project-class-folder.png?w=480" alt="13-project-class-folder.png" /><br />
</a></p>
<blockquote><p>Choose classes folder as default output folder (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/14-select-class-folder.png" title="Open Figure in new window">see Figure 12</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/14-select-class-folder.png" title="14-select-class-folder.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/14-select-class-folder.png?w=480" alt="14-select-class-folder.png" /><br />
</a></p>
<blockquote><p>Copy src from Seam-JPA example (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/15-copy-src-from-example.png" title="Open Figure in new window">see Figure 13</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/15-copy-src-from-example.png" title="15-copy-src-from-example.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/15-copy-src-from-example.png?w=480" alt="15-copy-src-from-example.png" /><br />
</a></p>
<blockquote><p>Paste into the src folder in Eclipse (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/16-paste-src-from-example.png" title="Open Figure in new window">see Figure 14</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/16-paste-src-from-example.png" title="16-paste-src-from-example.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/16-paste-src-from-example.png?w=480" alt="16-paste-src-from-example.png" /><br />
</a></p>
<blockquote><p>Now src are shown in the hierarchy but with errors (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/17-project-jpa-src.png" title="Open Figure in new window">see Figure 15</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/17-project-jpa-src.png" title="17-project-jpa-src.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/17-project-jpa-src.png?w=480" alt="17-project-jpa-src.png" /><br />
</a></p>
<blockquote><p>Delete ImportedClasses folder in root of Project workspace (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/19-import-testng-jar.png" title="Open Figure in new window">see Figure 16</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/18-delete-importedclasses-folder.png" title="18-delete-importedclasses-folder.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/18-delete-importedclasses-folder.png?w=480" alt="18-delete-importedclasses-folder.png" /><br />
</a></p>
<blockquote><p>In order to remove src errors in the project import <a target="_blank" href="http://testng.org/doc/download.html">TestNG</a> lib to WEB-INF/lib (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/19-import-testng-jar.png" title="Open Figure in new window">see Figure 17</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/19-import-testng-jar.png" title="19-import-testng-jar.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/19-import-testng-jar.png?w=480" alt="19-import-testng-jar.png" /><br />
</a></p>
<blockquote><p>Now Project src has been done without any errors (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/20-project-no-errors.png" title="Open Figure in new window">see Figure 18</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/20-project-no-errors.png" title="20-project-no-errors.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/20-project-no-errors.png?w=480" alt="20-project-no-errors.png" /><br />
</a></p>
<blockquote><p>Configure Tomcat Sysdeo plugin to installed home directory of Tomcat (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/7-eclipse-sysdeo-tomcat-configuration.png" title="Open Figure in new window">see Figure 19</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/7-eclipse-sysdeo-tomcat-configuration.png" title="7-eclipse-sysdeo-tomcat-configuration.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/7-eclipse-sysdeo-tomcat-configuration.png?w=480" alt="7-eclipse-sysdeo-tomcat-configuration.png" /><br />
</a></p>
<blockquote><p>See Eclipse toolbar for Sysdeo-Tomcat shortcuts &#8211; Start, Shutdown, Restart (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/8-eclipse-sysdeo-tomcat-installed.png" title="Open Figure in new window">see Figure 20</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/8-eclipse-sysdeo-tomcat-installed.png" title="8-eclipse-sysdeo-tomcat-installed.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/8-eclipse-sysdeo-tomcat-installed.png?w=480" alt="8-eclipse-sysdeo-tomcat-installed.png" /><br />
</a></p>
<blockquote><p>Tell the created Project (jboss-seam-jpa) that it is a web project to Sysdeo plugin (Project -&gt;rightclick-Properties-&gt; Tomcat) (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/21-project-as-tomcat-web-project.png" title="Open Figure in new window">see Figure 21</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/21-project-as-tomcat-web-project.png" title="21-project-as-tomcat-web-project.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/21-project-as-tomcat-web-project.png?w=480" alt="21-project-as-tomcat-web-project.png" /><br />
</a></p>
<blockquote><p>Now update/define about project&#8217;s context in Tomcat (server.xml will be updated) (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/22-update-context-tomcat.png" title="Open Figure in new window">see Figure 22</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/22-update-context-tomcat.png" title="22-update-context-tomcat.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/22-update-context-tomcat.png?w=480" alt="22-update-context-tomcat.png" /><br />
</a></p>
<blockquote><p>Open context.xml (inside Webcontent/META-INF) and copy Resource tag (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/23-copy-context-defn.png" title="Open Figure in new window">see Figure 23</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/23-copy-context-defn.png" title="23-copy-context-defn.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/23-copy-context-defn.png?w=480" alt="23-copy-context-defn.png" /><br />
</a></p>
<blockquote><p>Goto server.xml (Tomcat_Home/conf) and see whether project context is defined (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/1-seam-unzipped.png" title="Open Figure in new window">see Figure 24</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/24-server-xml-context-before.png" title="24-server-xml-context-before.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/24-server-xml-context-before.png?w=480" alt="24-server-xml-context-before.png" /><br />
</a></p>
<blockquote><p>Paste Resource tag (make sure that Resource is closed properly) copied from context.xml as child tage to Context tag in server.xml (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/1-seam-unzipped.png" title="Open Figure in new window">see Figure 25</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/25-server-xml-context-after.png" title="25-server-xml-context-after.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/25-server-xml-context-after.png?w=480" alt="25-server-xml-context-after.png" /><br />
</a></p>
<blockquote><p>In order to work with HSQL DB, copy hsql.jar from Seam distribution to Tomcat-Home/common/lib folder (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/26-paste-hsql-lib-in-tomcat.png" title="Open Figure in new window">see Figure 26</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/26-paste-hsql-lib-in-tomcat.png" title="26-paste-hsql-lib-in-tomcat.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/26-paste-hsql-lib-in-tomcat.png?w=480" alt="26-paste-hsql-lib-in-tomcat.png" /><br />
</a></p>
<blockquote><p>Now all configuration things are over, so Start Tomcat inside Eclipse by pressing Start icon on Eclipse-Sysdeo toolbar (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/27-start-tomcat-sysdeo.png" title="Open Figure in new window">see Figure 27</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/27-start-tomcat-sysdeo.png" title="27-start-tomcat-sysdeo.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/27-start-tomcat-sysdeo.thumbnail.png?w=480" alt="27-start-tomcat-sysdeo.png" /><br />
</a></p>
<blockquote><p>You can see the console output of Tomcat saying server started (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/28-tomcat-started.png" title="Open Figure in new window">see Figure 28</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/28-tomcat-started.png" title="28-tomcat-started.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/28-tomcat-started.png?w=480" alt="28-tomcat-started.png" /><br />
</a></p>
<blockquote><p>Test whether the application started without any errors by opeing a browser and navigating<a href="http://localhost:tomcatport/jboss-seam-jpa"></p>
<p>http://localhost:tomcatport/jboss-seam-jpa</a></p>
<p>Note that the footer of the front page. We&#8217;re going to change that in the next step. (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/29-test-example-browser1.png" title="Open Figure in new window">see Figure 29</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/29-test-example-browser1.png" title="29-test-example-browser1.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/29-test-example-browser1.png?w=480" alt="29-test-example-browser1.png" /><br />
</a></p>
<blockquote><p>Open home.xhtml (front page of the application) located inside WebContent and check the footer (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/30-home-xhtml-src-before.png" title="Open Figure in new window">see Figure 30</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/30-home-xhtml-src-before.png" title="30-home-xhtml-src-before.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/30-home-xhtml-src-before.png?w=480" alt="30-home-xhtml-src-before.png" /><br />
</a></p>
<blockquote><p>Edit footer note and save the page (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/31-edit-home-xhtml-page.png" title="Open Figure in new window">see Figure 31</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/31-edit-home-xhtml-page.png" title="31-edit-home-xhtml-page.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/31-edit-home-xhtml-page.png?w=480" alt="31-edit-home-xhtml-page.png" /><br />
</a></p>
<blockquote><p>Now goto opened browser where application is already running, and press Refresh or F5 to reload the page.<br />
That&#8217;s it.. without starting the server your code got hot deployed and web page was reloaded. (<a target="_blank" href="http://techieexchange.files.wordpress.com/2007/11/32-refresh-web-page.png" title="Open Figure in new window">see Figure 32</a>)</p></blockquote>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/32-refresh-web-page.png" title="32-refresh-web-page.png"><br />
<img src="http://techieexchange.files.wordpress.com/2007/11/32-refresh-web-page.png?w=480" alt="32-refresh-web-page.png" /><br />
</a></p>
<blockquote><p>Please note that Tomcat should be used only during development phase in order to increase the development productivity, use some application server to deploy production applications.</p></blockquote>
<p>I hope this tutorial gives a kick-off project template for Seam with POJO+JPA+Hibernate based application.</p>
<p>Share your thoughts.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techieexchange.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techieexchange.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techieexchange.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techieexchange.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techieexchange.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techieexchange.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techieexchange.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techieexchange.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techieexchange.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techieexchange.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techieexchange.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techieexchange.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techieexchange.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techieexchange.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techieexchange.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techieexchange.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=25&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techieexchange.wordpress.com/2007/11/11/rad-seam-development-with-eclipse-and-tomcat-step-by-step-tutorial-screencast/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2861b0863d19cac25f2bbeb22853d0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techieExchange</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/1-seam-unzipped.png" medium="image">
			<media:title type="html">Download JBoss Seam and extract</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/2-seam-jpa-example.png" medium="image">
			<media:title type="html">2-seam-jpa-example.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/3-build-jpa-example-tomcat.png" medium="image">
			<media:title type="html">3-build-jpa-example-tomcat.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/4-build-jar-jpa-example.png" medium="image">
			<media:title type="html">4-build-jar-jpa-example.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/5-eclipse-import-example.png" medium="image">
			<media:title type="html">5-eclipse-import-example.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/6-eclipse-import-war.png" medium="image">
			<media:title type="html">6-eclipse-import-war.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/9-eclipse-import-jpa-war.png" medium="image">
			<media:title type="html">9-eclipse-import-jpa-war.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/10-eclipse-import-war-default-lib.png" medium="image">
			<media:title type="html">10-eclipse-import-war-default-lib.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/11-eclipse-project-hierarchy.png" medium="image">
			<media:title type="html">11-eclipse-project-hierarchy.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/12-eclipse-create-classes-folder.png" medium="image">
			<media:title type="html">12-eclipse-create-classes-folder.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/13-project-class-folder.png" medium="image">
			<media:title type="html">13-project-class-folder.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/14-select-class-folder.png" medium="image">
			<media:title type="html">14-select-class-folder.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/15-copy-src-from-example.png" medium="image">
			<media:title type="html">15-copy-src-from-example.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/16-paste-src-from-example.png" medium="image">
			<media:title type="html">16-paste-src-from-example.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/17-project-jpa-src.png" medium="image">
			<media:title type="html">17-project-jpa-src.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/18-delete-importedclasses-folder.png" medium="image">
			<media:title type="html">18-delete-importedclasses-folder.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/19-import-testng-jar.png" medium="image">
			<media:title type="html">19-import-testng-jar.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/20-project-no-errors.png" medium="image">
			<media:title type="html">20-project-no-errors.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/7-eclipse-sysdeo-tomcat-configuration.png" medium="image">
			<media:title type="html">7-eclipse-sysdeo-tomcat-configuration.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/8-eclipse-sysdeo-tomcat-installed.png" medium="image">
			<media:title type="html">8-eclipse-sysdeo-tomcat-installed.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/21-project-as-tomcat-web-project.png" medium="image">
			<media:title type="html">21-project-as-tomcat-web-project.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/22-update-context-tomcat.png" medium="image">
			<media:title type="html">22-update-context-tomcat.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/23-copy-context-defn.png" medium="image">
			<media:title type="html">23-copy-context-defn.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/24-server-xml-context-before.png" medium="image">
			<media:title type="html">24-server-xml-context-before.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/25-server-xml-context-after.png" medium="image">
			<media:title type="html">25-server-xml-context-after.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/26-paste-hsql-lib-in-tomcat.png" medium="image">
			<media:title type="html">26-paste-hsql-lib-in-tomcat.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/27-start-tomcat-sysdeo.thumbnail.png" medium="image">
			<media:title type="html">27-start-tomcat-sysdeo.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/28-tomcat-started.png" medium="image">
			<media:title type="html">28-tomcat-started.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/29-test-example-browser1.png" medium="image">
			<media:title type="html">29-test-example-browser1.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/30-home-xhtml-src-before.png" medium="image">
			<media:title type="html">30-home-xhtml-src-before.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/31-edit-home-xhtml-page.png" medium="image">
			<media:title type="html">31-edit-home-xhtml-page.png</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/32-refresh-web-page.png" medium="image">
			<media:title type="html">32-refresh-web-page.png</media:title>
		</media:content>
	</item>
		<item>
		<title>Test Web Design in different Browsers</title>
		<link>http://techieexchange.wordpress.com/2007/11/08/test-web-design-in-different-browsers/</link>
		<comments>http://techieexchange.wordpress.com/2007/11/08/test-web-design-in-different-browsers/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 11:36:28 +0000</pubDate>
		<dc:creator>Techie Exchange</dc:creator>
				<category><![CDATA[Bookmarks]]></category>
		<category><![CDATA[Testing Tools]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[UI-User Interface]]></category>

		<guid isPermaLink="false">http://techieexchange.wordpress.com/2007/11/08/test-web-design-in-different-browsers/</guid>
		<description><![CDATA[Tried of downloading all available browsers on Net to test your web site design/layout?? Not any more !! Here&#8217;s a good news for testers and web designers. Tool Description: What is Browsershots? Browsershots makes screenshots of your web design in different browsers. It is a free open-source online service created by Johann C. Rocholl. When [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=19&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tried of downloading all available browsers on Net to test your web site design/layout??</p>
<p>Not any more !!</p>
<p>Here&#8217;s a good news for testers and web designers.</p>
<p><u>Tool Description:</u></p>
<h2>What is Browsershots?</h2>
<p>Browsershots makes screenshots of your web design in different browsers. It is a free open-source online service created by Johann C. Rocholl. When you submit your web address, it will be added to the job queue. A number of distributed computers will open your website in their browser. Then they will make screenshots and upload them to the central server here.</p>
<p>Check out this site:</p>
<p><a target="_blank" href="http://browsershots.org/">http://browsershots.org/</a></p>
<p>Tool Test:</p>
<p>I just tested my blog with Browsershots. Here&#8217;s the screenshot</p>
<p><a href="http://techieexchange.files.wordpress.com/2007/11/browsershots.png" title="Techieexchange’s Test on Browsershots"><img width="1204" src="http://techieexchange.files.wordpress.com/2007/11/browsershots.png?w=1204&#038;h=430" alt="Techieexchange’s Test on Browsershots" height="430" style="width:539px;height:272px;" /></a></p>
<p>Thanks to Browsershots.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techieexchange.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techieexchange.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techieexchange.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techieexchange.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techieexchange.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techieexchange.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techieexchange.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techieexchange.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techieexchange.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techieexchange.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techieexchange.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techieexchange.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techieexchange.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techieexchange.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techieexchange.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techieexchange.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=19&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techieexchange.wordpress.com/2007/11/08/test-web-design-in-different-browsers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2861b0863d19cac25f2bbeb22853d0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techieExchange</media:title>
		</media:content>

		<media:content url="http://techieexchange.files.wordpress.com/2007/11/browsershots.png" medium="image">
			<media:title type="html">Techieexchange’s Test on Browsershots</media:title>
		</media:content>
	</item>
		<item>
		<title>Web development with Jboss Seam: Video</title>
		<link>http://techieexchange.wordpress.com/2007/11/07/web-development-with-jboss-seam-video/</link>
		<comments>http://techieexchange.wordpress.com/2007/11/07/web-development-with-jboss-seam-video/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 15:57:30 +0000</pubDate>
		<dc:creator>Techie Exchange</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Application Frameworks]]></category>
		<category><![CDATA[EJB 3.0]]></category>
		<category><![CDATA[Enterprise]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[Jboss]]></category>
		<category><![CDATA[JSF]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[SEAM]]></category>
		<category><![CDATA[Visual Basic (VB)]]></category>
		<category><![CDATA[Web Application]]></category>

		<guid isPermaLink="false">http://techieexchange.wordpress.com/2007/11/07/web-development-with-jboss-seam-video/</guid>
		<description><![CDATA[Just came across a nice video about Jboss Seam, from TSS. In this presentation, recorded at the recent Grails Exchange event in London, Christian Bauer discusses how JBoss Seam simplifies the handling of stateful conversations, multi-window operations and concurrent, fine-grained Ajax requests. He also shows how Seam unifies and integrates popular open source technologies like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=17&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just came across a nice video about Jboss Seam, from TSS.</p>
<p>In this presentation, recorded at the recent Grails Exchange event in London, Christian Bauer discusses how JBoss Seam simplifies the handling of stateful conversations, multi-window operations and concurrent, fine-grained Ajax requests. He also shows how Seam unifies and integrates popular open source technologies like Facelets, Hibernate, jBPM, Drools, Groovy, iText and Lucene.</p>
<p>Video Title: Web Development with JBoss Seam  from Christian Bauer</p>
<p>Video Detail:<br />
<span style='text-align:center;display:block;'><object width='400' height='330' type='application/x-shockwave-flash' data='http://video.google.com/googleplayer.swf?docId=1030919232322118868&amp;hl=en-GB'><param name='allowScriptAccess' value='never' /><param name='movie' value='http://video.google.com/googleplayer.swf?docId=1030919232322118868&amp;hl=en-GB'/><param name='quality' value='best'/><param name='bgcolor' value='#ffffff' /><param name='scale' value='noScale' /><param name='wmode' value='opaque' /></object></span></p>
<p><em>***Please Note*** The links/videos provided are for your convenience and are in no way connected with this blog. Through these links/videos, this blog is not responsible for the content of these external sites.</em></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techieexchange.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techieexchange.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techieexchange.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techieexchange.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techieexchange.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techieexchange.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techieexchange.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techieexchange.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techieexchange.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techieexchange.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techieexchange.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techieexchange.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techieexchange.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techieexchange.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techieexchange.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techieexchange.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=17&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techieexchange.wordpress.com/2007/11/07/web-development-with-jboss-seam-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2861b0863d19cac25f2bbeb22853d0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techieExchange</media:title>
		</media:content>
	</item>
		<item>
		<title>What’s new in Jboss Seam 2.0.0 GA?</title>
		<link>http://techieexchange.wordpress.com/2007/11/06/whats-new-in-jboss-seam-200-ga/</link>
		<comments>http://techieexchange.wordpress.com/2007/11/06/whats-new-in-jboss-seam-200-ga/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 09:54:48 +0000</pubDate>
		<dc:creator>Techie Exchange</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Application Frameworks]]></category>
		<category><![CDATA[Bookmarks]]></category>
		<category><![CDATA[EJB 3.0]]></category>
		<category><![CDATA[Enterprise]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[Jboss]]></category>
		<category><![CDATA[JSF]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[SEAM]]></category>
		<category><![CDATA[UI-User Interface]]></category>
		<category><![CDATA[Web Application]]></category>

		<guid isPermaLink="false">http://techieexchange.wordpress.com/2007/11/06/whats-new-in-jboss-seam-200-ga/</guid>
		<description><![CDATA[Finally the most expected release of Jboss Seam 2.0.0 GA is out What are the new features of Seam 2.0.0 GA release?? Here&#8217;s what Norman Richard says Of course, there's a lot more new in Seam. In fact, I took the time to count out 301 new features in Seam 2. (Really - take that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=16&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://techieexchange.wordpress.com/2007/11/05/jboss-seam-2-ga-unleashed/">Finally the most expected release of Jboss Seam 2.0.0 GA is out</a></p>
<p>What are the new features of Seam 2.0.0 GA release??</p>
<p>Here&#8217;s what <a target="_blank" href="http://in.relation.to/Bloggers/Norman" title="Norman Richard's Blog">Norman Richard</a> says</p>
<blockquote><p><code>Of course, there's a lot more new in Seam. In fact, I took the time to count out 301 new features in Seam 2. </code><code>(Really - take that Steve Jobs and your puny 300 new features in Leopard)</code></p></blockquote>
<p><code></code><br />
Check out these links from Seam team blog.</p>
<p><a target="_blank" href="http://in.relation.to/Bloggers/WhatsNewInSeam2">http://in.relation.to/Bloggers/WhatsNewInSeam2</a> (Norman Richard&#8217;s Blog)</p>
<p><a target="_blank" href="http://in.relation.to/Bloggers/Seam2IsOut">http://in.relation.to/Bloggers/Seam2IsOut</a> (Gavin&#8217;s Blog)</p>
<p>About Seam 2.0 release in <a target="_blank" href="http://www.theserverside.com">http://www.theserverside.com</a></p>
<p><a target="_blank" href="http://www.theserverside.com/news/thread.tss?thread_id=47478">http://www.theserverside.com/news/thread.tss?thread_id=47478</a></p>
<p>Here&#8217;s a fresh article about Seam 2</p>
<p><a target="_blank" href="http://www.infoq.com/news/2007/11/seam20">http://www.infoq.com/news/2007/11/seam20</a></p>
<p>Seam 2 new features will be updated here and a step-by-step tutorial soon in this category.</p>
<p>Stay tuned!!!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techieexchange.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techieexchange.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techieexchange.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techieexchange.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techieexchange.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techieexchange.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techieexchange.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techieexchange.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techieexchange.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techieexchange.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techieexchange.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techieexchange.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techieexchange.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techieexchange.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techieexchange.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techieexchange.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=16&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techieexchange.wordpress.com/2007/11/06/whats-new-in-jboss-seam-200-ga/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2861b0863d19cac25f2bbeb22853d0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techieExchange</media:title>
		</media:content>
	</item>
		<item>
		<title>Jboss SEAM 2.0.0 GA unleashed!!</title>
		<link>http://techieexchange.wordpress.com/2007/11/05/jboss-seam-2-ga-unleashed/</link>
		<comments>http://techieexchange.wordpress.com/2007/11/05/jboss-seam-2-ga-unleashed/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 15:25:52 +0000</pubDate>
		<dc:creator>Techie Exchange</dc:creator>
				<category><![CDATA[Application Frameworks]]></category>
		<category><![CDATA[EJB 3.0]]></category>
		<category><![CDATA[Enterprise]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[Jboss]]></category>
		<category><![CDATA[JSF]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[SEAM]]></category>
		<category><![CDATA[UI-User Interface]]></category>
		<category><![CDATA[Web Application]]></category>

		<guid isPermaLink="false">http://techieexchange.wordpress.com/2007/11/05/jboss-seam-200-ga-unleashed/</guid>
		<description><![CDATA[Jboss SEAM 2.0.0 GA unleashed!! Documentation: http://labs.jboss.com/jbossseam/docs/ Download: http://labs.jboss.com/jbossseam/download/index.html Great news to all Java EE application developers. A most awaited release of Seam after its 1.2.1 GA, with lot of features including but not only Seam WS allows Seam components to function as Web Service endpoints Seam components may now be writted in Groovy The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=14&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Jboss SEAM 2.0.0 GA unleashed!!</p>
<p>Documentation: <a target="_blank" href="http://labs.jboss.com/jbossseam/docs/" title="Jboss Seam 2.0.0 GA unleashed !!!">http://labs.jboss.com/jbossseam/docs/</a></p>
<p>Download: <a target="_blank" href="http://labs.jboss.com/jbossseam/download/index.html" title="Jboss Seam download page">http://labs.jboss.com/jbossseam/download/index.html</a></p>
<p>Great news to all Java EE application developers.</p>
<p>A most awaited release of Seam after its 1.2.1 GA, with lot of features including but not only</p>
<ol>
<li>Seam WS allows Seam components to function as Web Service endpoints</li>
<li>Seam components may now be writted in Groovy</li>
<li>The Seam core is now independent of JSF</li>
<li>Experimental support for the Google Web Toolkit</li>
<li>Integration of Hibernate Search</li>
<li>Introduction of JBoss EL, an extension to the Unified EL of Java EE 5</li>
<li>Major enhancements to Seam Asynchronicity, including Quartz integration</li>
<li>Major enhancements to jBPM integration</li>
<li>Completely reorganized packaging of built-in components</li>
<li>Migration to JSF 1.2</li>
<li>Simplified configuration</li>
<li>Support for pageflow composition</li>
<li>Enhancements to the integration testing framework</li>
<li>New transaction abstraction layer with support for non-JTA environments</li>
<li>Enhanced JavaDoc</li>
<li>Two new example applications</li>
<li>Migration to the new Embedded JBoss</li>
<li>Seam JSF controls reimplemented using Ajax4JSF CDK</li>
<li>Many, many bugfixes</li>
</ol>
<p>Thanks to Jboss SEAM team for making this great success.</p>
<p>For people new to Seam, take a look at:</p>
<p><a target="_blank" href="http://labs.jboss.com/jbossseam/" title="Jboss Seam homepage">http://labs.jboss.com/jbossseam/</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techieexchange.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techieexchange.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techieexchange.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techieexchange.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techieexchange.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techieexchange.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techieexchange.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techieexchange.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techieexchange.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techieexchange.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techieexchange.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techieexchange.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techieexchange.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techieexchange.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techieexchange.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techieexchange.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=14&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techieexchange.wordpress.com/2007/11/05/jboss-seam-2-ga-unleashed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2861b0863d19cac25f2bbeb22853d0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techieExchange</media:title>
		</media:content>
	</item>
		<item>
		<title>Coming soon !!</title>
		<link>http://techieexchange.wordpress.com/2007/11/05/coming-soon/</link>
		<comments>http://techieexchange.wordpress.com/2007/11/05/coming-soon/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 13:24:23 +0000</pubDate>
		<dc:creator>Techie Exchange</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Application Frameworks]]></category>
		<category><![CDATA[Bookmarks]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[EJB 3.0]]></category>
		<category><![CDATA[Enterprise]]></category>
		<category><![CDATA[GWT]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[Jboss]]></category>
		<category><![CDATA[JSF]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[SEAM]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[UI-User Interface]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Application]]></category>

		<guid isPermaLink="false">http://techieexchange.wordpress.com/2007/11/05/coming-soon/</guid>
		<description><![CDATA[This web blog is getting updated&#8230;. Please stay tuned. Sorry for the inconvenience.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=8&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This web blog is getting updated&#8230;.</p>
<p>Please stay tuned.</p>
<p>Sorry for the inconvenience.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techieexchange.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techieexchange.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techieexchange.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techieexchange.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techieexchange.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techieexchange.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techieexchange.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techieexchange.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techieexchange.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techieexchange.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techieexchange.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techieexchange.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techieexchange.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techieexchange.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techieexchange.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techieexchange.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techieexchange.wordpress.com&amp;blog=2058982&amp;post=8&amp;subd=techieexchange&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techieexchange.wordpress.com/2007/11/05/coming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2861b0863d19cac25f2bbeb22853d0f9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techieExchange</media:title>
		</media:content>
	</item>
	</channel>
</rss>
