<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-30951729</id><updated>2011-07-30T23:44:48.132+05:30</updated><category term='oracle java jdbc insert image blob into database'/><category term='java network launching protocol'/><category term='what is digital certificate explain breif java'/><category term='log activity notepad windows'/><category term='dont move background hrml fixed background big large html pages'/><category term='robot mouse keyboard automatic java robot class'/><category term='avoid bots spam captcha folded images'/><category term='bookmark'/><category term='Java EE6 New Updates J2EE EJB3.1 Bean Validation Servlet3'/><category term='auto search webpage google technique customize search ready to use html'/><category term='swing textarea multiple multi styles java bold colors in text rich text java swing'/><category term='go to beginning of page scroll to top html javascript'/><category term='avoid right click on web page dont show context menu no right click'/><category term='animation marquee user action start on focus stop off focus html javascript'/><category term='shake move javascript buzz effects'/><category term='unselectable attribute html not to select no drag'/><category term='create digital certificate  java swing applet'/><category term='iis apache tomcat plug-in connector java'/><category term='javascript print acknowledgment webpage'/><title type='text'>Find ouT...</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-30951729.post-358950398401611239</id><published>2009-12-16T21:30:00.004+05:30</published><updated>2009-12-16T21:36:09.386+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java EE6 New Updates J2EE EJB3.1 Bean Validation Servlet3'/><title type='text'>Some Java EE6 Updates</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link style="font-family: verdana;" rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cnkurmala%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link style="font-family: verdana;" rel="themeData" href="file:///C:%5CDOCUME%7E1%5Cnkurmala%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link style="font-family: verdana;" rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5Cnkurmala%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="&amp;#45;-"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face 	{font-family:ArialMT; 	panose-1:0 0 0 0 0 0 0 0 0 0; 	mso-font-charset:0; 	mso-generic-font-family:auto; 	mso-font-format:other; 	mso-font-pitch:auto; 	mso-font-signature:3 0 0 0 1 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman";} a:link, span.MsoHyperlink 	{mso-style-priority:99; 	color:blue; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{mso-style-noshow:yes; 	mso-style-priority:99; 	color:purple; 	mso-themecolor:followedhyperlink; 	text-decoration:underline; 	text-underline:single;} pre 	{mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-link:"HTML Preformatted Char"; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Courier New"; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin;} span.HTMLPreformattedChar 	{mso-style-name:"HTML Preformatted Char"; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-unhide:no; 	mso-style-locked:yes; 	mso-style-link:"HTML Preformatted"; 	font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:162664689; 	mso-list-template-ids:-640497364;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	font-family:Symbol;} @list l0:level2 	{mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level3 	{mso-level-tab-stop:1.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level4 	{mso-level-tab-stop:2.0in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level5 	{mso-level-tab-stop:2.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level6 	{mso-level-tab-stop:3.0in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level7 	{mso-level-tab-stop:3.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level8 	{mso-level-tab-stop:4.0in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level9 	{mso-level-tab-stop:4.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman","serif";} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size: 12pt;"&gt;Contexts and Dependency Injection for the Java EE Platform&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;CDI unifies and simplifies the EJB and JSF programming models. It allows enterprise beans to replace JSF managed beans in a JSF application.&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size: 12pt;"&gt;Bean Validation&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 12pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;To meet the objective of sharing the same set of validations across all the layers of an application, Bean Validation is integrated across the Java EE 6 platform.&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;public class Address {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;       @NotNull @Size(max=30)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;       private String addressline1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;       @Size(max=30)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;       private String addressline2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;        ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;       public String getAddressline1() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;              return addressline1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;       }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;       public void setAddressline1(String addressline1) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;              this.addressline1 = addressline1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;       }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;        ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;   }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 12pt;"&gt;==========&lt;/span&gt;&lt;span style="font-size: 12pt;"&gt;è&lt;/span&gt;&lt;span style="font-size: 12pt;"&gt; Customized Validation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre style="font-family: verdana;"&gt;   @Size(min=5, max=5)&lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;   @ConstraintValidator(ZipcodeValidator.class)&lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;   @Documented&lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;   @Target({ANNOTATION_TYPE, METHOD, FIELD})&lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;   @Retention(RUNTIME)&lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;   public @interface ZipCode {&lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;       String message() default "Wrong zipcode";&lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;       String[] groups() default {};&lt;/pre&gt;&lt;pre style="font-family: verdana;"&gt;   }&lt;/pre&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 12pt;"&gt;An &lt;i&gt;object graph&lt;/i&gt; is an object composed of other objects. If you specify the &lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;@Valid&lt;/span&gt;&lt;span style="font-size: 12pt;"&gt; annotation on the root object of an object graph, it directs the pertinent validator to recursively validate the associated objects in the object graph. Consider the following example:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" style="width: 100%; font-family: verdana;" width="100%" border="0" cellpadding="0" cellspacing="0"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="padding: 7.5pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;     public class Order {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;         @OrderNumber private String orderNumber;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;         @Valid @NotNull private Address delivery;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;     }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 12pt;"&gt;When an &lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;Order&lt;/span&gt;&lt;span style="font-size: 12pt;"&gt; object is validated, the &lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;Address&lt;/span&gt;&lt;span style="font-size: 12pt;"&gt; object and the associated objects in its object graph are validated too.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size: 12pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size: 12pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size: 12pt;"&gt;Support for Web Fragments in Servlet 3.0&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 12pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;Now we can have logical divisions of web.xml configurations. Not just in web.xml that way we can maintain a web-fragment file for each framework (Configuring Listeners, Servlets).&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;web.xml&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;webfragment1&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;webfragment2&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-weight: bold; font-family: verdana;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size: 10pt;"&gt;The following annotations are applicable starting from Servlet 3.0 specification,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt;"&gt;· &lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;@WebServlet&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt;"&gt;· &lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;@WebServletContextListener&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt;"&gt;· &lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;@ServletFilter&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;· &lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;@InitParam&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt; color: black;"&gt;package net.javabeat.servlet30.newfeatures;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt; color: black;"&gt;import javax.&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(0, 154, 0);"&gt;servlet&lt;/span&gt;&lt;span style="font-size: 10pt; color: black;"&gt;.annotation.InitParam;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt; color: black;"&gt;import javax.servlet.annotation.WebServlet;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt; color: black;"&gt;@WebServlet(&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt; color: black;"&gt;name = "SimpleServlet",&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt; color: black;"&gt;urlPatterns = {"/simple"},&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt; color: black;"&gt;initParams = {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt; color: black;"&gt;@InitParam(name = "param1", value = "value1"),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt; color: black;"&gt;@InitParam(name = "param2", value = "value2")}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt; color: black;"&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;span style="font-size: 10pt; color: rgb(0, 154, 0);"&gt;public &lt;/span&gt;&lt;span style="font-size: 10pt; color: black;"&gt;class SimpleServlet {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;span style="font-size: 10pt; color: black;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: verdana;" class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: verdana;"&gt;&lt;b&gt;&lt;span style="font-size: 12pt;"&gt;Some improvements made in EJB 3.1 are as follows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;ul style="font-family: verdana;" type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 12pt;"&gt;&lt;a href="http://java.sun.com/developer/technicalArticles/JavaEE/JavaEE6Overview_Part3.html#noiview"&gt;No-interface      view&lt;/a&gt;. Allows you to specify an enterprise bean using only a bean class      without having to write a separate business interface. (If using EJBs locally)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 12pt;"&gt;&lt;a href="http://java.sun.com/developer/technicalArticles/JavaEE/JavaEE6Overview_Part3.html#singles"&gt;Singletons&lt;/a&gt;.      Lets you easily share state between multiple instances of an enterprise      bean component or between multiple enterprise bean components in an      application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 12pt;"&gt;&lt;a href="http://java.sun.com/developer/technicalArticles/JavaEE/JavaEE6Overview_Part3.html#asynejb"&gt;Asynchronous      session bean invocation&lt;/a&gt;. Enables you to invoke session bean methods      asynchronously by specifying an annotation. (@Asynchronous, Future &lt;v&gt;, javax.ejb.AsyncResult&lt;v&gt;&lt;/span&gt;&lt;span style="font-size: 12pt;"&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 12pt;"&gt;&lt;a href="http://java.sun.com/developer/technicalArticles/JavaEE/JavaEE6Overview_Part3.html#simpack"&gt;Simplified      Packaging&lt;/a&gt;. Removes the restriction that enterprise bean classes must      be packaged in an &lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;ejb-jar&lt;/span&gt;&lt;span style="font-size: 12pt;"&gt; file. You can now place EJB classes directly in a WAR      file. (Looks like Tomcat can also exec EJBs now... hehe)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style="font-size: 12pt;"&gt;&lt;a href="http://java.sun.com/developer/technicalArticles/JavaEE/JavaEE6Overview_Part3.html#ejblite"&gt;EJB      Lite&lt;/a&gt;. Is a subset of EJB 3.1 for inclusion in a variety of Java EE      profiles.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-358950398401611239?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/358950398401611239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=358950398401611239' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/358950398401611239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/358950398401611239'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2009/12/some-java-ee6-updates.html' title='Some Java EE6 Updates'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-5678463614852467443</id><published>2007-06-30T00:29:00.000+05:30</published><updated>2007-06-30T00:43:41.983+05:30</updated><title type='text'>Can't start a cloned connection while in manual transaction mode</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;While using the Microsoft SQL Server 2000 Driver for JDBC, you may experience the following exception when you try to create multiple &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:verdana;font-size:85%;"  &gt;Statement&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt; objects with same &lt;/span&gt;&lt;span style="font-weight: bold;font-family:verdana;" &gt;Connection&lt;/span&gt;&lt;span style="font-family:verdana;"&gt; object:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:verdana;" &gt;java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Add &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:verdana;" &gt;SelectMethod=Cursor; &lt;/span&gt;&lt;span style="font-family:verdana;"&gt;in the connection string. Thats it..... Let me know if this helped u...&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-5678463614852467443?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/5678463614852467443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=5678463614852467443' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/5678463614852467443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/5678463614852467443'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2007/06/cant-start-cloned-connection-while-in.html' title='Can&apos;t start a cloned connection while in manual transaction mode'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-3779904996709463423</id><published>2007-04-06T03:27:00.000+05:30</published><updated>2007-04-06T03:29:23.237+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bookmark'/><title type='text'>Bookmark using javascript....</title><content type='html'>&amp;lt; html &amp;gt;&lt;br /&gt;&amp;lt; head &amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt; script language="JavaScript" type="Text/Javascript" &amp;gt;&lt;br /&gt;&lt;br /&gt;var urlAddress = "http://www.talimpu.com";&lt;br /&gt;var visibleName = "Mouth watering recipes...";&lt;br /&gt;function addToFavorites() {&lt;br /&gt;if(window.sidebar) {&lt;br /&gt;window.sidebar.addPanel(visibleName, urlAddress,"");&lt;br /&gt;}&lt;br /&gt;if (window.external) {&lt;br /&gt;window.external.AddFavorite(urlAddress,visibleName);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&amp;lt; /script &amp;gt;&lt;br /&gt;&amp;lt; /head &amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt; body&amp;gt;&lt;br /&gt;&amp;lt; a href="javascript:addToFavorites()"&amp;gt; &amp;lt; font color="#0000FF" face="Arial" &amp;gt; Wanna Bookmark me !&amp;lt; /font &amp;gt; &amp;lt; /a &amp;gt;&lt;br /&gt;&amp;lt; /body &amp;gt;&lt;br /&gt;&amp;lt; /html &amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-3779904996709463423?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/3779904996709463423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=3779904996709463423' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/3779904996709463423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/3779904996709463423'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2007/04/bookmark-using-javascript.html' title='Bookmark using javascript....'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-8894529046936387046</id><published>2007-02-24T01:01:00.000+05:30</published><updated>2007-02-24T01:32:47.997+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript print acknowledgment webpage'/><title type='text'>javascript to PRINT your webpage....</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;Many times programmers / web-designers need to print a receipt after a particular transaction... I have found many of them embedding ActiveX control for printing mechanism in their pages... activex control code looks awkward, class id is to be remembered, wil not wrk fine on all explorers....&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;here is a simple solution.... use &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:verdana;font-size:85%;"  &gt;self.print() &lt;/span&gt;&lt;span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;function in onclick method of a button which prints the page having the button... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The button will be hidden before printing in the code given below....&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&amp;lt; html &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&amp;lt; body &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&amp;lt; form name='prnttest' &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;this html prints the page...  &amp;lt; br/ &amp;gt;&amp;lt; b &amp;gt;hides the button before printing &amp;lt; /br &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&amp;lt; table &amp;gt;&lt;br /&gt;&amp;lt; tr &amp;gt;&amp;lt; td &amp;gt;&lt;br /&gt;1&amp;lt; input type='radio' name='hh' value='1' &amp;gt;&lt;br /&gt;&amp;lt; /td &amp;gt;&amp;lt; /tr &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&amp;lt; tr &amp;gt;&amp;lt; td &amp;gt;&lt;br /&gt;2&amp;lt; input type='radio' name='hh' value='2' &amp;gt;&lt;br /&gt;&amp;lt; /td &amp;gt;&amp;lt; /tr &amp;gt;&lt;br /&gt;&amp;lt; tr &amp;gt;&amp;lt; td &amp;gt;&lt;br /&gt;3&amp;lt; input type='radio' name='hh' value='3' &amp;gt;&lt;br /&gt;&amp;lt; /td &amp;gt;&amp;lt; /tr &amp;gt;&lt;br /&gt;&amp;lt; tr &amp;gt;&amp;lt; td &amp;gt;&lt;br /&gt;4&amp;lt; input type='radio' name='hh' value='4' &amp;gt;&lt;br /&gt;&amp;lt; /td &amp;gt;&amp;lt; /tr &amp;gt;&lt;br /&gt;&amp;lt; /table &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&amp;lt; input type='button' value='Print' onclick="this.style.visibility='hidden';self.print();"/ &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&amp;lt; /form &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&amp;lt; /body &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&amp;lt; /html &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;share ur experiences if this helps you....&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-8894529046936387046?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/8894529046936387046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=8894529046936387046' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/8894529046936387046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/8894529046936387046'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2007/02/javascript-to-print-your-webpage.html' title='javascript to PRINT your webpage....'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-1343714425478386410</id><published>2007-02-21T01:51:00.000+05:30</published><updated>2007-02-24T01:33:11.448+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='log activity notepad windows'/><title type='text'>Log ur activities easily....</title><content type='html'>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;for pals who use Windows operating system....&lt;br /&gt;&lt;br /&gt;create a notepad file, the one which has &lt;span style="font-style: italic;"&gt;.txt&lt;/span&gt; as extension on your desktop. Now open the file and write &lt;span style="font-weight: bold;"&gt;.LOG &lt;/span&gt;in the first line. Press enter key after writing. Close the file by saving changes.&lt;br /&gt;&lt;br /&gt;If you open the file now, you will find the current date and time followed by a cursor waiting for your log :-)   Close n Open Close n Open Close Open....  everytime u can write a log....&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-1343714425478386410?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/1343714425478386410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=1343714425478386410' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/1343714425478386410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/1343714425478386410'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2007/02/log-ur-activities-easily.html' title='Log ur activities easily....'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-5634794818886049690</id><published>2007-02-13T06:47:00.000+05:30</published><updated>2007-02-24T01:33:46.516+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='iis apache tomcat plug-in connector java'/><title type='text'>TOMCAT IIS CONNECTOR</title><content type='html'>&lt;p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Is your superior asking you to deploy Java stuff on IIS ? Are you using TOMCAT web server instead ? &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;uhhhh... don't bother... u got it...&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Im gonna tell u connecting tomcat webserver to IIS. Requests that need java engine will be forwarded from IIS to tomcat and get the response without the knowledge of the web user.&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;I guess u hav &lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;IIS installed &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;J2SDK installed (&lt;/span&gt;&lt;a href="http://java.sun.com/javase/downloads/previous.jsp"&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;http://java.sun.com/javase/downloads/previous.jsp&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;) &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Apache Tomcat installed (&lt;/span&gt;&lt;a href="http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.20-original/bin/apache-tomcat-5.5.20.exe"&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.20-original/bin/apache-tomcat-5.5.20.exe&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;) &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Jakarta Tomcat Connector JK2 for IIS (&lt;/span&gt;&lt;a href="http://archive.apache.org/dist/jakarta/tomcat-connectors/jk2/binaries/win32/jakarta-tomcat-connectors-jk2.0.4-win32-IIS.zip"&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;http://archive.apache.org/dist/jakarta/tomcat-connectors/jk2/binaries/win32/jakarta-tomcat-connectors-jk2.0.4-win32-IIS.zip&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;I am using Windows XP and I have &lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;J2SDK installed at C:\Program Files\Java\jdk1.6.0&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Tomcat installed at C:\Program Files\Apache Software Foundation\Tomcat 5.0 with default port 8080 configured.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;CATALINA_HOME and JAVA_HOME environment variables (System Variables) configured.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Make sure that no other application is running on port 80 so that IIS can run on its default port 80. Change the port numbers and make sure of the IIS port number being used.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;strong&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;Extract the connectors-jk2.0.4-win32-IIS.zip and copy isapi_redirector2.dll to TOMCAT_HOME&lt;tomcat&gt;&lt;tomcat&gt;/bin/win32/i386. If you dont have the win32 and i386 folders just create new one and then copy to i386. &lt;/tomcat&gt;&lt;/tomcat&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;strong&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;To support the JK2 Connector, you might need to edit the jk2.properties file. In most cases though, the default settings adopted by Tomcat are correct and the contents of jk2.properties can remain commented out.You can find jk2.properties in TOMCAT_HOME&lt;tomcat&gt;&lt;tomcat&gt;/conf directory. If you don't have one jus create a file with the name jk2.properties and copy the following text into the jk2.properties file&lt;/tomcat&gt;&lt;/tomcat&gt;&lt;/span&gt; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;p&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;## WHEN YOU EDIT THE FILE.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;## COMMENTS WILL BE _LOST_&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# Set the desired handler list&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# handler.list=apr,request,channelJni&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;#&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# Override the default port for the socketChannel&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# channelSocket.port=8019&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# Default:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# channelUnix.file=${jkHome}/work/jk2.socket&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# Just to check if the the config is working&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# shm.file=${jkHome}/work/jk2.shm&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# In order to enable jni use any channelJni directive&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# channelJni.disabled = 0&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# And one of the following directives:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# If set to inprocess the mod_jk2 will Register natives itself&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# This will enable the starting of the Tomcat from mod_jk2&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);font-family:verdana;font-size:85%;"  &gt;# apr.jniModeSo=inprocess&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;br /&gt;Now create a file with the name workers2.properties if you dont have and copy the following into the file &lt;/span&gt;&lt;/p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;p&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;[shm:]info=Shared memory file. Required for multiprocess servers&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;file=C:\Program Files\Apache Software Foundation\Tomcat 5.0\jk2.shm&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;size=1000000&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;[channel.socket:localhost:8009]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;tomcatId=localhost:8009&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;[uri:/jsp-examples/*]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;info=JSP examples, map requests for all JSP pages to Tomcat.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;context=/jsp-examples &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;The IIS redirects every request to 'context' attribute mentioned above.Requests to &lt;/p&gt;&lt;/span&gt;&lt;a href="http://localhost/jsp-examples/"&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;http://localhost/jsp-examples/&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt; (&lt;strong&gt;IIS&lt;/strong&gt;) will be redirected to http://localhost:8080/jsp-examples/ (&lt;strong&gt;Tomcat server&lt;/strong&gt;). You can include more than one context attribute from the next line.&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Now some settings to the Windows Registry are to be made so that the redirector will read when it is loaded by the IIS.&lt;br /&gt;create a file with the name isaapi_redirector2.reg preferably in TOMCAT_HOME&lt;tomcat&gt;&lt;tomcat&gt;\bin\win32\i386. Right click and select edit. Copy the following text into it. &lt;/tomcat&gt;&lt;/tomcat&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;p&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;Windows Registry Editor Version 5.00 &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;"workersFile"="C:\\Program Files\\Apache Software Foundation\\Tomcat 5.0\\conf\\workers2.properties"&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;"extensionUri"="/jakarta/isapi_redirector2.dll"&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;"logLevel"="debug"&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;"serverRoot"="C:\\Program Files\\Apache Software Foundation\\Tomcat 5.0\\"&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Before saving make sure that 'workersFile' attribute points to the workers2.properties just created and 'serverRoot' points to your tomcat home directory. Save the file. Again right click and select Merge.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If you dont have IIS installed go to Control panel ---- Add or Remove Programs ---- Add/Remove Windows Components---- enable Internet Information Services (IIS) and install.&lt;br /&gt;Now go to Control panel --- Administrative Tools and launch Internet Information Services.&lt;br /&gt;Expand the tree LOcal Computer and you wil find 'Web Sites'.Right click on it and select 'Properties'. Now select 'ISAPI Filters' tab. Click Add button. Enter the Filter Name (Tomcat Connector) and Browse for isapi_redirector2.dll. Click OK and Apply on ISAPI Filters tab.&lt;br /&gt;Expand the 'Web Sites' node and u wil find 'Default Website'. Right click on it and create a virtual directory with the name 'jakarta' in TOMCAT_HOME&lt;tomcat&gt;&lt;tomcat&gt;\bin\win32\i386. Click Next and ensure that Execute is checked. Click Next.&lt;br /&gt;&lt;/tomcat&gt;&lt;/tomcat&gt;&lt;/p&gt;&lt;p&gt;Set Tomcat Server to auto start. To do this do it through services.exe or right click on the tomcat icon at the taskbar and check Auto start option.&lt;br /&gt;Right click on the 'local computer' node in IIS ---- All tasks --- Restart IIS. Click OK&lt;br /&gt;Thats it......&lt;br /&gt;Try &lt;/p&gt;&lt;/span&gt;&lt;a href="http://localhost:8080/jsp-examples/"&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;http://localhost:8080/jsp-examples/&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt; by typing in you explorer.The response given is directly from Tomcat.Now try &lt;/span&gt;&lt;a href="http://localhost/jsp-examples/"&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;http://localhost/jsp-examples/&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt; . The same response will be given through IIS.Change the port number in the addresses if required.&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Send me a comment if this article helped u...&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-5634794818886049690?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/5634794818886049690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=5634794818886049690' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/5634794818886049690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/5634794818886049690'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2007/02/tomcat-iis-connector.html' title='TOMCAT IIS CONNECTOR'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-116358921600197760</id><published>2006-11-15T16:43:00.000+05:30</published><updated>2007-02-24T01:34:07.110+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='unselectable attribute html not to select no drag'/><title type='text'>unselectable attribute in HTML</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;Hey !! wil u bliv if i say tht HTMl has an attribute named '&lt;span style="font-weight: bold; color: rgb(153, 153, 255);"&gt;unselectable&lt;/span&gt;'. This attribute can make an element not to be selectable. Let me tel clearly. 4 suppos u hav a HTML table n a no. of td tags in it. A part of text in a td can be selected by dragging on the desired part. Try settin &lt;span style="font-weight: bold; color: rgb(102, 102, 204);"&gt;unselectable="on"&lt;/span&gt; in td tag. The magic cums in. You cannot select a part of text now in that td. Not jus in td tag. U can use it in span,div...... etc.&lt;br /&gt;&lt;br /&gt;U can set the '&lt;span style="font-weight: bold; color: rgb(204, 51, 204);"&gt;unselectable&lt;/span&gt;' attribute to either '&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;on&lt;/span&gt;' or '&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;off&lt;/span&gt;'. The default value for an unselectable attribute in an HTML element is set to '&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;off&lt;/span&gt;'.&lt;br /&gt;&lt;br /&gt;Nice tip na...&lt;br /&gt;&lt;br /&gt;k bye...&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-116358921600197760?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/116358921600197760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=116358921600197760' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/116358921600197760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/116358921600197760'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/11/unselectable-attribute-in-html_15.html' title='unselectable attribute in HTML'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115996332020067395</id><published>2006-10-04T17:20:00.000+05:30</published><updated>2007-02-24T01:34:44.258+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java network launching protocol'/><title type='text'>mmmmm JNLP..... whts tht.. ???</title><content type='html'>&lt;h2  style="font-family:verdana;"&gt;&lt;span style="color: rgb(204, 51, 204);font-size:85%;" &gt;JNLP - Java Network Launching Protocol&lt;/span&gt;&lt;/h2&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;What Is JNLP All About?&lt;/span&gt; &lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;JNLP is an XML-based technology for launching Java executables over the Web. Just imagine that you could specify the classpath resources in your application (images, JAR files, properties, files, etc.), scattered over the Web and giving their URLs to run normal Java applications (Swing applications for example). This feature would give you the capability of &lt;i&gt;deploying &lt;/i&gt;your GUI application on the web. Not just for applications online, this can be also be used for applications on your local system.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;But there is a subtlety. Who will configure the JVM to launch your application this way? The most obvious answer is: another application—a kind of launcher, &lt;span style="font-weight: bold; color: rgb(204, 0, 0);"&gt;Java Web Start&lt;/span&gt;. This will prepare everything for the JVM to correctly execute your program. Remember that the JVM needs files copied locally on the client file system in order to use them.&lt;/span&gt;&lt;/p&gt; &lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;The JNLP protocol consists basically of a set of rules that describe how this launching mechanism should be implemented. This can be done with a XML file.&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;A simple example of  a JNLP xml  is given below...&lt;/span&gt;&lt;/p&gt;&lt;pre  style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&amp;lt;jnlp spec="1.0+" codebase="http://www.xyz.com/apps" href="launch.jnlp"&amp;gt;&lt;br /&gt;&amp;lt;information&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Hello JNLP&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;homepage href="http://www.tezcols.blogspot.com"&amp;gt;&lt;br /&gt;&amp;lt;vendor&amp;gt;Bitinbyte's&amp;lt;/vendor&amp;gt;&lt;br /&gt;&amp;lt;offline&amp;gt;&lt;br /&gt;&amp;lt;/offline&amp;gt;&lt;br /&gt;&amp;lt;resources&amp;gt;&lt;br /&gt;&amp;lt;j2se version="1.2+"&amp;gt;&lt;br /&gt;&amp;lt;jar href="bin/launch.jar"&amp;gt;&lt;br /&gt;&amp;lt;/jar&amp;gt;&lt;br /&gt;&amp;lt;application-desc&amp;gt;&lt;br /&gt;&amp;lt;/application-desc&amp;gt;&lt;br /&gt;&amp;lt;/j2se&amp;gt;&amp;lt;/resources&amp;gt;&lt;br /&gt;&amp;lt;/homepage&amp;gt;&lt;br /&gt;&amp;lt;/information&amp;gt;&lt;br /&gt;&amp;lt;/jnlp&amp;gt;&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115996332020067395?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115996332020067395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115996332020067395' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115996332020067395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115996332020067395'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/10/mmmmm-jnlp-whts-tht.html' title='mmmmm JNLP..... whts tht.. ???'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115952839896502433</id><published>2006-09-29T16:42:00.000+05:30</published><updated>2007-02-24T01:35:30.467+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='avoid bots spam captcha folded images'/><title type='text'>Wat is a CAPTCHA ??????</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;When u tried to send a mail from yahoo.... most of the times u will be asked for Word Verification.This is to avoid the attack from bots.Below given is an example.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" style="font-family: verdana;" href="http://photos1.blogger.com/blogger/4085/3329/1600/captcha.jpg"&gt;&lt;img style="cursor: pointer;" alt="" src="http://photos1.blogger.com/blogger/4085/3329/320/captcha.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;CAPTCHA stands for Completely Automatic Public [Turing] Test to Tell Computers and Humans Apart.A CAPTCHA is a program that can generate and grade tests that most humans can pass, but current computer programs can't pass. For example, humans can read distorted text as the one shown below, but current computer programs can't. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Several companies (Yahoo!, Microsoft, etc.) offer free email services. Most of these suffer from a specific type of attack: "bots" that sign up for thousands of email accounts every minute.A bot is a computer program that imitates a human being.This situation can be improved by requiring users to prove they are human before they can get a free email account. Yahoo!, for instance, uses a CAPTCHA test to prevent bots from registering for accounts.What do you say? Yes you are correct.As you think it is enough to verify an ordinary random text instead of this curved letters.But some image processing techniques can also be used by bots to know the word verification text.So inorder to make the bots unable to find out the text easily distorted text is used.Not just text even images of birds,bulbs,cars,coins... will be shown at random and an input is expected from the combo box.You can find out more at &lt;a href="http://www.captcha.net/"&gt;http://www.captcha.net/&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;Java has a plug-in named JCAPTCHA.You can integrate it into your applications.Hope u find this interesting....... bubyee&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115952839896502433?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115952839896502433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115952839896502433' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115952839896502433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115952839896502433'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/09/wat-is-captcha_115952839896502433.html' title='Wat is a CAPTCHA ??????'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115752088093830495</id><published>2006-09-06T10:56:00.000+05:30</published><updated>2007-02-24T01:35:53.084+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle java jdbc insert image blob into database'/><title type='text'>Insert an image into database...</title><content type='html'>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;/**&lt;br /&gt;* @author Tez K N V&lt;br /&gt;*/&lt;br /&gt;import java.sql.*;&lt;br /&gt;import java.io.*;&lt;br /&gt;public class Gifi {&lt;br /&gt;public Gifi(){&lt;br /&gt;&lt;br /&gt;try{&lt;br /&gt;File f=new File("bell.gif");&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;//Name of the image is bell.gif&lt;/span&gt;&lt;br /&gt;InputStream is=new FileInputStream(f);&lt;br /&gt;byte buff[]=new byte[is.available()];&lt;br /&gt;int re=is.read(buff);&lt;br /&gt;Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");&lt;br /&gt;Connection con=DriverManager.getConnection("jdbc:odbc:mydsn","scott","tiger");&lt;br /&gt;PreparedStatement pstmt=con.prepareStatement("insert into gifo values(?,?)");&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;//I am using oracle database and my gifo table has int and blob columns &lt;/span&gt;&lt;br /&gt;pstmt.setInt(1,3);&lt;br /&gt;pstmt.setBytes(2,buff);&lt;br /&gt;pstmt.execute();&lt;br /&gt;}catch(Exception e){&lt;br /&gt;System.out.println(e);e.printStackTrace();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static void main(String s[]){&lt;br /&gt;new Gifi();&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span style="font-size:85%;"&gt;Try to retrieve an image from database... I will post abt tht in another article...&lt;br /&gt;&lt;br /&gt;tezcols&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115752088093830495?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115752088093830495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115752088093830495' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115752088093830495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115752088093830495'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/09/insert-image-into-database.html' title='Insert an image into database...'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115693688278854485</id><published>2006-08-30T16:44:00.000+05:30</published><updated>2007-02-24T01:36:11.388+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='swing textarea multiple multi styles java bold colors in text rich text java swing'/><title type='text'>Swing textarea with multi styles</title><content type='html'>&lt;span style="color: rgb(255, 102, 0);font-family:verdana;font-size:85%;"  &gt;Many of us don't find a textarea in swing that supports various styles at a time.But we have.Wil u bliv if i say tht u can use JTextPane to show letters with multi colors and styles.Below given is a novice program to do that.Better go for a menubar if u need several styles.StyledEditorKit allows to add several styles to JTextPane.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;span style="color: rgb(102, 0, 204);"&gt;/**&lt;br /&gt;* @author Tez K N V&lt;br /&gt;*/&lt;br /&gt;import java.awt.Color;&lt;br /&gt;import java.awt.Dimension;&lt;br /&gt;import java.awt.FlowLayout;&lt;br /&gt;import javax.swing.JButton;&lt;br /&gt;import javax.swing.JFrame;&lt;br /&gt;import javax.swing.JScrollPane;&lt;br /&gt;import javax.swing.JTextPane;&lt;br /&gt;import javax.swing.text.StyledEditorKit;&lt;br /&gt;&lt;br /&gt;public class TryColorBut extends JFrame{&lt;br /&gt;JButton butRedColor;&lt;br /&gt;JButton butBlueColor;&lt;br /&gt;JButton butBold;&lt;br /&gt;JButton butSize;&lt;br /&gt;JTextPane txtPaneArea;&lt;br /&gt;JScrollPane scrPane;&lt;br /&gt;public TryColorBut(){&lt;br /&gt;getContentPane().setLayout(new FlowLayout());&lt;br /&gt;butRedColor=new JButton(new StyledEditorKit.ForegroundAction("Red",Color.red));&lt;br /&gt;butBlueColor=new JButton(new StyledEditorKit.ForegroundAction("Blue",Color.blue));&lt;br /&gt;butBold=new JButton(new StyledEditorKit.BoldAction());&lt;br /&gt;butSize=new JButton(new StyledEditorKit.FontSizeAction("Large",18));&lt;br /&gt;txtPaneArea=new JTextPane();&lt;br /&gt;scrPane=new JScrollPane(txtPaneArea);&lt;br /&gt;scrPane.setPreferredSize(new Dimension(200,200));&lt;br /&gt;getContentPane().add(scrPane);&lt;br /&gt;getContentPane().add(butRedColor);&lt;br /&gt;getContentPane().add(butBlueColor);&lt;br /&gt;getContentPane().add(butBold);&lt;br /&gt;getContentPane().add(butSize);&lt;br /&gt;setSize(500,300);&lt;br /&gt;}&lt;br /&gt;public static void main(String d[]){&lt;br /&gt;new TryColorBut().setVisible(true);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115693688278854485?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115693688278854485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115693688278854485' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115693688278854485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115693688278854485'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/08/swing-textarea-with-multi-styles.html' title='Swing textarea with multi styles'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115676434496961765</id><published>2006-08-28T16:51:00.000+05:30</published><updated>2007-02-24T01:36:29.997+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='shake move javascript buzz effects'/><title type='text'>Buzzz... effect using javascript</title><content type='html'>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;moveTo function moves the window to specified coordinates...&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&amp;lt; html &amp;gt;&lt;br /&gt;&amp;lt; body &amp;gt;&lt;br /&gt;&amp;lt; script language="javascript" &amp;gt;&lt;br /&gt;&lt;br /&gt;alert('Start Buzz');&lt;br /&gt;&lt;br /&gt;for(i=0;i&amp;lt; 20;i++){&lt;br /&gt;window.moveTo(35,0);&lt;br /&gt;window.moveTo(0,0);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;lt; /script &amp;gt;&lt;br /&gt;&amp;lt; /body &amp;gt;&lt;br /&gt;&amp;lt; /html &amp;gt;&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115676434496961765?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115676434496961765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115676434496961765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115676434496961765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115676434496961765'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/08/buzzz-effect-using-javascript.html' title='Buzzz... effect using javascript'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115676333372234120</id><published>2006-08-28T16:35:00.000+05:30</published><updated>2007-02-24T01:37:24.605+05:30</updated><title type='text'>Load an img frm jar file...</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;If u hav ur class files and image files in a jar file then u can access the images using ClassLoader. ClassLoader loads the specified resource in the jar file.&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;// Get current classloader&lt;/em&gt;&lt;br /&gt;ClassLoader cl = this.getClass().getClassLoader();&lt;br /&gt;&lt;em&gt;// Create icons&lt;/em&gt;&lt;br /&gt;Icon firstIcon = new ImageIcon(cl.getResource("images/one.gif"));&lt;br /&gt;Icon secondIcon = new ImageIcon(cl.getResource("images/two.gif"));&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115676333372234120?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115676333372234120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115676333372234120' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115676333372234120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115676333372234120'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/08/load-img-frm-jar-file.html' title='Load an img frm jar file...'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115494190765903194</id><published>2006-08-07T14:36:00.000+05:30</published><updated>2007-02-24T01:37:53.991+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='animation marquee user action start on focus stop off focus html javascript'/><title type='text'>Stop n Start Marquee ...</title><content type='html'>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;table width=200&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;&amp;lt;marquee id="marquee1" onMouseOut=marquee1.start(); onMouseOver=marquee1.stop(); scrollamount="1" behavior="scroll" direction="up" height="250" width="100%"&amp;gt;&lt;br /&gt;&amp;lt;font face=verdana size=2&amp;gt;&lt;br /&gt;&amp;lt;b&amp;gt;I will stop if u place ur mouse on me&amp;lt;br&amp;gt;&lt;br /&gt;So simple....&amp;lt;br&amp;gt;&lt;br /&gt;HOwz this.. do u like this...&amp;lt;br&amp;gt;&lt;br /&gt;send ur comments thru my blog if u find this interesting... &lt;a href="http://www.tezcols.blogspot.com/"&gt;http://www.tezcols.blogspot.com&lt;/a&gt;&lt;br /&gt;&amp;lt;/font&amp;gt;&lt;br /&gt;&amp;lt;/marquee&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115494190765903194?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115494190765903194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115494190765903194' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115494190765903194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115494190765903194'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/08/stop-n-start-marquee.html' title='Stop n Start Marquee ...'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115493464598751917</id><published>2006-08-07T12:37:00.000+05:30</published><updated>2007-02-24T01:38:20.675+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='go to beginning of page scroll to top html javascript'/><title type='text'>Scroll ur HTML page to the top...</title><content type='html'>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;U can &lt;strong&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;scroll to the beginning of ur page&lt;/span&gt;&lt;/strong&gt; by using this line at any location in ur HTML page.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&amp;lt; a href='#' onClick="window.scrollTo(0,0);return false;" &amp;gt; top &amp;lt; /a &amp;gt;&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115493464598751917?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115493464598751917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115493464598751917' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115493464598751917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115493464598751917'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/08/scroll-ur-html-page-to-top.html' title='Scroll ur HTML page to the top...'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115441150336932142</id><published>2006-08-01T11:18:00.000+05:30</published><updated>2007-02-24T01:38:44.363+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='dont move background hrml fixed background big large html pages'/><title type='text'>4 pals who design long HTML pages</title><content type='html'>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;br /&gt;Hope u observed that if u hav a HTML page with a length greater than the screen size then u need to scroll down to reach the end of the page.In such cases if u have a background image for ur web/html page then the background image will also scroll with the data.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 51, 204);"&gt;&lt;strong&gt;body background="abc.jpeg"&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is a tip to &lt;strong&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;avoid scrolling of image&lt;/span&gt;&lt;/strong&gt;.Only the data on the page will be scrolled.This appears as if u hav a seperate layer for data.&lt;br /&gt;&lt;br /&gt;This can be done by adding &lt;strong&gt;'bgproperties'&lt;/strong&gt; property in the body tag.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);font-family:verdana;font-size:85%;"  &gt;&lt;strong&gt;body background="abc.jpeg" bgproperties="fixed"&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: rgb(153, 51, 153);font-family:Verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:Verdana;font-size:85%;"  &gt;thts it....  send me ur comments... bye&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115441150336932142?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115441150336932142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115441150336932142' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115441150336932142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115441150336932142'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/07/4-pals-who-design-long-html-pages.html' title='4 pals who design long HTML pages'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115399976272938389</id><published>2006-07-27T16:52:00.000+05:30</published><updated>2007-02-24T01:39:19.281+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='avoid right click on web page dont show context menu no right click'/><title type='text'>Do u wanna avoid right click on ur web page</title><content type='html'>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Its damn easy... &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Use &lt;span style="color: rgb(204, 51, 204);"&gt;&lt;strong&gt;oncontextmenu="return false" &lt;/strong&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;in body tag... &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;thts it... kooooooolllll....&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:0;"&gt;&lt;span style="color: rgb(204, 51, 204);"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115399976272938389?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115399976272938389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115399976272938389' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115399976272938389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115399976272938389'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/07/do-u-wanna-avoid-right-click-on-ur-web.html' title='Do u wanna avoid right click on ur web page'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115354519714667867</id><published>2006-07-22T10:24:00.000+05:30</published><updated>2007-02-24T01:40:32.270+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='create digital certificate  java swing applet'/><title type='text'>Lets create a Digital Certificate...</title><content type='html'>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;• Create all Classes and say they r in a directory named XYZ &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;• Change to XYZ directory in command prompt&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;• Now create a .jar file for the classes compiled&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);font-family:verdana;font-size:85%;"  &gt;&lt;strong&gt;&lt;em&gt;jar cvf (name of the jar file) (contents to be added to the jar)&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: rgb(204, 51, 204);"&gt;jar cvf test.jar &lt;span style="font-size:100%;"&gt;.&lt;/span&gt; ([DOT] means all the contents in the current directory will be considered )&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;Result : Now a new file named test.jar will be created in XYZ directory&lt;/span&gt;&lt;/strong&gt;&lt;appdir&gt;&lt;br /&gt;&lt;br /&gt;• Now a keystore is to be generated so that the keys (cyptology) and the details of the certificate can be stored in it. We can do this with the help of keytool .&lt;/appdir&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color: rgb(255, 0, 0);font-family:verdana;font-size:85%;"  &gt;&lt;strong&gt;&lt;em&gt;keytool -genkey -alias (alias name for the keystore) –keypass (password to access private key stored in the keystore) -keystore (name of the keystore) -storepass (password to access the keystore)&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: rgb(204, 51, 204);"&gt;keytool -genkey -alias testalias –keypass testkpass -keystore teststore -storepass testspass&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;-genkey - Generate Keys&lt;br /&gt;-alias - Alias name for the key store&lt;br /&gt;–keypass - Password to access the private key&lt;br /&gt;-keystore - Name of the key store&lt;br /&gt;-storepass - Password to access the keystore&lt;br /&gt;&lt;br /&gt;The following details will be asked after executing the preceding statement. The details entered will be displayed in the digital certificate generated in further steps.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;br /&gt;What is your first and last name? [Unknown]: Tez K N V&lt;br /&gt;What is the name of your organizational unit? [Unknown]: Software Dev&lt;br /&gt;What is the name of your organization? [Unknown]: SSS&lt;br /&gt;What is the name of your City or Locality? [Unknown]: Hyderabad&lt;br /&gt;What is the name of your State or Province? [Unknown]: AP&lt;br /&gt;What is the two-letter country code for this unit? [Unknown]: IN&lt;br /&gt;Is &lt;cn=tez ou="Software" o="K2," l="Hyderabad," st="AP," c="IN"&gt;&lt;br /&gt;correct? [no]: y&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;Result : A new keystore file will be generated with the name teststore in XYZ directory&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;• Next step is to sign the .jar file (test.jar) created.&lt;br /&gt;This can be done with the help of jarsigner&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;jarsigner -keystore (name of the keystore) &lt;keystore&gt;-signedjar (name of the signed jar file to be created) (name of the jar file created in the preceding steps) &lt;signed&gt;&lt;jar&gt;&lt;alias&gt;&lt;/alias&gt;&lt;/jar&gt;&lt;/signed&gt;&lt;/keystore&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: rgb(204, 51, 204);"&gt;jarsigner -keystore teststore -signedjar &lt;span style="color: rgb(102, 51, 51);"&gt;stest.jar&lt;/span&gt; &lt;span style="color: rgb(153, 51, 0);"&gt;test.jar&lt;/span&gt; signFiles&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You will be prompted for the key store password (testspass) and the private key password (testkpass).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;Result : A signed jar file with the name stest.jar will be created&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• Now we are ready to Export the Public Key Certificate &lt;/cn=tez&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;strong&gt;&lt;em&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;keytool -export -keystore (name of the keystore) &lt;name&gt;-alias (alias name of the keystore) &lt;alias&gt;-file (name of the digital certificate)&lt;name&gt;&lt;/name&gt;&lt;/alias&gt;&lt;/name&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;span style="color: rgb(204, 51, 204);"&gt;&lt;strong&gt;keytool -export -keystore teststore -alias testalias -file Certified.cer&lt;/strong&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;br /&gt;You will be prompted for the store password (testspass).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;Result : A publc key certificate will be created with the name Certified.cer&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: rgb(102, 102, 204);"&gt;UR digital certificate&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="color: rgb(102, 102, 204);"&gt; is now ready in XYS directory with the name Certified.cer&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;tezcols&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115354519714667867?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115354519714667867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115354519714667867' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115354519714667867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115354519714667867'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/07/lets-create-digital-certificate.html' title='Lets create a Digital Certificate...'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115287111787235862</id><published>2006-07-14T15:20:00.000+05:30</published><updated>2007-02-24T01:40:51.730+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='what is digital certificate explain breif java'/><title type='text'>Do u know wht a Digital Certificate is ... ?</title><content type='html'>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;When an online process needs to manipulate the resources at the computer of internet user, an exception will be raised and the operation will be failed.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Ex: File operations at the system of internet user will lead to failure of the process. Not just file operations, there r many more like this..mmmmm... accessing a resource from another server... using operating system procedures at the internet user etc ....&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;A Certificate can be issued at the internet user's computer.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Following is an image of a digital certificate created in java...&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/4085/3329/1600/digcert.jpg"&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;img style="margin: 0px auto 10px; display: block; width: 409px; height: 256px; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/4085/3329/320/digcert.jpg" border="0" height="220" width="366" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;br /&gt;When any of the processes related to operations mentioned above (Processes which may fail accessing resources at internet user) are executed, a digital certificate will be shown to the internet user if available in the server. The processes will be completed successfully if the internet user accepts the certificate.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Verisign is one of the famous organizations that helps internet users to find out whether accepting digital cerificate is secured or not by certifying digital certificates.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;U can find the local security settings at &lt;strong&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;JAVA_HOME\jre\lib\security\java.policy&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: rgb(255, 0, 0);font-family:Verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:Verdana;font-size:85%;"  &gt;I will tell u how to create a digital certificate in another article.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;Let me know u read this article... send ur comments.. bye&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115287111787235862?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115287111787235862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115287111787235862'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/07/do-u-know-wht-digital-certificate-is.html' title='Do u know wht a Digital Certificate is ... ?'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115269564761374470</id><published>2006-07-12T14:41:00.000+05:30</published><updated>2007-02-24T01:41:27.638+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='robot mouse keyboard automatic java robot class'/><title type='text'>The Java Robot....</title><content type='html'>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;hav u ever heard abt this...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;'Controlling a computer with a java program.&lt;/strong&gt;...'&lt;br /&gt;&lt;br /&gt;Is that possible... ?&lt;br /&gt;&lt;br /&gt;This is what we do with the great &lt;strong&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;Robot&lt;/span&gt;&lt;/strong&gt; class in java...&lt;br /&gt;&lt;br /&gt;Try out the program given below...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;u need not install any software other than java...&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I designed the following program on Windows 2000 Professional with a screen resolution of 1024 x 768 pixels...&lt;br /&gt;&lt;br /&gt;U may need to change the coordinate values in the following program if u are using 800 x 600 pixels resolution...&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 51, 204);"&gt;import java.awt.Robot;&lt;br /&gt;import java.awt.event.InputEvent; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;/**&lt;br /&gt;* @author Tez K N V&lt;br /&gt;* A program that clicks Start button in windows without user interaction..&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;public class Robo {&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;* magic is an object of type java.awt.Robot&lt;br /&gt;*/&lt;br /&gt;Robot magic=null;&lt;br /&gt;public Robo() {&lt;br /&gt;try{&lt;br /&gt;magic=new Robot();&lt;br /&gt;/**&lt;br /&gt;* The next two lines move the mouse to the specified coordinates on the screen...&lt;br /&gt;* and presses the mouse button to click the start button...&lt;br /&gt;* */&lt;br /&gt;magic.mouseMove(15,755);&lt;br /&gt;magic.mousePress(InputEvent.BUTTON1_MASK);&lt;br /&gt;}catch(Exception e){&lt;br /&gt;e.printStackTrace();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static void main(String[] args) {&lt;br /&gt;new Robo();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Not just moving and clicking... u can also type with ur robot.. u can capture ur desktop... &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Extension of this concept makes Remote Desktop Sharing possible... (Accessing the desktop of another computer...)&lt;br /&gt;&lt;br /&gt;If u need any help.... feel free to ask me...&lt;br /&gt;&lt;br /&gt;bye...&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115269564761374470?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115269564761374470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115269564761374470' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115269564761374470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115269564761374470'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/07/java-robot.html' title='The Java Robot....'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30951729.post-115260090975217137</id><published>2006-07-11T11:05:00.000+05:30</published><updated>2007-05-26T00:13:20.956+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='auto search webpage google technique customize search ready to use html'/><title type='text'>Use Google Search Technique exclusively for your website...</title><content type='html'>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;hi&lt;br /&gt;&lt;br /&gt;i thought of a problem many times... I askd many of my frnz.... but I couldn't get the solution... n now i hav the solution...&lt;br /&gt;&lt;br /&gt;This is my Q...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;If I have a website with a lot of stuff....so many pages... so many categories....&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Actually i got this problem when i started building a website...&lt;br /&gt;&lt;br /&gt;that website will hav humongous amount of pages.... different dishes tht can be made in ur kitchen....&lt;br /&gt;&lt;br /&gt;If a user visits the website.... and wants to search for some item say preparing chapati.... they need to search it manually by looking at all the links... thts really a bad solution.... so wht can we do...&lt;br /&gt;&lt;br /&gt;yep... u r right... v shud provide a search box.... &lt;strong&gt;coollllllllll.........&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;but how can v write an algorithm to search all our pages depending on the search key provided by the user.... its not tht easy....&lt;br /&gt;&lt;br /&gt;hey cooolllllllll..... thts the reaon i posted this article...&lt;br /&gt;&lt;br /&gt;google... helps us.... u can link to google for searching exclusively in your website...&lt;br /&gt;&lt;br /&gt;the search will not include results of any other external websites.....&lt;br /&gt;&lt;br /&gt;google wil search only in your website (site in which u provided search box)... &lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;this is the code u can use in ur pages...&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;change the value of &lt;strong&gt;sitesearch &lt;/strong&gt;to the website u desire google to search in...&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;thts it.. its ready...&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;form method='get' action='http://www.google.com/search'&amp;gt;&lt;br /&gt;&amp;lt;div style='border:1px solid black;  padding:4px;  width:20em;  '&amp;gt; &lt;br /&gt;&amp;lt;table border='0' cellpadding='0'&amp;gt; &lt;br /&gt;&amp;lt;tr&amp;gt;   &amp;lt;td&amp;gt; &lt;br /&gt;&amp;lt;input type='text' name='q' size='25' maxlength='255' value=''&amp;gt;&lt;br /&gt;&amp;lt;input type='submit' value='Google Search'&amp;gt;   &amp;lt;/td&amp;gt;   &amp;lt;/tr&amp;gt;   &lt;br /&gt;&amp;lt;tr&amp;gt;   &amp;lt; td align='center' style='font-size:75%'&amp;gt;&lt;br /&gt;&amp;lt;input type='checkbox' name='sitesearch' value='anusharaji.com' checked /&amp;gt; only search anusharaji&lt;br /&gt;&amp;lt;/td&amp;gt;  &amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;  &lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;tezcols&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30951729-115260090975217137?l=tezcols.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tezcols.blogspot.com/feeds/115260090975217137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30951729&amp;postID=115260090975217137' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115260090975217137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30951729/posts/default/115260090975217137'/><link rel='alternate' type='text/html' href='http://tezcols.blogspot.com/2006/07/use-google-search-technique.html' title='Use Google Search Technique exclusively for your website...'/><author><name>Tez</name><uri>http://www.blogger.com/profile/08142036636438401357</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://images3.orkut.com/images/medium/377/34985377.jpg'/></author><thr:total>0</thr:total></entry></feed>
