<?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>Share Knowledge</title>
	<atom:link href="http://technicalbrains.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://technicalbrains.wordpress.com</link>
	<description></description>
	<lastBuildDate>Thu, 30 Apr 2009 14:48:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='technicalbrains.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Share Knowledge</title>
		<link>http://technicalbrains.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://technicalbrains.wordpress.com/osd.xml" title="Share Knowledge" />
	<atom:link rel='hub' href='http://technicalbrains.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Collection, Set, List and Map</title>
		<link>http://technicalbrains.wordpress.com/2009/04/28/collection-set-list-and-map/</link>
		<comments>http://technicalbrains.wordpress.com/2009/04/28/collection-set-list-and-map/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 18:04:00 +0000</pubDate>
		<dc:creator>sannewuser123</dc:creator>
				<category><![CDATA[Java DataTypes]]></category>

		<guid isPermaLink="false">http://technicalbrains.wordpress.com/2009/04/28/collection-set-list-and-map/</guid>
		<description><![CDATA[Set &#8211; Unique elements, No duplicates, No Order-&#62; HashSet - Not Sorted, In Order. SortedSet - Sorted, Unique, Ascending Order-&#62; TreeSet - Sorted Ascending Order, fast. Vector - grow able object, synchronized, not allow special characters and null values. ArrayList - for Random Access, Not Synchronize, dynamically increment and decrement size. LinkedList - provides function [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=47&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://2.bp.blogspot.com/_L0LkEQOkQiM/SfdJzsnO_vI/AAAAAAAAALA/1mCZvPiMImw/s1600-h/Collection.JPG"><img style="display:block;text-align:center;cursor:pointer;width:400px;height:164px;margin:0 auto 10px;" src="http://2.bp.blogspot.com/_L0LkEQOkQiM/SfdJzsnO_vI/AAAAAAAAALA/1mCZvPiMImw/s400/Collection.JPG" alt="" border="0" /></a><span style="font-weight:bold;"><span style="font-size:130%;">Set</span> &#8211; Unique elements, No duplicates, No Order</span><br /><span style="font-weight:bold;"><span style="font-size:130%;">-&gt;</span> <span style="font-size:130%;">HashSet </span>- Not Sorted, In Order.</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">SortedSet </span>- Sorted, Unique, Ascending Order</span><br /><span style="font-weight:bold;"><span style="font-size:130%;">-&gt;</span> <span style="font-size:130%;">TreeSet </span>- Sorted Ascending Order, fast.</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">Vector </span>- grow able object, synchronized, not allow special characters and null values.</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">ArrayList </span>- for Random Access, Not Synchronize, dynamically increment and decrement size.</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">LinkedList </span>- provides function to Insert / deleting in middle of array,  sequentially elements are linked to each other.</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">HashMap </span>- Not in Order, Not Synchronized, Null value allowed, not serialized, iterator is used to traverse.</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">HashTable </span>- Synchronized, Not Null Values, Serialized, Key Value Pair.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalbrains.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalbrains.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalbrains.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalbrains.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalbrains.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalbrains.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalbrains.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalbrains.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalbrains.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalbrains.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalbrains.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalbrains.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalbrains.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalbrains.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=47&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://technicalbrains.wordpress.com/2009/04/28/collection-set-list-and-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd31735ef3af980fd16e739ea38ee42c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sannewuser123</media:title>
		</media:content>

		<media:content url="http://2.bp.blogspot.com/_L0LkEQOkQiM/SfdJzsnO_vI/AAAAAAAAALA/1mCZvPiMImw/s400/Collection.JPG" medium="image" />
	</item>
		<item>
		<title>Struts Tag Library</title>
		<link>http://technicalbrains.wordpress.com/2009/04/28/struts-tag-library/</link>
		<comments>http://technicalbrains.wordpress.com/2009/04/28/struts-tag-library/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 17:53:00 +0000</pubDate>
		<dc:creator>sannewuser123</dc:creator>
				<category><![CDATA[Struts]]></category>
		<category><![CDATA[Struts Interview Questions]]></category>

		<guid isPermaLink="false">http://technicalbrains.wordpress.com/2009/04/28/struts-tag-library/</guid>
		<description><![CDATA[Struts Tag Library: Bean Tags - cookie, define, header, include, message, page, parameter, resource, size , struts, write. HTML Tags - base, button, cancel , checkbox, errors, file, form, frame, hidden, html, image, img, javascript, link, message, multibox, options, options Collection, password, radio, reset, rewrite, select, submit, text, textarea. JavaScript Event Handlers - onblur, onchange, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=46&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:180%;"><span style="font-weight:bold;">Struts Tag Library:</span></span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">Bean Tags -</span> cookie, define, header, include, message, page, parameter, resource, size , struts, write.</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">HTML Tags -</span> base, button, cancel , checkbox, errors, file, form, frame, hidden, html, image, img, javascript, link, message, multibox, options, options Collection, password, radio, reset, rewrite, select, submit, text, textarea.</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">JavaScript Event Handlers -</span> onblur, onchange, onclick, ondbclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup.</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">Logic Tags -</span> empty, equal, forward, greater Equal, greater then, iterate, less equal, match, message not present, messages present, not empty, not equal, not match, not present, present, redirect.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalbrains.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalbrains.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalbrains.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalbrains.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalbrains.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalbrains.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalbrains.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalbrains.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalbrains.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalbrains.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalbrains.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalbrains.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalbrains.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalbrains.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=46&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://technicalbrains.wordpress.com/2009/04/28/struts-tag-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd31735ef3af980fd16e739ea38ee42c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sannewuser123</media:title>
		</media:content>
	</item>
		<item>
		<title>AGILE UNIFIED PROCESS &#8211; AUP</title>
		<link>http://technicalbrains.wordpress.com/2009/04/28/agile-unified-process-aup/</link>
		<comments>http://technicalbrains.wordpress.com/2009/04/28/agile-unified-process-aup/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 17:41:00 +0000</pubDate>
		<dc:creator>sannewuser123</dc:creator>
				<category><![CDATA[Software Life Cycle]]></category>

		<guid isPermaLink="false">http://technicalbrains.wordpress.com/2009/04/28/agile-unified-process-aup/</guid>
		<description><![CDATA[AGILE UNIFIED PROCESS &#8211; AUP Simplified version of Rational Unified Process. Describe simple, easy to understand approach to developing business application software using agile techniques. Concepts is same as RUP. AUP applies agile techniques including TDD, Agile modeling, agile change management and database refactoring to improve productivity. Disciplines &#8211; Unlike RUP it has only 7 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=45&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:180%;"><span style="font-weight:bold;">AGILE UNIFIED PROCESS &#8211; AUP</span></span></p>
<ul>
<li><span style="font-weight:bold;">Simplified version of Rational Unified Process.</span></li>
<li><span style="font-weight:bold;">Describe simple, easy to understand approach to developing business application software using agile techniques.</span></li>
<li><span style="font-weight:bold;">Concepts is same as RUP.</span></li>
<li><span style="font-weight:bold;">AUP applies agile techniques including TDD, Agile modeling, agile change management and database refactoring to improve productivity.</span></li>
</ul>
<p><span style="font-size:130%;"><span style="font-weight:bold;">Disciplines &#8211; Unlike RUP it has only 7 disciplines:</span></span>
<ol style="font-weight:bold;">
<li>Model &#8211; understand business or organization, the problem domain address by project, and identify viable solution to address problem domain.</li>
<li>Implementation &#8211; Transform model info executable code and perform basic level testing like unit testing.</li>
<li>Test &#8211; evaluate for quality</li>
<li>Deployment &#8211; Plans for delivery of System and to execute plan to make System available for end user</li>
<li>Configuration Management &#8211; includes not only tracking artifacts version but also controlling and managing changes to them.</li>
<li>Project Management &#8211; Directs activities that takes place withing project.</li>
<li>Environment &#8211; Support the rest of effort by ensuring that proper process, guidance and tools are available for team as needed.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalbrains.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalbrains.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalbrains.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalbrains.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalbrains.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalbrains.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalbrains.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalbrains.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalbrains.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalbrains.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalbrains.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalbrains.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalbrains.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalbrains.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=45&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://technicalbrains.wordpress.com/2009/04/28/agile-unified-process-aup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd31735ef3af980fd16e739ea38ee42c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sannewuser123</media:title>
		</media:content>
	</item>
		<item>
		<title>Internationalization and Localization</title>
		<link>http://technicalbrains.wordpress.com/2009/04/28/internationalization-and-localization/</link>
		<comments>http://technicalbrains.wordpress.com/2009/04/28/internationalization-and-localization/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 17:23:00 +0000</pubDate>
		<dc:creator>sannewuser123</dc:creator>
				<category><![CDATA[Java Concepts]]></category>

		<guid isPermaLink="false">http://technicalbrains.wordpress.com/2009/04/28/internationalization-and-localization/</guid>
		<description><![CDATA[Internationalization and Localization Internationalization (il8n): is process of designing an application so that it can be adapted to various language and regions without engineering changes. Localization (lion): is process of adapting software for specific region or language by adding local specific components and translating text.In Localization phase most of the portion is translation of text. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=44&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:180%;"><span style="font-weight:bold;">Internationalization and Localization</span></span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">Internationalization (il8n)</span>: is process of designing an application so that it can be adapted to various language and regions without engineering changes.</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">Localization (lion)</span>: is process of adapting software for specific region or language by adding local specific components and translating text.</span><br /><span style="font-weight:bold;">In Localization phase most of the portion is translation of text. Other types of data, such as sounds and images, may require localization if they are culturally sensitive. Localizers also verify that formatting of dates numbers and currencies confirms to local requirements.</span></p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">Key classes for Java Internationalization</span></span>
<ol style="font-weight:bold;">
<li>java.util.Local &#8211; distinguish between different localities.</li>
<li>java.util.ResourceBundle &#8211; displays appropriate message and labels for different localities using same executables and provide support for new localities without compiling new executable.</li>
<li>java.text.MessageFormat &#8211; Automatically formats elements sensitive to locality, such as dates and currencies, as appropriate to locality&#8217;s region and language.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalbrains.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalbrains.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalbrains.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalbrains.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalbrains.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalbrains.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalbrains.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalbrains.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalbrains.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalbrains.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalbrains.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalbrains.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalbrains.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalbrains.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=44&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://technicalbrains.wordpress.com/2009/04/28/internationalization-and-localization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd31735ef3af980fd16e739ea38ee42c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sannewuser123</media:title>
		</media:content>
	</item>
		<item>
		<title>Test Driven Development &#8211; TDD</title>
		<link>http://technicalbrains.wordpress.com/2009/04/28/test-driven-development-tdd/</link>
		<comments>http://technicalbrains.wordpress.com/2009/04/28/test-driven-development-tdd/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 16:50:00 +0000</pubDate>
		<dc:creator>sannewuser123</dc:creator>
				<category><![CDATA[Software Life Cycle]]></category>

		<guid isPermaLink="false">http://technicalbrains.wordpress.com/2009/04/28/test-driven-development-tdd/</guid>
		<description><![CDATA[Test Driven Development &#8211; TDD TDD is iterative software development process where you first write test with idea that it must fail. Major benefit is that code becomes thoroughly tested. TDD base on two important principle Write new business code only if automated unit test has failed Eliminate duplication from code. TDD Cycle: Write some [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=43&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:180%;"><span style="font-weight:bold;">Test Driven Development &#8211; TDD</span></span>
<ul>
<li><span style="font-weight:bold;">TDD is iterative software development process where you first write test with idea that it must fail.</span></li>
<li><span style="font-weight:bold;">Major benefit is that code becomes thoroughly tested.</span></li>
</ul>
<p><span style="font-size:130%;"><span style="font-weight:bold;">TDD base on two important principle </span></span>
<ol style="font-weight:bold;">
<li>Write new business code only if automated unit test has failed</li>
<li>Eliminate duplication from code.</li>
</ol>
<p><span style="font-size:130%;"><span style="font-weight:bold;">TDD Cycle:</span></span>
<ol style="font-weight:bold;">
<li>Write some tests for specific business requirement.</li>
<li>Write some basic structure code so that test compiles but should fail.</li>
<li>Write required business code to pass test which wrote in 1</li>
<li>Finally refactor the code</li>
<li>Run tests to make sure refactored code will pass test</li>
<li>Repeat 1 to 5 for another business requirement.</li>
</ol>
<p><span style="font-size:130%;"><span style="font-weight:bold;">TDD</span></span>
<ul>
<li><span style="font-weight:bold;">TDD eliminate duplication of code and also disciplines developer to focus on delivering what is absolutely necessary.</span></li>
<li><span style="font-weight:bold;">TDD promotes desing to interface not implementation design Concept</span></li>
<li><span style="font-weight:bold;">refactoring mechanism is beneficial</span></li>
<li><span style="font-weight:bold;">Ensures that code is thoroughly tested</span></li>
<li><span style="font-weight:bold;">Complements desing by Contract methodology and gets developer thinking in terms of pre and post condition as well as exceptions.</span></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalbrains.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalbrains.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalbrains.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalbrains.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalbrains.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalbrains.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalbrains.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalbrains.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalbrains.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalbrains.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalbrains.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalbrains.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalbrains.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalbrains.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=43&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://technicalbrains.wordpress.com/2009/04/28/test-driven-development-tdd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd31735ef3af980fd16e739ea38ee42c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sannewuser123</media:title>
		</media:content>
	</item>
		<item>
		<title>J2EE Application Server Performance Tuning</title>
		<link>http://technicalbrains.wordpress.com/2009/04/28/j2ee-application-server-performance-tuning/</link>
		<comments>http://technicalbrains.wordpress.com/2009/04/28/j2ee-application-server-performance-tuning/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 16:40:00 +0000</pubDate>
		<dc:creator>sannewuser123</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[J2EE Interview Questions]]></category>

		<guid isPermaLink="false">http://technicalbrains.wordpress.com/2009/04/28/j2ee-application-server-performance-tuning/</guid>
		<description><![CDATA[J2EE Application Server Performance Tuning Set Web Container Thread &#8211; which will be used to process incoming HTTP request. Minimum Size &#8212; Tune to Handle &#8211;&#62; Average Load Maximum Size &#8212; Tune to Handle &#8211;&#62; Peak Load Application Servers maintain pool of JDBC resources so that a new connection does not need to be created [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=42&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:180%;"><span style="font-weight:bold;">J2EE Application Server Performance Tuning</span></span>
<ul>
<li><span style="font-weight:bold;">Set Web Container Thread &#8211; which will be used to process incoming HTTP request. <br /></span></li>
<li><span style="font-weight:bold;">Minimum Size &#8212; Tune to Handle &#8211;&gt; Average Load</span></li>
<li><span style="font-weight:bold;">Maximum Size &#8212; Tune to Handle &#8211;&gt; Peak Load</span></li>
<li><span style="font-weight:bold;">Application Servers maintain pool of JDBC resources so that a new connection does not need to be created for each transaction.</span></li>
<li><span style="font-weight:bold;">Tune Minimum and Maximum size of pool.</span></li>
<li><span style="font-weight:bold;">Tune initial heap size for JVM so that garbage collector runs at a suitable interval so that it doesn&#8217;t cause unnecessary overhead. Adjust value to improve performance.</span></li>
<li><span style="font-weight:bold;">Set session manager setting appropriately.</span></li>
<li><span style="font-weight:bold;">Thread pool size should be set appropriately to handle average and peak load.</span></li>
<li><span style="font-weight:bold;">If JSP and Servlet file is called frequently with identical URL then they can be dynamically cached to improve Performance.</span></li>
<li><span style="font-weight:bold;">Turn application Server tracing off unless required for debugging.</span></li>
<li><span style="font-weight:bold;">Some application server supports lazy loading and dirty marker strategies with EJB to improve performance</span></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalbrains.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalbrains.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalbrains.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalbrains.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalbrains.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalbrains.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalbrains.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalbrains.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalbrains.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalbrains.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalbrains.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalbrains.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalbrains.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalbrains.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=42&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://technicalbrains.wordpress.com/2009/04/28/j2ee-application-server-performance-tuning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd31735ef3af980fd16e739ea38ee42c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sannewuser123</media:title>
		</media:content>
	</item>
		<item>
		<title>SSO</title>
		<link>http://technicalbrains.wordpress.com/2009/04/28/sso/</link>
		<comments>http://technicalbrains.wordpress.com/2009/04/28/sso/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 15:04:00 +0000</pubDate>
		<dc:creator>sannewuser123</dc:creator>
				<category><![CDATA[SSO]]></category>

		<guid isPermaLink="false">http://technicalbrains.wordpress.com/2009/04/28/sso/</guid>
		<description><![CDATA[Single Sign On &#8211; is method of access control that enable user to authenticate once and gain access to resources of multiple software systems. Single Sign Off &#8211; is reverse process where by a single action of signing out terminate access to multiple software systems. Benefits of SSO: Reduce amount of internet fraud by malicious [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=41&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;"><span style="font-size:130%;">Single Sign On</span> &#8211; is method of access control that enable user to authenticate once and gain access to resources of multiple software systems.</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">Single Sign Off</span> &#8211; is reverse process where by a single action of signing out terminate access to multiple software systems.</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">Benefits of SSO</span>:</span>
<ol style="font-weight:bold;">
<li>Reduce amount of internet fraud by malicious employee contact.</li>
<li>Convenience of password access</li>
<li>Security on all levels of entry/exit/access to System</li>
<li>Centralized reporting for compliance adherence.</li>
</ol>
<p><span style="font-size:130%;"><span style="font-weight:bold;">Types:</span></span><br /><span style="font-weight:bold;"><span style="font-size:130%;">1. Host Based SSO: </span>most commonly used.</span>
<ul>
<li><span style="font-weight:bold;">Host based SSO uses centralized authentication Server that all other applications and Systems utilize for authentication purpose.<br /></span></li>
<li><span style="font-weight:bold;">One of the major problem with any type of host based SSO is you create an SPF(Single Point Failure) if that authentication Server goes down, your network becomes non functional. Since no authentication takes place as all System were lost on network.</span></li>
</ul>
<p><span style="font-size:130%;"><br /></span><span style="font-weight:bold;"><span style="font-size:130%;">2. Script based Single Sign On</span>:</span>
<ul>
<li><span style="font-weight:bold;">In this older method, you log into primary network operating System and Host stores your passwords and authentication mechanism for other Systems.<br /></span></li>
<li><span style="font-weight:bold;">When you log on the network operating System passes your authentication credentials to all other System.</span></li>
<li><span style="font-weight:bold;">Drawback: Lack of encryption of Sensitive information, User IDS and passwords.</span></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalbrains.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalbrains.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalbrains.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalbrains.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalbrains.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalbrains.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalbrains.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalbrains.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalbrains.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalbrains.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalbrains.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalbrains.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalbrains.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalbrains.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=41&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://technicalbrains.wordpress.com/2009/04/28/sso/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd31735ef3af980fd16e739ea38ee42c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sannewuser123</media:title>
		</media:content>
	</item>
		<item>
		<title>Couple of more Java Concepts</title>
		<link>http://technicalbrains.wordpress.com/2009/04/28/couple-of-more-java-concepts/</link>
		<comments>http://technicalbrains.wordpress.com/2009/04/28/couple-of-more-java-concepts/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 14:52:00 +0000</pubDate>
		<dc:creator>sannewuser123</dc:creator>
				<category><![CDATA[Java Concepts]]></category>
		<category><![CDATA[Java Interview Questions]]></category>

		<guid isPermaLink="false">http://technicalbrains.wordpress.com/2009/04/28/couple-of-more-java-concepts/</guid>
		<description><![CDATA[Aggregation Vs. Composition Both are special kind of association. Aggregation is used to represent ownership or whole/part relationship and Composition is used to represent an even stronger form of ownership The Composite object has sole responsibility for disposition of its parts in terms of creation and destruction. i.e. Composite is responsible for memory allocations and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=40&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:180%;"><span style="font-weight:bold;">Aggregation Vs. Composition</span></span>
<ul>
<li><span style="font-weight:bold;">Both are special kind of association.</span></li>
<li><span style="font-weight:bold;">Aggregation is used to represent ownership or whole/part relationship and Composition is used to represent an even stronger form of ownership</span></li>
<li><span style="font-weight:bold;">The Composite object has sole responsibility for disposition of its parts in terms of creation and destruction. i.e. Composite is responsible for memory allocations and de-allocation.</span></li>
<li><span style="font-weight:bold;">Moreover, multiplicity on aggregation end may not exceed one i.e. it is unshared.</span></li>
<li><span style="font-weight:bold;"></span><span style="font-weight:bold;">An object can be part of only one composite at a time. If composite is destroyed, it must either destroy all its parts or else give responsibility for  them to some other objects.</span></li>
</ul>
<p><span style="font-size:180%;"><br /></span><span style="font-weight:bold;"><span style="font-size:180%;">Design by Contract</span> -<br /></span>
<ul>
<li><span style="font-weight:bold;">It Specifies the obligation of a calling method and called method to each other. It should be used to build well defined interfaces.</span></li>
<li><span style="font-weight:bold;"></span><span style="font-weight:bold;">Strength: This technique gets programmer to think clearly about what a function does. What pre &amp; post condition it must adhere to and also it provide documentation for caller</span></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalbrains.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalbrains.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalbrains.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalbrains.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalbrains.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalbrains.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalbrains.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalbrains.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalbrains.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalbrains.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalbrains.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalbrains.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalbrains.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalbrains.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=40&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://technicalbrains.wordpress.com/2009/04/28/couple-of-more-java-concepts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd31735ef3af980fd16e739ea38ee42c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sannewuser123</media:title>
		</media:content>
	</item>
		<item>
		<title>Java Concepts &#8211; Class Loaders</title>
		<link>http://technicalbrains.wordpress.com/2009/04/27/java-concepts-class-loaders/</link>
		<comments>http://technicalbrains.wordpress.com/2009/04/27/java-concepts-class-loaders/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 21:01:00 +0000</pubDate>
		<dc:creator>sannewuser123</dc:creator>
				<category><![CDATA[Java Concepts]]></category>

		<guid isPermaLink="false">http://technicalbrains.wordpress.com/2009/04/27/java-concepts-class-loaders/</guid>
		<description><![CDATA[Class Loaders Class Loaders are hierarchical in nature. Classes are introduced into JVM as they are reference by name in a class that is already running in the JVM. The very first class is loaded with help of static main method declared in your class. A class loader creates a namespace. All JVM includes at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=39&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:180%;"><span style="font-weight:bold;">Class Loaders</span></span>
<ul>
<li><span style="font-weight:bold;">Class Loaders are hierarchical in nature. Classes are introduced into JVM as they are reference by name in a class that is already running in the JVM.</span></li>
<li><span style="font-weight:bold;">The very first class is loaded with help of static main method declared in your class.</span></li>
<li><span style="font-weight:bold;">A class loader creates a namespace.</span></li>
<li><span style="font-weight:bold;">All JVM includes at least one class loader that is embedded within JVM primodal/bootstrap class loader.</span></li>
<li><span style="font-size:130%;"><span style="font-weight:bold;"></span></span><span style="font-weight:bold;"><span style="font-size:130%;">Bootstarp/Primodal</span> &#8211; Not re loadable &#8211; loads JDK internal classes java.* packages</span></li>
<li><span style="font-weight:bold;"><span style="font-size:130%;">Extension</span> &#8211; Not re loadable &#8211; loads jar file from JDK extension directly</span></li>
<li><span style="font-weight:bold;"><span style="font-size:130%;">System </span>- Not reloadable &#8211; loads classes from System classpath</span></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalbrains.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalbrains.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalbrains.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalbrains.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalbrains.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalbrains.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalbrains.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalbrains.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalbrains.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalbrains.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalbrains.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalbrains.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalbrains.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalbrains.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=39&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://technicalbrains.wordpress.com/2009/04/27/java-concepts-class-loaders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd31735ef3af980fd16e739ea38ee42c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sannewuser123</media:title>
		</media:content>
	</item>
		<item>
		<title>EJB Interview Question</title>
		<link>http://technicalbrains.wordpress.com/2009/04/27/ejb-interview-question/</link>
		<comments>http://technicalbrains.wordpress.com/2009/04/27/ejb-interview-question/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 20:37:00 +0000</pubDate>
		<dc:creator>sannewuser123</dc:creator>
				<category><![CDATA[EJB Interview Questions]]></category>

		<guid isPermaLink="false">http://technicalbrains.wordpress.com/2009/04/27/ejb-interview-question/</guid>
		<description><![CDATA[How does EJB interact with its container and What are call-backs method in entity beans?EJB interacts with its container through following mechanism: 1. Callback Methods:Every EJB implements an interface (extends Enterprise Bean) which defines several method which alerts bean to various life cycle. A container is responsible for invoking these methods. These methods notify bean [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=38&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:180%;"><span style="font-weight:bold;">How does EJB interact with its container and What are call-backs method in entity beans?</span></span><br /><span style="font-size:130%;"><span style="font-weight:bold;">EJB interacts with its container through following mechanism:</span></span></p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">1. Callback Methods:</span></span><br /><span style="font-weight:bold;">Every EJB implements an interface (extends Enterprise Bean) which defines several method which alerts bean to various life cycle. A container is responsible for invoking these methods. These methods notify bean when to activated, to be passivated, to db, to end a transaction, to remove bean from memory etc. Entity bean has following callback methods.</span><br /><span style="font-weight:bold;">public interface javax.ejb.Entitybean{</span><br /><span style="font-weight:bold;">public void setEntityContext(EntityContext c);</span><br /><span style="font-weight:bold;">public void unSetEntityContext();</span><br /><span style="font-weight:bold;">public void ejbLoad();</span><br /><span style="font-weight:bold;">public void ejbStore();</span><br /><span style="font-weight:bold;">public void ejbActivate();</span><br /><span style="font-weight:bold;">public void ejbPassivate();</span><br /><span style="font-weight:bold;">public void ejbRemove();</span><br /><span style="font-weight:bold;">}</span></p>
<p><span style="font-weight:bold;"><span style="font-size:130%;">2. EJB Context:</span><br />EJB Context provides method for interacting with container so that bean can request information about its environment like identity of caller, security, transaction status, etc.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalbrains.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalbrains.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalbrains.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalbrains.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalbrains.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalbrains.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalbrains.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalbrains.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalbrains.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalbrains.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalbrains.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalbrains.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalbrains.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalbrains.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=technicalbrains.wordpress.com&amp;blog=7566536&amp;post=38&amp;subd=technicalbrains&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://technicalbrains.wordpress.com/2009/04/27/ejb-interview-question/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd31735ef3af980fd16e739ea38ee42c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sannewuser123</media:title>
		</media:content>
	</item>
	</channel>
</rss>
