<?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:blogger='http://schemas.google.com/blogger/2008' 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-705873143489600519</id><updated>2024-08-28T02:36:09.516-07:00</updated><category term="OOPS"/><category term="Bat Files"/><category term="Cloud"/><category term="Attitude quotes"/><category term="Computers"/><title type='text'>Srivasta</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kprkc.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-6274791816157813318</id><published>2013-01-06T05:53:00.000-08:00</published><updated>2013-01-06T05:55:42.284-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OOPS"/><title type='text'>What is System.out.println</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify; text-justify: inter-ideograph;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;What
is System.out.println&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;System.out.println
prints the argument passed, into the System.out which is generally stdout.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt; mso-list: l1 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;System – is a final class and
     cannot be instantiated. Therefore all its memebers (fields and methods)
     will be&lt;span style=&quot;color: windowtext; mso-bidi-font-size: 11.0pt; text-decoration: none; text-underline: none;&quot;&gt;static&lt;/span&gt;&lt;span style=&quot;color: windowtext; font-size: 12.0pt; text-decoration: none; text-underline: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;and we understand that it is an utility class. As
     per javadoc, “…Among the facilities provided by the&lt;/span&gt;&lt;span style=&quot;font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Courier New&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;System&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;class are
     standard input, standard output, and error output streams; access to
     externally defined properties and environment variables; a means of
     loading files and libraries; and a utility method for quickly copying a
     portion of an&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;color: windowtext; mso-bidi-font-size: 11.0pt; text-decoration: none; text-underline: none;&quot;&gt;array&lt;/span&gt;…”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt; mso-list: l1 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;out – is a static member field of&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;color: windowtext; mso-bidi-font-size: 11.0pt; text-decoration: none; text-underline: none;&quot;&gt;System&lt;/span&gt;&lt;span style=&quot;color: windowtext; font-size: 12.0pt; text-decoration: none; text-underline: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;class and is of type&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;color: windowtext; mso-bidi-font-size: 11.0pt; text-decoration: none; text-underline: none;&quot;&gt;PrintStream&lt;/span&gt;.
     Its&lt;span style=&quot;color: windowtext; font-size: 12.0pt; text-decoration: none; text-underline: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: windowtext; mso-bidi-font-size: 11.0pt; text-decoration: none; text-underline: none;&quot;&gt;access specifiers&lt;/span&gt;&lt;span style=&quot;color: windowtext; font-size: 12.0pt; text-decoration: none; text-underline: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;are
     public&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;color: windowtext; mso-bidi-font-size: 11.0pt; text-decoration: none; text-underline: none;&quot;&gt;final&lt;/span&gt;.
     This gets instantiated during startup and gets mapped with standard output
     console of the host. This stream is open by itself immediately after its
     instantiation and ready to accept data. When running a program from
     windows command line, it is the standard console.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt; mso-list: l1 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;println – println prints the
     argument passed to the standard console and a newline. There are multiple
     println methods with different arguments (&lt;span style=&quot;color: windowtext; mso-bidi-font-size: 11.0pt; text-decoration: none; text-underline: none;&quot;&gt;overloading&lt;/span&gt;).
     Every println makes a call to&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Courier New&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;print&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;method and adds
     a newline.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Courier New&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;print&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;calls&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Courier New&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;write()&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;and the story
     goes on like that.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-no-proof: yes;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype
 id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot;
 path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;Picture_x0020_1&quot; o:spid=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot;
 alt=&quot;http://javapapers.com/wp-content/uploads/2012/04/System.png&quot; style=&#39;width:303.75pt;
 height:204.75pt;visibility:visible;mso-wrap-style:square&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\Users\Srivasta\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png&quot;
  o:title=&quot;System&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;http://javapapers.com/wp-content/uploads/2012/04/System.png&quot; border=&quot;0&quot; height=&quot;273&quot; src=&quot;file:///C:/Users/Srivasta/AppData/Local/Temp/msohtmlclip1/01/clip_image002.gif&quot; v:shapes=&quot;Picture_x0020_1&quot; width=&quot;405&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Change
out of System.out.println&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;‘out’ object can be
customized. out gets initialized by&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;color: windowtext; mso-bidi-font-size: 11.0pt; text-decoration: none; text-underline: none;&quot;&gt;java runtime
environment&amp;nbsp;&lt;/span&gt;at startup and it can be changed by developer
during execution. Instead of standard output, in default cases when you run a
program through command line, the output is printing in the same command
window. We can change that behavior using&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Courier New&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;setOut&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;method as below. In
the following example, I have redirected the output to a text file in the same
directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in; mso-yfti-tbllook: 1184; width: 503px;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;padding: 0in 0in 0in 0in; width: 377.25pt;&quot; width=&quot;503&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ChangeOut
  {&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;public&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;static&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;main(String
  args[]) {&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.setOut(new&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;PrintStream(new&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;FileOutputStream(&quot;log.txt&quot;)));&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(&quot;Now
  the output is redirected!&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} catch(Exception
  e) {}&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;System.out.println
vs loggers like Log4j&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Log4J has mulitple
levels for logging. If we are writing a real short program, just for
experimental/learning purposes SOPs are fine. When we are developing a
production quality software project, we should be aware that a professional
logger should be used and SOPs should be avoided. Why?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt; mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Flexibility: a professional logger
     like&lt;span style=&quot;color: windowtext; mso-bidi-font-size: 11.0pt; text-decoration: none; text-underline: none;&quot;&gt;&amp;nbsp;log4j provides different
     levels&amp;nbsp;&lt;/span&gt;for logging. We can seggregate the log message
     accordingly. For example, X messages should be printed only on PRODUCTION,
     Y messages should be printed on ERROR, etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt; mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Configurability: in just one
     parameter change we can switch off all the logging statements.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt; mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Maintainability: imagine if we
     have hundreds of SOPs littered all through the application, it would be
     difficult to maintain the program over a period.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt; mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Granularity: In an application,
     every single class can have a different logger and controlled accordingly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt; mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Utility: Option for redirecting
     the message is limited in System.out, but in case of a logger you have
     appenders which provides numerous options. We can even create a custom
     ouput option and redirect it to that.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: 15.75pt; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;i&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Having said all the above, we still use
System.out.println for logging and debugging. Which should be strictly avoided.
This is driven by (bad)habit. I want to share how a habit became a convention.
In this case its a good habit. Its using ‘i’, ‘j’ as index in for-loop. In
FORTRAN language, we need not declare integer variables. Variable names that
start with i, j, k, l, m and n are integer variables. So, FORTRAN developers
named for-loop index with i,j,k and that habit carried on to other languages.
Just a habit and became a good convention!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #223344; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 18.0pt; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;System.out.println and
Performance&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 15.75pt; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;There is a general notion that SOPs are bad in performance. When
we analyze deeply, the sequence of calls are like println -&amp;gt; print -&amp;gt;
write() + newLine(). This sequence flow is an implementation of Sun/Oracle JDK.
Both write() and newLine() contains a&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier; font-size: 10pt;&quot;&gt;synchronized&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;block.
Synchronization has a little overhead, but more than that the cost of adding
characters to the buffer and printing is high.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 15.75pt; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;When we run a performance analysis, run multiple number of SOP and
record the time, the execution duration increases proportionally. Performance
degrades when we print more that 50 characters and print more than 50,000
lines.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 15.75pt; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;It all depends on the scenario we use it. Whatever may be the
case, do not use System.out.println for logging to stdout.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #223344; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 18.0pt; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Static Import to Shorten
SOP&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: 15.75pt; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Someone complained that System.out.println is a loooong statement
to print something.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: #53d236;&quot;&gt;static &lt;/span&gt;&lt;span style=&quot;color: #53d236; text-decoration: none; text-underline: none;&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;color: #53d236; mso-bidi-font-size: 11.0pt; text-decoration: none; text-underline: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;may shorten it a bit but it is not recommended, because
it results in poor readability. I am just using this situation to explain
static import and avoid using it in the below scenario.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in; mso-yfti-tbllook: 1184; width: 409px;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;padding: 0in 0in 0in 0in; width: 306.75pt;&quot; width=&quot;409&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;static&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;java.lang.System.out;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ShortSOP
  {&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;static&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;main(String[]
  args) {&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;out.println(&quot;Hello,
  world&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: 15.75pt; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;In Eclipse you have programmed&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: #53d236; text-decoration: none; text-underline: none;&quot;&gt;shortcuts&lt;/span&gt;&lt;span style=&quot;color: #53d236; mso-bidi-font-size: 11.0pt; text-decoration: none; text-underline: none;&quot;&gt;&amp;nbsp;&lt;/span&gt;like
ctrl + spac to help you out.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #223344; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 18.0pt; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &amp;quot;Trebuchet MS&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;System.err and System.in&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: 15.75pt; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;As a related section, I wish to discuss about ‘err’ and ‘in’. ‘in’
is associated with InputStream. Opposite to ‘out’, ‘in’ is used to get input
from standard console generally keyboard.&lt;br /&gt;
‘err’ is associated with PrintStream and prints the argument to the standard
error output stream. When you use eclipse kind of IDE you can see the differene
in ouput between ‘out’ and ‘err’.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in; mso-yfti-tbllook: 1184; width: 409px;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;padding: 0in 0in 0in 0in; width: 306.75pt;&quot; width=&quot;409&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;InOutErr
  {&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;static&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;main(String
  args[]) {&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;try&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;
  &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;BufferedReader reader = new&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;BufferedReader(System.in);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;String filename =
  reader.readLine();&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;InputStream input =
  new&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;FileInputStream(filename);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;System.out.println(&quot;File
  opened...&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;} catch&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;(IOException
  e){&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;System.err.println(&quot;Where
  is that file?&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;width: 409px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;padding: 0in 0in 0in 0in; width: 306.75pt;&quot; width=&quot;409&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/6274791816157813318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/6274791816157813318'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2013/01/what-is-systemoutprintln.html' title='What is System.out.println'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-4642044973934766471</id><published>2012-07-20T06:33:00.000-07:00</published><updated>2012-07-20T06:33:44.440-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OOPS"/><title type='text'>Performance Monitoring in Cloud Systems</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;Performance
Monitoring in Cloud Systems &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 14pt; line-height: 115%;&quot;&gt;Cloud computing
promotes the idea of utility computing by enabling scaling of resources based
on demand. The basic premise on which cloud economics is built on is sharing of
resources amongst multiple users, based on the requirement. Many cloud
solutions are adopting virtualization as the enabling technology to support
cloud services on-demand. To enable features like real-time responsiveness to
applications on clouds with desired security and privacy, the cloud system
architecture must support isolation properties on shared resources. Current
system virtualization architectures do not support concurrency on all system
resources. As a result, different virtualization architectures introduce
differences in resource utilization for different workloads. In this talk, a
brief introduction to system virtualization architectures is given with a view
towards explaining the impact on application performance, specifically the I/O
workloads. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 14pt; line-height: 115%;&quot;&gt;Moving applications
from non-virtualized to virtualized platforms could change the resource
requirements, particularly for I/O workloads, to achieve equivalent
performance. This change depends significantly on the virtualization
architecture used. Hence, to measure the impact on an application, it is
mandatory to have appropriate monitoring tools as well as frameworks on the
cloud systems that can give fine-grained information on not just the resources
used but also, application specific metrics. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 14pt; line-height: 115%;&quot;&gt;Monitoring of
infrastructural resources in clouds plays a crucial role in providing application
guarantees like performance, availability, and security. Monitoring is
important from two perspectives - the cloud-user and the service provider. The
cloud user&#39;s interest is in doing an analysis to arrive at appropriate
Service-level agreement (SLA) demands and the cloud provider&#39;s interest is to
assess if the demand can be met. To support this, a monitoring framework is
necessary particularly since cloud hosts are subject to varying load
conditions. To illustrate the importance of such a framework, in this talk an
example of performance being the Quality of Service (QoS) requirement is
illustrated to show how inappropriate provisioning of resources may lead to
unexpected performance bottlenecks. Existing monitoring frameworks are examined
to bring out the motivation for building much more powerful monitoring
frameworks. The talk concludes with a discussion on proposed distributed
monitoring framework, which enables fine grained monitoring for applications. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 14pt; line-height: 115%;&quot;&gt;&amp;nbsp;By&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.75pt; margin-right: 374.5pt; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;height: 1056px; margin-left: 0px; margin-top: 0px; position: absolute; width: 816px; z-index: -1;&quot;&gt;&lt;img height=&quot;1056&quot; src=&quot;file:///C:/Users/Srivasta/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg&quot; v:shapes=&quot;_x0000_s1026&quot; width=&quot;816&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt; letter-spacing: -0.55pt;&quot;&gt;J Lakshmi &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.05pt; margin-right: 281.9pt; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-size: 14pt; letter-spacing: -0.2pt;&quot;&gt;Principal Research Scientist, &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Times New Roman&#39;, serif; font-size: 14pt; letter-spacing: -0.2pt;&quot;&gt;SERC, Indian Institute of Science, &lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Times New Roman&#39;, serif; font-size: 14pt; letter-spacing: -0.3pt;&quot;&gt;Bangalore - 12, India&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 14pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/4642044973934766471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/4642044973934766471'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/07/performance-monitoring-in-cloud-systems.html' title='Performance Monitoring in Cloud Systems'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-5725832200474925589</id><published>2012-06-26T09:37:00.001-07:00</published><updated>2012-06-26T09:40:19.135-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OOPS"/><title type='text'>j2me-2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
j2me part -2&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; margin: 7.5pt 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #222222; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Definitions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: .5in;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Java Platform, Micro Edition, or Java ME, is a
Java platform designed for mobile devices and embedded systems. Target devices
range from industrial controls to mobile phones (especially feature phones) and
set-top boxes. Java ME was formerly known as Java 2 Platform, Micro Edition
(J2ME).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify; text-indent: 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Sun
Microsystems defines J2ME as &quot;a highly optimized Java run-time environment
targeting&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;a wide range of
consumer products, including pagers, cellular phones, screen-phones, digital
set-top boxes and car navigation systems.&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify; text-indent: 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Announced
in June 1999 at the Java One Developer Conference, J2ME brings the
cross-platform functionality of the Java language to smaller devices, allowing
mobile wireless devices to share applications. With J2ME, Sun has adapted the
Java platform for consumer products that incorporate or are based on small
computing devices.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify; text-indent: 0.5in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background: #FAFAFA; border: solid #DEDEDE 1.0pt; mso-border-alt: solid #DEDEDE .75pt; mso-element: para-border-div; padding: 8.0pt 14.0pt 4.0pt 14.0pt;&quot;&gt;
&lt;h3 style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; line-height: 12pt; margin-top: 0in; padding: 0in; vertical-align: baseline;&quot;&gt;

&lt;span style=&quot;border: 1pt none windowtext; color: #363636; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; font-weight: normal; padding: 0in;&quot;&gt;Differences Between&amp;nbsp; Java and &amp;nbsp;J2ME&lt;/span&gt;&lt;span style=&quot;color: #363636; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; margin: 7.5pt 0in;&quot;&gt;
&lt;b style=&quot;line-height: 13.5pt; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; padding: 0in;&quot;&gt;Major Differences are :&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0.0001pt; text-indent: -0.25in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Floating-point
math is missing in J2ME&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;.
MIDlet cannot use any floating-point data types or calculations.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0.0001pt; text-indent: -0.25in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Absence
of finalize()&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&amp;nbsp;method in J2ME.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0.0001pt; text-indent: -0.25in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Reduced
number of error-handling exceptions&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&amp;nbsp;in J2ME.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0.0001pt; text-indent: -0.25in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;JVM for small computing
devices requires a&amp;nbsp;&lt;b&gt;custom class loader&lt;/b&gt;&amp;nbsp;that is supplied by the
device manufacturer and cannot be replaced or modified.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0.0001pt; text-indent: -0.25in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;We&amp;nbsp;&lt;b&gt;cannot group
threads&lt;/b&gt;. All threads are handled at the object level.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0.0001pt; text-indent: -0.25in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;The&amp;nbsp;&lt;b&gt;class file
verification&lt;/b&gt;&amp;nbsp;is replaced with two processes called&amp;nbsp;&lt;b&gt;Preverificaton&lt;/b&gt;&amp;nbsp;and&lt;b&gt;Validation&lt;/b&gt;.
Preverification occurs prior to loading the MIDLet’s and Validation occurs
after loading the MIDLet.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/5725832200474925589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/5725832200474925589'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/06/j2me-part-2-definitions-java-platform.html' title='j2me-2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-718217821186663115</id><published>2012-06-15T23:17:00.002-07:00</published><updated>2012-06-15T23:18:24.538-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OOPS"/><title type='text'>j2me</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Part-1&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-family: Arial, Helvetica; font-size: 13px; text-align: -webkit-auto;&quot;&gt;
&lt;/div&gt;
&lt;table bgcolor=&quot;ccffcc&quot; cellpadding=&quot;4&quot; style=&quot;color: black; font-size: 10pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;font-size: 10pt;&quot;&gt;&lt;td style=&quot;font-size: 10pt;&quot;&gt;&lt;b&gt;Which company was behind creating and maintaining Java?&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;ul style=&quot;background-color: white; font-family: Arial, Helvetica; font-size: 13px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;Sun Microsystems&lt;/span&gt;. Their Java website: java.sun.com&lt;/ul&gt;
&lt;table bgcolor=&quot;ccffcc&quot; cellpadding=&quot;4&quot; style=&quot;color: black; font-family: Arial, Helvetica; font-size: 10pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;font-size: 10pt;&quot;&gt;&lt;td style=&quot;font-size: 10pt;&quot;&gt;&lt;img align=&quot;absmiddle&quot; height=&quot;6&quot; src=&quot;http://www.funtrivia.com/img/i/vs_red.gif&quot; width=&quot;11&quot; /&gt;&lt;b&gt;What was the original name for Java?&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;ul style=&quot;background-color: white; font-family: Arial, Helvetica; font-size: 13px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;Oak&lt;/span&gt;. Yes, it was Oak. Allegedly because of a big oak tree that grew outside the developer&#39;s window. It was eventually changed to Java by Sun&#39;s marketing department.&lt;/ul&gt;
&lt;table bgcolor=&quot;ccffcc&quot; cellpadding=&quot;4&quot; style=&quot;color: black; font-family: Arial, Helvetica; font-size: 10pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;font-size: 10pt;&quot;&gt;&lt;td style=&quot;font-size: 10pt;&quot;&gt;&lt;img align=&quot;absmiddle&quot; height=&quot;6&quot; src=&quot;http://www.funtrivia.com/img/i/vs_red.gif&quot; width=&quot;11&quot; /&gt;&lt;b&gt;What is the name of the inventor (or father) of Java?&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;ul style=&quot;background-color: white; font-family: Arial, Helvetica; font-size: 13px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;James Gosling&lt;/span&gt;. Bjarne Stroustroup invented C++, Dennis Ritchie invented C, and Bill Gates invented nothing. Yet, whose the richest of the bunch?&lt;/ul&gt;
&lt;table bgcolor=&quot;ccffcc&quot; cellpadding=&quot;4&quot; style=&quot;color: black; font-family: Arial, Helvetica; font-size: 10pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;font-size: 10pt;&quot;&gt;&lt;td style=&quot;font-size: 10pt;&quot;&gt;&lt;img align=&quot;absmiddle&quot; height=&quot;6&quot; src=&quot;http://www.funtrivia.com/img/i/vs_red.gif&quot; width=&quot;11&quot; /&gt;&lt;b&gt;Java code that is embedded as a small application in a web page is called a(n)...?&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;ul style=&quot;background-color: white; font-family: Arial, Helvetica; font-size: 13px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;Applet&lt;/span&gt;. Applets were Java&#39;s original claim to fame and led to its popularity. The technology has gone way beyond applets since Java&#39;s inception.&lt;/ul&gt;
&lt;table bgcolor=&quot;ccffcc&quot; cellpadding=&quot;4&quot; style=&quot;color: black; font-family: Arial, Helvetica; font-size: 10pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;font-size: 10pt;&quot;&gt;&lt;td style=&quot;font-size: 10pt;&quot;&gt;&lt;img align=&quot;absmiddle&quot; height=&quot;6&quot; src=&quot;http://www.funtrivia.com/img/i/vs_red.gif&quot; width=&quot;11&quot; /&gt;&lt;b&gt;Java can run on any computer platform that has a ...?&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;ul style=&quot;background-color: white; font-family: Arial, Helvetica; font-size: 13px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;Java Virtual Machine&lt;/span&gt;. The Virtual Machine (or VM) is a piece of software that interprets Java byte code into native code for whatever platform it is running on.&lt;/ul&gt;
&lt;table bgcolor=&quot;ccffcc&quot; cellpadding=&quot;4&quot; style=&quot;color: black; font-family: Arial, Helvetica; font-size: 10pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;font-size: 10pt;&quot;&gt;&lt;td style=&quot;font-size: 10pt;&quot;&gt;&lt;img align=&quot;absmiddle&quot; height=&quot;6&quot; src=&quot;http://www.funtrivia.com/img/i/vs_red.gif&quot; width=&quot;11&quot; /&gt;&lt;b&gt;The Java API intended for business and server 3-tier applications is called?&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;ul style=&quot;background-color: white; font-family: Arial, Helvetica; font-size: 13px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;Java 2, Enterprise Edition&lt;/span&gt;. Java 2, Enterprise Edition contains APIs for JDBC, JNDI, EJB, JSP, and Java servlets.&lt;/ul&gt;
&lt;table bgcolor=&quot;ccffcc&quot; cellpadding=&quot;4&quot; style=&quot;color: black; font-family: Arial, Helvetica; font-size: 10pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;font-size: 10pt;&quot;&gt;&lt;td style=&quot;font-size: 10pt;&quot;&gt;&lt;img align=&quot;absmiddle&quot; height=&quot;6&quot; src=&quot;http://www.funtrivia.com/img/i/vs_red.gif&quot; width=&quot;11&quot; /&gt;&lt;b&gt;What does AWT stand for?&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;ul style=&quot;background-color: white; font-family: Arial, Helvetica; font-size: 13px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;Abstract Window Toolkit&lt;/span&gt;. AWT was Java&#39;s first generation of a GUI API and is still used in applets and other applications.&lt;/ul&gt;
&lt;table bgcolor=&quot;ccffcc&quot; cellpadding=&quot;4&quot; style=&quot;color: black; font-family: Arial, Helvetica; font-size: 10pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;font-size: 10pt;&quot;&gt;&lt;td style=&quot;font-size: 10pt;&quot;&gt;&lt;img align=&quot;absmiddle&quot; height=&quot;6&quot; src=&quot;http://www.funtrivia.com/img/i/vs_red.gif&quot; width=&quot;11&quot; /&gt;&lt;b&gt;Which of the following keywords are found in Java but not in C++?&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;ul style=&quot;background-color: white; font-family: Arial, Helvetica; font-size: 13px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;final&lt;/span&gt;. final has three meanings: 1) final class- The class cannot be extended 2) Final method- the method cannot be overrriden 3) final field- The field is a constant&lt;/ul&gt;
&lt;table bgcolor=&quot;ccffcc&quot; cellpadding=&quot;4&quot; style=&quot;color: black; font-family: Arial, Helvetica; font-size: 10pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;font-size: 10pt;&quot;&gt;&lt;td style=&quot;font-size: 10pt;&quot;&gt;&lt;img align=&quot;absmiddle&quot; height=&quot;6&quot; src=&quot;http://www.funtrivia.com/img/i/vs_red.gif&quot; width=&quot;11&quot; /&gt;&lt;b&gt;Which of the following keywords are in C++ but not in Java?&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;ul style=&quot;background-color: white; font-family: Arial, Helvetica; font-size: 13px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;virtual&lt;/span&gt;. goto is actually a reserved word in Java. It doesn&#39;t do anything but it is specified that it cannot be used for an identifier.&lt;/ul&gt;
&lt;table bgcolor=&quot;ccffcc&quot; cellpadding=&quot;4&quot; style=&quot;color: black; font-family: Arial, Helvetica; font-size: 10pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;font-size: 10pt;&quot;&gt;&lt;td style=&quot;font-size: 10pt;&quot;&gt;&lt;img align=&quot;absmiddle&quot; height=&quot;6&quot; src=&quot;http://www.funtrivia.com/img/i/vs_red.gif&quot; width=&quot;11&quot; /&gt;&lt;b&gt;What is the name of the class that all Java classes inherit (directly or indirectly) from?&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;ul style=&quot;background-color: white; font-family: Arial, Helvetica; font-size: 13px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;Object&lt;/span&gt;.&amp;nbsp;&lt;/ul&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/718217821186663115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/718217821186663115'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/06/j2me.html' title='j2me'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-7151157294838902753</id><published>2012-04-16T09:49:00.001-07:00</published><updated>2012-04-16T09:49:07.951-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cloud"/><title type='text'>Cloud Security</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;Cloud Security Is ...&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
•The response to a familiar set of security challenges that manifest&amp;nbsp;differently in the cloud. New technologies and fuzzier boundaries &amp;nbsp;surrounding the data center require a different approach.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
•&amp;nbsp;A set of policies, technologies, and controls designed to&amp;nbsp;protect data and infrastructure from attack and enable&amp;nbsp;regulatory compliance.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
•Layered technologies that create a durable security net or grid.&amp;nbsp;Security is more effective when layered at each level of the stack&amp;nbsp;and integrated into a common management framework.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
•The joint responsibility of your organization and its cloud provider(s).&amp;nbsp;Depending on the cloud delivery model and services you deploy,&amp;nbsp;responsibility for security comes from both parties.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: red;&quot;&gt;Three Major Trends That Impact Cloud Security&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
To manage cloud security in
today’s world, you need a solution that helps you address threats to enterprise
data and infrastructure, including the major trends you are up against.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;Changing
attackers and threats&lt;/span&gt;:&amp;nbsp; Threats
are no longer the purview of isolated hackers looking for personal fame. More
and more, organized crime is driving well-resourced, sophisticated, targeted attacks
for financial gain.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;Evolving
architecture technologies:&lt;/span&gt; With the growth of virtualization, perimeters
and their controls within the datacenter are in flux, and Data is no longer
easily constrained or physically isolated and protected.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;Dynamic
and challenging regulatory environment&lt;/span&gt;&lt;span style=&quot;color: #7030a0;&quot;&gt;: &lt;/span&gt;Organizations—and their IT
departments—face on going burdens of legal and regulatory compliance with
increasingly prescriptive demands and the high penalties for noncompliance or
breaches. Examples of regulations include &amp;nbsp;Sarbanes-Oxley(SOX),&amp;nbsp; Payment Card Industry (PCI), and the Health
Insurance Portability and Accountability Act (HIPAA).&lt;span style=&quot;color: #7030a0;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;Cloud
Security Isn’t …&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #7030a0;&quot;&gt;•&lt;/span&gt;
A one-size-fits-all solution that can protect all your IT assets. In addition
to different cloud delivery models, the cloud services you deploy will most
likely require more than one approach to security.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
•A &amp;nbsp;closed-perimeter approach &amp;nbsp;or a “fill-the-gap” measure.
Organizations can no longer rely &amp;nbsp;on&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  firewalls as a single point of
control, and cobbling together security solutions to protect&amp;nbsp; a single vulnerability may leave you open in
places you&amp;nbsp; don’t suspect.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
•Something you can assume is
provided at the level you require by your cloud service providers. Make sure
you spell out and can verify what you require.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/7151157294838902753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/7151157294838902753'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/04/cloud-security.html' title='Cloud Security'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-92395820270942024</id><published>2012-04-16T09:33:00.001-07:00</published><updated>2012-04-16T09:50:26.531-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bat Files"/><title type='text'>searching ini Files Useing BAT file</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;Display all the files in C drive its very use full check once&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;save this file with .BAT&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;@echo off&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;echo blanking screen .......&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;cls&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;echo searching ini&#39;s&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;@dir c:\*.ini /s/w&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;echo .... Scared ?&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;pause&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/92395820270942024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/92395820270942024'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/04/searching-inis.html' title='searching ini Files Useing BAT file'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-7333466565784488607</id><published>2012-04-16T09:24:00.001-07:00</published><updated>2012-04-17T09:42:51.352-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OOPS"/><title type='text'>JSP Server pages</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b id=&quot;internal-source-marker_0.6780944697093219&quot; style=&quot;text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Cambria; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;img height=&quot;68px;&quot; src=&quot;https://lh3.googleusercontent.com/pf2Dj9-nkCEY38JCqAfO2yj1_gSdvJXSWHi10-UgWziO4IyiOkIcAeXugBexSD3xPIvif7qynB5_QYTkiDE-hLFkWtruftiJ872ohWfymEN2kEQ384I&quot; width=&quot;92px;&quot; /&gt;&lt;span style=&quot;color: #4f81bd; font-family: Cambria; font-size: 16px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;                                                                      &lt;/span&gt;&lt;/b&gt;
&lt;b id=&quot;internal-source-marker_0.6780944697093219&quot; style=&quot;text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Cambria; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The Department of Information Technology&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Cambria; font-size: x-small;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;KPR Krishnachaitanya&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Cambria; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Cambria; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b id=&quot;internal-source-marker_0.6780944697093219&quot; style=&quot;text-align: -webkit-auto;&quot;&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;b id=&quot;internal-source-marker_0.6780944697093219&quot; style=&quot;text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: red; font-size: 23px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Java Server Pages&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b id=&quot;internal-source-marker_0.6780944697093219&quot; style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;color: red; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;What Is Java Server Pages?&lt;/span&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;JavaServer Pages is a tec hnology for developing web pages that include &amp;nbsp;dynamic content. Unlike a plain HTML page, which contains static content that always remains the same, a JSP page can change its &amp;nbsp;content based on any number of variable items, including the identity of the user, the user&#39;s browser type, information provided by the user, and selections made by the user.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;A JSP page contains standard markup language elements, such as HTML tags, just like a regular web page. However, a JSP page also c ontains special JSP elements that allow the server to insert dynamic content in the page. JSP elements can be used for a variety of purposes, such as retrieving information from &amp;nbsp;a database or registering user preferences. When a user asks for a JSP page, the server executes the JSP elements, merges the results with the static parts of the page, and sends the dynamically composed page back to the browser.&lt;/span&gt;&lt;img height=&quot;257px;&quot; src=&quot;https://lh5.googleusercontent.com/Fm5g7rYrZIPQt1lSEHWmthpB9ZM6zX_1g0CoR1R72Tmb7eZeTby3EQfGjVOoyY4JlxGuuMgglqBNhJE_fXzpfsOW7-Mkk01tqdz-1NnycXqlOX17csc&quot; width=&quot;560px;&quot; /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Why Use JSP?&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;In the early days of the Web, the Common Ga teway Interface (CGI) was the only tool for &amp;nbsp;developing dynamic web content. However, CG I is not an efficient solution. For every &amp;nbsp;request that comes in, the web server has to &amp;nbsp;create a new operating-system process, load an interpreter and a script, execute the script, and then tear it all down again. This is very taxing for the server and doesn&#39;t scale well when the amount of traffic increases.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;JSP tackles the problem from the other &amp;nbsp;direction. Instead of embedding HTML in programming code, JSP lets you embed special active elements into HTML pages. These elements look similar to HTML &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;elements, &amp;nbsp;but behind the scenes they are actually componentized Java programs that the server executes when a user requests the page.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;%@ taglib prefix=&quot;c&quot; uri=&quot;http://java.sun.com/jstl/core&quot; %&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;html&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;body bgcolor=&quot;white&quot;&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;jsp:useBean id=&quot;clock&quot; class=&quot;java.util.Date&quot; /&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;c:choose&amp;gt; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;c:when test=&quot;${clock.hours &amp;lt; 12}&quot;&amp;gt; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;h1&amp;gt;Good morning!&amp;lt;/h1&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/c:when&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;c:when test=&quot;${clock.hours &amp;lt; 18}&quot;&amp;gt; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;h1&amp;gt;Good day!&amp;lt;/h1&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/c:when&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;c:otherwise&amp;gt; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;h1&amp;gt;Good evening!&amp;lt;/h1&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/c:otherwise&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;/c:choose&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;Welcome to our site, open 24 hours a day. &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;/body&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;This page inserts a different message to the user based on the time of day: &quot;Good morning!&quot; if the local time is before 12 P.M., &quot;Good day! &quot; if between 12 P.M. and 6 P.M., and &quot;Good evening!&quot; otherwise. When a user asks for this &amp;nbsp;page, the JSP-enabled web server executes the logic represented by the highlighted JSP elements and creates an HTML page that is sent back to the user&#39;s browser. For example, if the current time is 8:53 P.M., the resulting page sent from the server to the browser looks like this: &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;html&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;body bgcolor=&quot;white&quot;&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;h1&amp;gt;Good evening!&amp;lt;/h1&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Welcome to our site, open 24 hours a day. &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;/body&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red; font-size: 19px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Compilation&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Another benefit that is important to mention is that a JSP page is always compiled before it&#39;s processed by the server. Remember that older &amp;nbsp;technologies such as CGI/Perl require the server to load an interpreter and the target &amp;nbsp;script each time the page is requested. JSP gets around this problem by compiling each JSP page &amp;nbsp;into executable code the first time it&#39;s requested (or on demand), and invoking the resulting &amp;nbsp;code directly on all subsequent requests.When coupled with a persistent Java virtual machine on a JSP-enabled web server, this allowsthe server to handle JSP pages much faster.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red; font-size: 19px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The Anatomy of a JSP Page&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;A JSP page is simply a regular web page with JSP elements for generating the parts that differ for each request&lt;/span&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 72pt; margin-top: 0pt; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;font-size: 16px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Template text and JSP elements&lt;/span&gt;&lt;img height=&quot;369px;&quot; src=&quot;https://lh4.googleusercontent.com/PDla4IAANoYEviihWFN698BCfoi_zegCr4Yi-HCAtoFehNYsFKcwRKJy4EQWStkersrfjRIQzdQQGpuKoKcmKoBpBro7nnizpwiXJO0ZmEw1H1Xa2nE&quot; width=&quot;425px;&quot; /&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: 16px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Everything in the page that isn&#39;t a JSP element is called template text. Template text can be any text: HTML, WML, XML, or even plain text. Since HTML is by far the most common web-page language in use today, most of the descriptions and examples in this book use HTML, but keep in mind that JSP has no dependency on HTML; it can be used with any markup language. Template text is always passed straight through to the browser. When a JSP page request is processed, the template text and dynamic content generated by the JSP elements are merged, and the result is sent as the response to the browser.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red; font-size: 19px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;JSP Processing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Just as a web server needs a servlet container to provide an interface to servlets, the server &amp;nbsp;needs a JSP container &amp;nbsp;to process JSP pages. The JSP cont ainer is responsible for intercepting requests for JSP pages. To process all JSP elements in the page, the container first turns the JSP page into a servlet (known as the [ JSP page implementation class). The conversion is pretty straightforward; all template text is converted to &amp;nbsp;println( ) statements similar to the ones in the handcoded servlet shown in Example 3-1, and all JSP elements are converted &amp;nbsp;to Java code that implements the corresponding dynamic behavior. The container then compiles the servlet class.Converting the JSP page to a servlet and compiling the servlet form the translation phase. The JSP container initiates the translation phase &amp;nbsp;for a page automatically&lt;/span&gt;&lt;span style=&quot;font-size: 16px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; when it receives the first request for the page&lt;/span&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;. Since the translation &amp;nbsp;phase takes a bit of time, the first user to request a JSP page notices a slight delay. The translation phase can also be initiated explicitly; this is referred to as precompilation of a JSP page. Precompiling a JSP page is a way to avoid hitting the first user with this delay. &amp;nbsp;&amp;nbsp;The JSP container is also responsible for i nvoking the JSP page implementation class (the generated servlet) to process each request and generate the response. This is called the request &amp;nbsp;processing phase .&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 16px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;JSP page translation and processing phases&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: 16px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;img height=&quot;241px;&quot; src=&quot;https://lh5.googleusercontent.com/qn0cbG37g90w3om5JERvOr-EtqjvDcHBDckI7_vCm5RUzlIRn3MKY9hjd11JrQ1Nrbp-BfnTpnA6dxFCyFmli66_A2Wfe16MYD7JaN4JwiUYzMHUkF8&quot; width=&quot;468px;&quot; /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 16px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;As long as the JSP page remains unchanged, any subsequent request goes straight to the &amp;nbsp;request processing phase (i.e., the container simply executes the class file). When the JSP &amp;nbsp;page is modified, it goes through the translation phase again before entering the request processing phase. &amp;nbsp;The JSP container is often implemented as a servlet configured to handle all requests for JSP pages. In fact, these two containers -- a serv let container and a JSP container -- are often combined in one package under the name &amp;nbsp;web container . &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;So in a way, a JSP page is really just another way to write a servlet without having to be a Java programming wiz. Except for the translation phase, a JSP page is handled exactly like a regular servlet: it&#39;s loaded once and called repeat edly, until the server is shut down. By virtue &amp;nbsp;of being an automatically generated servlet, a JSP page inherits all the advantages of a servlet described in &amp;nbsp;platform and vendor independence, integration, efficiency, scalability, robustness, and security.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red; font-size: 19px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;JSP Elements&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;There are three types of JSP elements you can use: directive , &amp;nbsp;action , and scripting .&lt;/span&gt;&lt;ol style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li style=&quot;font-size: 13px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Directive elements&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 18pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;specify information about the page itself that remains the same between requests -- for example, if session tracking is required or not, buffering requirements, and the name of a page that should be used to report errors, if any.&lt;/span&gt;&lt;img height=&quot;163px;&quot; src=&quot;https://lh6.googleusercontent.com/Aidv2bNXMm331FsclweuHR1HtYXDonLeD4ZVNQYucqhOylO9hUfme4cthNiU7DaMUCjAolKD1dwSFQBCmfE7M4EVH3xlChyC9GPFz5r_K0Hl-v7oyjI&quot; width=&quot;624px;&quot; /&gt;&lt;/div&gt;
&lt;ol start=&quot;2&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li style=&quot;font-size: 13px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Standard action elements&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Action elements typically perform some action &amp;nbsp;based on information that is required at the exact time the JSP page is requested by a &amp;nbsp;browser. An action can, for instance, access parameters sent with the request to do a database lookup. It can also dynamically generate HTML, such as a table filled with information retrieved from an external system.&lt;/span&gt;&lt;img height=&quot;281px;&quot; src=&quot;https://lh6.googleusercontent.com/N37l0BiZac6I-OPTv9XcbGj42cS8AT_Oi9_ajhHV-YeSnlXYDDJD0M_Gk_6Fn7eYQe4MK9bUfPx3uVXuzVpSOhygtM4S1U0exeePq4gRlf6KaEgC4DM&quot; width=&quot;570px;&quot; /&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;3.Custom action elements a nd the JSP Standard Tag Library&lt;/span&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;In addition to the standard actions, the JSP &amp;nbsp;specification includes a Java API a programmer can use to develop &amp;nbsp;custom actions to extend the JSP language. Th e JSP Standard Tag Library (JSTL) is such an extension, w ith the special status of being defined by a formal specification from Sun and typically bundled with the JSP c ontainer. JSTL contains action elements for processes needed in most JSP applications, &amp;nbsp;such as conditional processing, database access, internationalization, and more.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;3.Scripting elements&lt;/span&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Scripting elements, shown in Table allow you &amp;nbsp;to add small pieces of code (typically Java code) in a JSP page, such as an &amp;nbsp;if statement to generate different HTML depending on a certain condition. Like actions, they are also executed when the page is requested. You should use scripting elements with extreme care: if &amp;nbsp;you embed too much code in your JSP pages, you will end up with the same kind of maintenance problems as with servlets embedding HTML. &lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;img height=&quot;172px;&quot; src=&quot;https://lh4.googleusercontent.com/ahqEVR6fC_VgJfZOwoSsnjM6YxT54xrHKeeOPVRZRtqOTmcf0wSY8o1q4SNbpynLvYHgiyZSlHCzD9bUsf7Bf1q4dmWFWcs4ADSzlMVl5npK8NSfYNU&quot; width=&quot;624px;&quot; /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;div dir=&quot;ltr&quot;&gt;
&lt;table style=&quot;border-bottom-style: none; border-collapse: collapse; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;624&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;table style=&quot;border-bottom-style: none; border-collapse: collapse; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;650&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: bottom;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: red; font-size: 32px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;JDBC Driver&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: transparent; color: red; font-size: 32px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;A&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;JDBC driver&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;is a&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://software/&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 11px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;software&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;component enabling a&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;about:blank&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 11px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Java&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;application to interact with a&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://database/&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 11px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;database&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;. JDBC drivers are analogous to&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://driver/&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 11px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;ODBC drivers&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://provider/&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 11px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;ADO.NET data providers&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;, and&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://provider/&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 11px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;OLE DB providers&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;. To connect with individual databases,&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://connectivity/&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 11px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;JDBC&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;(the Java Database Connectivity&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://interface/&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 11px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;API&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;) requires drivers for each database. The JDBC driver gives out the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://connection/&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 11px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;connection&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;to the database and implements the&lt;/span&gt;&lt;a href=&quot;about:blank&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 11px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;protocol&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;for transferring the query and result between&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;about:blank&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 11px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;client&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;and database.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;JDBC drivers&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;are divided into four types or levels. The&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;different types of jdbc drivers&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;are:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 1:&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;JDBC-ODBC Bridge driver (Bridge)&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 2:&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;Native-API/partly Java driver (Native)&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 3:&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;AllJava/Net-protocol driver (Middleware)&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 4:&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;All Java/Native-protocol driver (Pure)&lt;/span&gt;&lt;br /&gt;&lt;h2 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;font-family: Verdana; font-size: 17px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 1 JDBC Driver&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;JDBC-ODBC Bridge driver&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The Type 1 driver translates all JDBC calls into ODBC calls and sends them to the ODBC driver. ODBC is a generic API. The JDBC-ODBC Bridge driver is recommended only for experimental use or when no other alternative is available.&lt;/span&gt;&lt;img height=&quot;282px;&quot; src=&quot;https://lh6.googleusercontent.com/0-gJrtP_j88Fpb6h23WMc1jKUf1X4GWLKfJFyn--w7C_CHb9B4N8RcyNxKU9CS7T_vi-zv3--jH08KljC6T9lps-xOExBMojrPFaZ02oBDM18MRT8PM&quot; width=&quot;225px;&quot; /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 1: JDBC-ODBC Bridge&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Advantage&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The JDBC-ODBC Bridge allows access to almost any database, since the database&#39;s ODBC drivers are already available.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Disadvantages&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;1. Since the Bridge driver is not written fully in Java, Type 1 drivers are not portable.&lt;br class=&quot;kix-line-break&quot; /&gt;2. A performance issue is seen as a JDBC call goes through the bridge to the ODBC driver, then to the database, and this applies even in the reverse process. They are the slowest of all driver types.&lt;br class=&quot;kix-line-break&quot; /&gt;3. The client system requires the ODBC Installation to use the driver.&lt;br class=&quot;kix-line-break&quot; /&gt;4. Not good for the Web.&lt;/span&gt;&lt;br /&gt;&lt;h2 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;font-family: Verdana; font-size: 17px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 2 JDBC Driver&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Native-API/partly Java driver&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The distinctive characteristic of type 2 jdbc drivers are that Type 2 drivers convert JDBC calls into database-specific calls i.e. this driver is specific to a particular database. Some distinctive characteristic of type 2 jdbc drivers are shown below. Example: Oracle will have oracle native api.&lt;/span&gt;&lt;img height=&quot;286px;&quot; src=&quot;https://lh6.googleusercontent.com/WN3bhHiOoxqCkREceKBHRkGv7iGKOeinJ2Yr7a8EzJup_sjo8GG8vKnArdyhdjpcGK8ZV7hweNkQobDMld_2hbo8jNT8k9HGP6mTdmtIUamaP27glEs&quot; width=&quot;161px;&quot; /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 2: Native api/ Partly Java Driver&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Advantage&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The distinctive characteristic of type 2 jdbc drivers are that they are typically offer better performance than the JDBC-ODBC Bridge as the layers of communication (tiers) are less than that of Type&lt;br class=&quot;kix-line-break&quot; /&gt;1 and also it uses Native api which is Database specific.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Disadvantage&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;1. Native API must be installed in the Client System and hence type 2 drivers cannot be used for the Internet.&amp;nbsp;&lt;br class=&quot;kix-line-break&quot; /&gt;2. Like Type 1 drivers, it’s not written in Java Language which forms a portability issue.&amp;nbsp;&lt;br class=&quot;kix-line-break&quot; /&gt;3. If we change the Database we have to change the native api as it is specific to a database&lt;br class=&quot;kix-line-break&quot; /&gt;4. Mostly obsolete now&lt;br class=&quot;kix-line-break&quot; /&gt;5. Usually not thread safe.&lt;/span&gt;&lt;br /&gt;&lt;h3 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;font-family: Verdana; font-size: 24px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 3 JDBC Driver&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;All Java/Net-protocol driver&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 3 database requests are passed through the network to the middle-tier server. The middle-tier then translates the request to the database. If the middle-tier server can in turn use Type1, Type 2 or Type 4 drivers.&lt;/span&gt;&lt;img height=&quot;286px;&quot; src=&quot;https://lh4.googleusercontent.com/UCJB9EzP_QyL1b90FgIssVZK_b9yjfYeBj-WQQ-lvv7i7RLM7Aidex4jV7rT8wzfGNyjNucokWTEN2zxRbSQXoxw3FR3GV84DNDe6a34HWN4fcVX1Dg&quot; width=&quot;245px;&quot; /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 3: All Java/ Net-Protocol Driver&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Advantage&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;1. This driver is server-based, so there is no need for any vendor database library to be present on client machines.&lt;br class=&quot;kix-line-break&quot; /&gt;2. This driver is fully written in Java and hence Portable. It is suitable for the web.&lt;br class=&quot;kix-line-break&quot; /&gt;3. There are many opportunities to optimize portability, performance, and scalability.&amp;nbsp;&lt;br class=&quot;kix-line-break&quot; /&gt;4. The net protocol can be designed to make the client JDBC driver very small and fast to load.&amp;nbsp;&lt;br class=&quot;kix-line-break&quot; /&gt;5. The type 3 driver typically provides support for features such as caching (connections, query results, and so on), load balancing, and advanced&amp;nbsp;&lt;br class=&quot;kix-line-break&quot; /&gt;system administration such as logging and auditing.&lt;br class=&quot;kix-line-break&quot; /&gt;6. This driver is very flexible allows access to multiple databases using one driver.&lt;br class=&quot;kix-line-break&quot; /&gt;7. They are the most efficient amongst all driver types.&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Disadvantage&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;It requires another server application to install and maintain. Traversing the recordset may take longer, since the data comes through the backend server.&lt;/span&gt;&lt;br /&gt;&lt;h3 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;font-family: Verdana; font-size: 24px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 4 JDBC Driver&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Native-protocol/all-Java driver&lt;/span&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The Type 4 uses java networking libraries to communicate directly with the database server.&lt;/span&gt;&lt;img height=&quot;228px;&quot; src=&quot;https://lh4.googleusercontent.com/mmmuPmsB7PfTaMi_nbhZ-78kLVBfvkkHVw_eoeoMumQIggPNJxHGDzVK6IiEmVqU8wpY1tzNvFe6vEJbnapzqxCF9eh2AbaHxzwc58OBPhvHzBlMlQk&quot; width=&quot;172px;&quot; /&gt;&lt;/div&gt;
&lt;span style=&quot;color: red; font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Type 4: Native-protocol/all-Java driver&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Advantage&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;1. The major benefit of using a type 4 jdbc drivers are that they are completely written in Java to achieve platform independence and eliminate deployment administration issues. It is most suitable for the web.&amp;nbsp;&lt;br class=&quot;kix-line-break&quot; /&gt;2. Number of translation layers is very less i.e. type 4 JDBC drivers don&#39;t have to translate database requests to ODBC or a native connectivity interface or to pass the request on to another server, performance is typically quite good.&amp;nbsp;&lt;br class=&quot;kix-line-break&quot; /&gt;3. You don’t need to install special software on the client or server. Further, these drivers can be downloaded dynamically.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Disadvantage&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;With type 4 drivers, the user needs a different driver for each database.&lt;/span&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Verdana; font-size: 20px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Cookies&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;What are cookies?&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;A &quot;cookie&quot; is a small piece of information sent by a web server to store on a web browser so it can later be read back from that browser. This is useful for having the browser remember some specific information.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;What are they used for ?&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;An example is when a browser stores your passwords and user ID&#39;s. They are also used to store preferences of start pages, both Microsoft and Netscape use cookies to create personal start pages. Common cookies which companies use are find info are listed below:&amp;nbsp;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-style: italic; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Site Personalization.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;This is one of the most beneficial uses, let&#39;s say a person comes to the MSNBC site but doesn&#39;t want to see any sports news. They allow people to select this as an option, from then on (until the cookie expires) they wouldn&#39;t see sports news. This is also usefull for start pages.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-style: italic; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Website Tracking.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;Here is a hot button! A lot of people think it is an invasion of privacy, if a web site designer wanted to see what interests them. Site tracking can show you &quot;Dead End Paths&quot;, places in your website that people go to and then wander off because they don&#39;t have any more interesting links to hit. It can also give you more accurate counts of how many people have been to pages on your site. You could differentiate 50 unique people seeing your site from one person hitting the reload button 50 times.&amp;nbsp;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;Targeted Marketing. This is probably one of the main uses of cookies, they can be used to build up a profile of where you go what adverts you click on, this information is then used to target adverts at you, which they think are of interest, companies also use cookies to store which adverts have been displayed so the same advert does not get displayed twice. Doubleclick&#39;s use of cookies.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-style: italic; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;User ID&#39;s.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;In Internet Explorer the first part of the cookie is your windows log in name, It&#39;s not certain if this is passed on to the server.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;How Do They Work&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;A command line in the HTML of a document tell the browser to set a cookie of a certain name or value. Here is an example of some script used to set a cookie. Set-Cookie: NAME=VALUE; expir es=DATE; path=PATH; domain=DOMAIN_NAME; secure Cookies are usually run from CGI scripts, but they can also be set or read by Javascript.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Security?&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;An HTTP Cookie cannot be used to get data from your hard drive, get your email address or steal sensitive information about your person. Early implementations of Java and JavaScript could allow people to do this but for the most part these security leaks have been plugged. But HTTP Cookie can be used to track where you travel over a particular site, This site tracking can be easily done without using cookies as well, using cookies just makes the tracking data a little more consistent. If you want to disallow cookies you can do so with version 3.0 or greater of Netscape. Go to the Options Menu Select the Network Preferences Menu Item From the window that appears Select Protocols Locate the Section Show an Alert Before Check the box labeled Accepting a Cookie From now on you will get an Alert box telling you that a server is trying to set a cookie at your browser. It will tell you what the cookie value is and how long it will last before it is deleted&lt;/span&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;There are two main types of cookies:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://docs.oracle.com/javase/1.5.0/docs/guide/deployment/deployment-guide/cookie_support.html#session&quot;&gt;&lt;span style=&quot;color: #3366ff; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Session Cookies&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://docs.oracle.com/javase/1.5.0/docs/guide/deployment/deployment-guide/cookie_support.html#permanent&quot;&gt;&lt;span style=&quot;color: #3366ff; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Permanent Cookies&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;h3 dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;

&lt;span style=&quot;font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Session Cookies&lt;/span&gt;&lt;/h3&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Session cookies are stored in memory during the applet or application session. Session cookies expire when the applet or application exits and are automatically deleted. These cookies usually store a session ID that is not personally identifiable to users, allowing the user to move from page to page without having to log-in repeatedly. They are widely used by commercial web sites (for example, to keep track of items that a consumer has added to a shopping cart.)&lt;/span&gt;&lt;/div&gt;
&lt;h3 dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;

&lt;span style=&quot;font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Permanent Cookies&lt;/span&gt;&lt;/h3&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Permanent cookies are stored in persistent storage and are not deleted when the application exits. They are deleted when they expire. They can retain user preferences for a particular web site, allowing those preferences to be used in future sessions. Permanent cookies can be used to identify individual users, so they may be used by web sites to analyze users&#39; surfing behavior within the web site. These cookies can also be used to provide information about the numbers of visitors, the average time spent on a particular page, and the general performance of the web site. They are usually configured to keep track of users for a prolonged period of time, in some cases many years into the future.&lt;/span&gt;&lt;/div&gt;
&lt;h3 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;HttpOnly cookie&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The HttpOnly cookie is supported by most modern browsers.&amp;nbsp;On a supported browser, an HttpOnly session cookie will be used only when transmitting HTTP (or HTTPS) requests, thus restricting access from other, non-HTTP APIs (such as JavaScript). This restriction mitigates but does not eliminate the threat of session cookie theft via&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://scripting/&quot;&gt;&lt;span style=&quot;color: #0b0080; font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;cross-site scripting&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;(XSS).This feature applies only to session-management cookies, and not other browser cookies.&lt;/span&gt;&lt;br /&gt;&lt;h3 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Third-party cookie&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;First-party cookies are cookies set with the same domain (or its subdomain) in your browser&#39;s address bar. Third-party cookies are cookies being set with different domains from the one shown on the address bar (i.e. the web pages on that domain may feature content from a third-party domain - e.g. an advertisement run by www.advexample.com showing advert banners). (Privacy setting options in most modern browsers allow you to block third-party tracking cookies).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For example: Suppose a user visits&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;www.example1.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;, which sets a cookie with the domain&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;ad.foxytracking.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;. When the user later visits&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;www.example2.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;, another cookie is set with the domain&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;ad.foxytracking.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;. Eventually, both of these cookies will be sent to the advertiser when loading their ads or visiting their website. The advertiser can then use these cookies to build up a browsing history of the user across all the websites this advertiser has footprints on.&lt;/span&gt;&lt;br /&gt;&lt;h3 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Supercookie&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;A &quot;supercookie&quot; is a cookie with a public suffix domain, like&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.co.uk&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;k12.ca.us&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Most browsers, by default, allow first-party cookies—a cookie with domain to be the same or sub-domain of the requesting host. For example, a user visiting&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;www.example.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;can have a cookie set with domain&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;www.example.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.example.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;, but not&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.&amp;nbsp;A supercookie with domain&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;would be blocked by browsers; otherwise, a malicious website, like&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;attacker.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;, could set a supercookie with domain&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;and potentially disrupt or impersonate legitimate user requests to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;example.com&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;. The&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://list/&quot;&gt;&lt;span style=&quot;color: #0b0080; font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Public Suffix List&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;is a cross-vendor initiative to provide an accurate list of domain name suffixes changing.Older versions of browsers may not have the most up-to-date list, and will therefore be vulnerable to certain supercookies.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The term &quot;supercookies&quot; is erroneously used in the media for tracking technologies that do not rely on HTTP cookies. Two such &quot;supercookie&quot; mechanisms were found on Microsoft websites: cookie syncing that respawned MUID cookies, and&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://etag/&quot;&gt;&lt;span style=&quot;color: #0b0080; font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;ETag&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;cookies.&amp;nbsp;Due to media attention, Microsoft later disabled this code:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;In response to recent attention on &quot;supercookies&quot; in the media, we wanted to share more detail on the immediate action we took to address this issue, as well as affirm our commitment to the privacy of our customers. According to researchers, including Jonathan Mayer at Stanford University, &quot;supercookies&quot; are capable of re-creating users&#39; cookies or other identifiers after people deleted regular cookies. Mr. Mayer identified Microsoft as one among others that had this code, and when he brought his findings to our attention we promptly investigated. We determined that the cookie behavior he observed was occurring under certain circumstances as a result of older code that was used only on our own sites, and was already scheduled to be discontinued. We accelerated this process and quickly disabled this code. At no time did this functionality cause Microsoft cookie identifiers or data associated with those identifiers to be shared outside of Microsoft.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Zombie cookie&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;A zombie cookie is any cookie that is automatically recreated after a user has deleted it. This is accomplished by a script storing the content of the cookie in some other locations, such as the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Adobe_Flash_Player#Player&quot;&gt;&lt;span style=&quot;color: #0b0080; font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;local storage available to Flash content&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;, HTML5 storages and other client side mechanisms, and then recreating the cookie from backup stores when the cookie&#39;s absence is detected.&lt;/span&gt;&lt;br /&gt;&lt;h1 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;; font-size: 21px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Session Tracking Methods&lt;/span&gt;&lt;/h1&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Following answer is applicable irrespective of the language and platform used. Before we enter into session tracking, following things should be understood.&lt;/span&gt;&lt;br /&gt;&lt;h2 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;; font-size: 17px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;What is a session?&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;A session is a conversation between the server and a client. A conversation consists series of continuous request and response.&lt;/span&gt;&lt;br /&gt;&lt;h2 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;; font-size: 17px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Why should a session be maintained?&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;When there is a series of continuous request and response from a same client to a server, the server cannot identify from which client it is getting requests. Because HTTP is a stateless protocol.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;When there is a need to maintain the conversational state, session tracking is needed. For example, in a shopping cart application a client keeps on adding items into his cart using multiple requests. When every request is made, the server should identify in which client’s cart the item is to be added. So in this scenario, there is a certain need for session tracking.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Solution is, when a client makes a request it should introduce itself by providing unique identifier every time. There are five different methods to achieve this.&lt;/span&gt;&lt;br /&gt;&lt;h2 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;; font-size: 17px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Session tracking methods:&lt;/span&gt;&lt;/h2&gt;
&lt;ol style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li style=&quot;font-size: 13px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;User authorization&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-size: 13px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Hidden fields&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-size: 13px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;URL rewriting&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-size: 13px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Cookies&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-size: 13px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Session tracking API&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The first four methods are traditionally used for session tracking in all the server-side technologies. The session tracking API method is provided by the underlying technology (java servlet or PHP or likewise). Session tracking API is built on top of the first four methods.&lt;/span&gt;&lt;br /&gt;&lt;h3 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;1. User Authorization&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Users can be authorized to use the web application in different ways. Basic concept is that the user will provide username and password to login to the application. Based on that the user can be identified and the session can be maintained.&lt;/span&gt;&lt;br /&gt;&lt;h3 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;2. Hidden Fields&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;INPUT TYPE=”hidden” NAME=”technology” VALUE=”servlet”&amp;gt;&lt;br class=&quot;kix-line-break&quot; /&gt;Hidden fields like the above can be inserted in the webpages and information can be sent to the server for session tracking. These fields are not visible directly to the user, but can be viewed using view source option from the browsers. This type doesn’t need any special configuration from the browser of server and by default available to use for session tracking. This cannot be used for session tracking when the conversation included static resources lik html pages.&lt;/span&gt;&lt;br /&gt;&lt;h3 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;3. URL Rewriting&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Original URL:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;about:blank&quot;&gt;&lt;span style=&quot;color: #4a6b82; font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;http://server:port/servlet/ServletName&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;Rewritten URL:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;about:blank&quot;&gt;&lt;span style=&quot;color: #4a6b82; font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;http://server:port/servlet/ServletName?sessionid=7456&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;When a request is made, additional parameter is appended with the url. In general added additional parameter will be sessionid or sometimes the userid. It will suffice to track the session. This type of session tracking doesn’t need any special support from the browser. Disadvantage is, implementing this type of session tracking is tedious. We need to keep track of the parameter as a chain link until the conversation completes and also should make sure that, the parameter doesn’t clash with other application parameters.&lt;/span&gt;&lt;br /&gt;&lt;h3 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;4. Cookies&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Cookies are the mostly used technology for session tracking. Cookie is a key value pair of information, sent by the server to the browser. This should be saved by the browser in its space in the client computer. Whenever the browser sends a request to that server it sends the cookie along with it. Then the server can identify the client using the cookie.&lt;br class=&quot;kix-line-break&quot; /&gt;In java, following is the source code snippet to create a cookie:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Cookie cookie = new Cookie(“userID”, “7456″);&lt;br class=&quot;kix-line-break&quot; /&gt;res.addCookie(cookie);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Session tracking is easy to implement and maintain using the cookies. Disadvantage is that, the users can opt to disable cookies using their browser preferences. In such case, the browser will not save the cookie at client computer and session tracking fails.&lt;/span&gt;&lt;br /&gt;&lt;h3 dir=&quot;ltr&quot;&gt;

&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;5. Session tracking API&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Session tracking API is built on top of the first four methods. This is inorder to help the developer to minimize the overhead of session tracking. This type of session tracking is provided by the underlying technology. Lets take the java servlet example. Then, the servlet container manages the session tracking task and the user need not do it explicitly using the java servlets. This is the best of all methods, because all the management and errors related to session tracking will be taken care of by the container itself.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Every client of the server will be mapped with a javax.servlet.http.HttpSession object. Java servlets can use the session object to store and retrieve java objects across the session. Session tracking is at the best when it is implemented using session tracking api.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red; font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Servlet program to display date&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;import java.io.*;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;import javax.servlet.*;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;import javax.servlet.http.*;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;import java.util.*;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;public class date extends&lt;br class=&quot;kix-line-break&quot; /&gt;HttpServlet&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void doGet (HttpServletRequest request, HttpServletResponse response)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;throws&lt;br class=&quot;kix-line-break&quot; /&gt;ServletException,IOException&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;PrintWriter pw = response.getWriter();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;Date today =&lt;br class=&quot;kix-line-break&quot; /&gt;new Date();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;pw.println(&quot;&amp;lt;html&amp;gt;&quot;+&quot;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;Today&lt;br class=&quot;kix-line-break&quot; /&gt;Date is&amp;lt;/h1&amp;gt;&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;pw.println(&quot;&amp;lt;b&amp;gt;&quot;+&lt;br class=&quot;kix-line-break&quot; /&gt;today+&quot;&amp;lt;/b&amp;gt;&amp;lt;/body&amp;gt;&quot;+ &quot;&amp;lt;/html&amp;gt;&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;web.xml&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;web-app&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;servlet&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;servlet-name&amp;gt;DateServlet&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;servlet-class&amp;gt;myservlets.DateServlet&amp;lt;/servlet-class&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;/servlet&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;servlet-mapping&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;servlet-name&amp;gt;DateServlet&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;url-pattern&amp;gt;/DateServlet&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;/servlet-mapping&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;/web-app&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red; font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red; font-family: Verdana; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Session Tracking&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;import java.io.*;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;import javax.servlet.*;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;import javax.servlet.http.*;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;import java.util.*;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;public class ShowSession extends HttpServlet {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;response.setContentType(&quot;text/html&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;PrintWriter out = response.getWriter();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;String title = &quot;Session Tracking Example&quot;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HttpSession session = request.getSession(true);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;String heading;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Integer count = (Integer)session.getAttribute(&quot;count&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if (count == null) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;count = new Integer(0);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;heading = &quot;Session Tracking Example&quot;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;else {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;heading = &quot;Session Tracking Example&quot;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;count = new Integer(count.intValue() + 1);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;session.setAttribute(&quot;count&quot;, count);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;out.println(&quot;&amp;lt;/html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;&quot;+title+&quot;&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;h1 align=\&quot;\&quot;&amp;gt;&quot; + heading + &quot;&amp;lt;/H1&amp;gt;\n&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;h2&amp;gt;&amp;lt;/h2&amp;gt;\n&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;table border=1 align=\&quot;\&quot;&amp;gt;\n&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;tr&amp;gt;&quot;+&quot;&amp;lt;TR bgcolor=\&quot;#9999966\&quot;&amp;gt;\n&quot;+&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;th&amp;gt;SessionTracking&amp;lt;/th&amp;gt;&quot;+&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;th&amp;gt;Time period&amp;lt;/th&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;/tr&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;tr&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;td&amp;gt;ID&amp;lt;/td&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;td&amp;gt;&quot; + session.getId() + &quot;&amp;lt;/td&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;/tr&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;tr&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;td&amp;gt;Current Time&amp;lt;/td&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot; &amp;nbsp;&amp;lt;td&amp;gt;&quot; + new Date(session.getCreationTime()) + &quot;&amp;lt;/td&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;/tr&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;tr&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;td&amp;gt;Time of Last Access&amp;lt;/td&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot; &amp;nbsp;&amp;lt;td&amp;gt;&quot; + new Date(session.getLastAccessedTime()) + &quot;&amp;lt;/td&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;/tr&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;tr&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;td&amp;gt;Number of Previous Accesses&amp;lt;/td&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot; &amp;nbsp;&amp;lt;td&amp;gt;&quot; + count + &quot;&amp;lt;/td&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;/tr&amp;gt;&quot;+&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;/table&amp;gt;&quot; +&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&quot;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;} &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;doGet(request, response);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red; font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Web.xml&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Web.xml&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;!--&amp;lt;!DOCTYPE web-app&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; PUBLIC &quot;-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &quot;http://java.sun.com/dtd/web-app_2_3.dtd&quot;&amp;gt; --&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;web-app&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;lt;servlet&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;servlet-name&amp;gt;ShowSession&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;servlet-class&amp;gt;ShowSession&amp;lt;/servlet-class&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;lt;/servlet&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;lt;servlet-mapping&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;lt;servlet-name&amp;gt;ShowSession&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;lt;url-pattern&amp;gt;/ShowSession&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;lt;/servlet-mapping&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;/web-app&amp;gt;&lt;/span&gt;&lt;/b&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/7333466565784488607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/7333466565784488607'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/04/jsp-server-pages.html' title='JSP Server pages'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh3.googleusercontent.com/pf2Dj9-nkCEY38JCqAfO2yj1_gSdvJXSWHi10-UgWziO4IyiOkIcAeXugBexSD3xPIvif7qynB5_QYTkiDE-hLFkWtruftiJ872ohWfymEN2kEQ384I=s72-c" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-5989348992727693465</id><published>2012-04-14T19:35:00.000-07:00</published><updated>2012-04-14T19:35:01.829-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OOPS"/><title type='text'>UML</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;notepad-top&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://javapapers.com/wp-content/themes/papers/images/notepadTop.png); background-origin: initial; background-position: 0% 50%; background-repeat: no-repeat no-repeat; font-family: verdana, &#39;bitstream vera sans&#39;, sans-serif; font-size: 13px; height: 69px; line-height: 21px; width: 875px;&quot;&gt;
&lt;div class=&quot;entry_title&quot; style=&quot;margin-left: 95px; padding-bottom: 23px; padding-left: 40px; padding-right: 40px; padding-top: 23px;&quot;&gt;
&lt;h1 style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, Helvetica, sans-serif; line-height: 28px;&quot;&gt;
Association, Aggregation, Composition, Abstraction, Generalization, Realization, Dependency&lt;/h1&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;notepad&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://javapapers.com/wp-content/themes/papers/images/notepad.png); background-origin: initial; background-position: 0% 50%; background-repeat: no-repeat repeat; font-family: verdana, &#39;bitstream vera sans&#39;, sans-serif; line-height: 21px; width: 875px;&quot;&gt;
&lt;div id=&quot;content&quot; style=&quot;float: left; width: 584px;&quot;&gt;
&lt;div class=&quot;entry single&quot; style=&quot;clear: both; margin-left: 95px; padding-bottom: 15px; padding-left: 40px; padding-right: 40px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
These terms signify the relationships between classes. These are the building blocks of object oriented programming and very basic stuff. But still for some, these terms look like Latin and Greek. Just wanted to refresh these terms and explain in simpler terms.&lt;/div&gt;
&lt;h2 style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, Helvetica, sans-serif; font-size: 13px; line-height: 22px;&quot;&gt;
Association&lt;/h2&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
Association is a relationship between two objects. In other words, association defines the multiplicity between objects. You may be aware of one-to-one, one-to-many, many-to-one, many-to-many all these words define an association between objects. Aggregation is a special form of association. Composition is a special form of aggregation.&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignright size-full wp-image-342&quot; height=&quot;37&quot; src=&quot;http://javapapers.com/wp-content/uploads/2010/06/association.jpg&quot; title=&quot;Association&quot; width=&quot;174&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&amp;nbsp;&lt;/strong&gt;A Student and a Faculty are having an association.&lt;/div&gt;
&lt;h2 style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, Helvetica, sans-serif; font-size: 13px; line-height: 22px;&quot;&gt;
Aggregation&lt;/h2&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
Aggregation is a special case of association. A directional association between objects. When an object ‘has-a’ another object, then you have got an aggregation between them. Direction between them specified which object contains the other object. Aggregation is also called a “Has-a” relationship.&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;size-full wp-image-343   alignleft&quot; height=&quot;36&quot; src=&quot;http://javapapers.com/wp-content/uploads/2010/06/aggregation.jpg&quot; title=&quot;Aggregation&quot; width=&quot;176&quot; /&gt;&lt;/div&gt;
&lt;h2 style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, Helvetica, sans-serif; font-size: 13px; line-height: 22px;&quot;&gt;
Composition&lt;/h2&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
Composition is a special case of aggregation. In a more specific manner, a restricted aggregation is called composition. When an object contains the other object, if the contained object cannot exist without the existence of container object, then it is called composition.&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignright size-full wp-image-344&quot; height=&quot;37&quot; src=&quot;http://javapapers.com/wp-content/uploads/2010/06/composition.jpg&quot; title=&quot;Composition&quot; width=&quot;178&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&amp;nbsp;&lt;/strong&gt;A class contains students. A student cannot exist without a class. There exists composition between class and students.&lt;/div&gt;
&lt;h3 style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, Helvetica, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;
Difference between aggregation and composition&lt;/h3&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
Composition is more restrictive. When there is a composition between two objects, the composed object cannot exist without the other object. This restriction is not there in aggregation. Though one object can contain the other object, there is no condition that the composed object must exist. The existence of the composed object is entirely optional. In both aggregation and composition, direction is must. The direction specifies, which object contains the other object.&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;em&gt;&lt;strong&gt;Example:&lt;/strong&gt;&amp;nbsp;&lt;/em&gt;A Library contains students and books. Relationship between library and student is aggregation. Relationship between library and book is composition. A student can exist without a library and therefore it is aggregation. A book cannot exist without a library and therefore its a composition. For easy understanding I am picking this example. Don’t go deeper into example and justify relationships!&lt;/div&gt;
&lt;h2 style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, Helvetica, sans-serif; font-size: 13px; line-height: 22px;&quot;&gt;
Abstraction&lt;/h2&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
Abstraction is specifying the framework and hiding the implementation level information. Concreteness will be built on top of the abstraction. It gives you a blueprint to follow to while implementing the details. Abstraction reduces the complexity by hiding low level details.&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;em&gt;&lt;strong&gt;Example:&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;A wire frame model of a car.&lt;/div&gt;
&lt;h2 style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, Helvetica, sans-serif; font-size: 13px; line-height: 22px;&quot;&gt;
Generalization&lt;/h2&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
Generalization uses a “is-a” relationship from a specialization to the generalization class. Common structure and behaviour are used from the specializtion to the generalized class. At a very broader level you can understand this as inheritance. Why I take the term inheritance is, you can relate this term very well. Generalization is also called a “Is-a” relationship.&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignright size-full wp-image-345&quot; height=&quot;41&quot; src=&quot;http://javapapers.com/wp-content/uploads/2010/06/generalization.jpg&quot; title=&quot;Generalization&quot; width=&quot;181&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;em&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/em&gt;&amp;nbsp;Consider there exists a class named Person. A student is a person. A faculty is a person. Therefore here the relationship between student and person, similarly faculty and person is generalization.&lt;/div&gt;
&lt;h2 style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, Helvetica, sans-serif; font-size: 13px; line-height: 22px;&quot;&gt;
Realization&lt;/h2&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
Realization is a relationship between the blueprint class and the object containing its respective implementation level details. This object is said to realize the blueprint class. In other words, you can understand this as the relationship between the interface and the implementing class.&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignright size-full wp-image-346&quot; height=&quot;38&quot; src=&quot;http://javapapers.com/wp-content/uploads/2010/06/realization.jpg&quot; title=&quot;Realization&quot; width=&quot;178&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;em&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/em&gt;&amp;nbsp;A particular model of a car ‘GTB Fiorano’ that implements the blueprint of a car realizes the abstraction.&lt;/div&gt;
&lt;h2 style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, Helvetica, sans-serif; font-size: 13px; line-height: 22px;&quot;&gt;
Dependency&lt;/h2&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
Change in structure or behaviour of a class affects the other related class, then there is a dependency between those two classes. It need not be the same vice-versa. When one class contains the other class it this happens.&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;alignright size-full wp-image-347&quot; height=&quot;37&quot; src=&quot;http://javapapers.com/wp-content/uploads/2010/06/dependency.jpg&quot; title=&quot;Dependency&quot; width=&quot;176&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 13px;&quot;&gt;
&lt;em&gt;&lt;strong&gt;Example:&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;Relationship between shape and circle is dependency.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/5989348992727693465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/5989348992727693465'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/04/uml.html' title='UML'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-1750592883611754057</id><published>2012-04-14T19:16:00.002-07:00</published><updated>2012-04-14T19:17:31.017-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OOPS"/><title type='text'>Differentiate JVM JRE JDK JIT</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 24pt;&quot;&gt;Differentiate
JVM JRE JDK JIT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #666666; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Java Virtual Machine (JVM) is an abstract computing machine. Java
Runtime Environment (JRE) is an implementation of the JVM. Java Development Kit
(JDK) contains JRE along with various development tools like Java libraries,
Java source compilers, Java debuggers, bundling and deployment tools.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;JVM becomes an instance of JRE at runtime of a java program. It is
widely known as a runtime interpreter. The Java virtual machine (JVM) is the
cornerstone on top of which the Java technology is built upon. It is the component
of the Java technology responsible for its hardware and platform independence.
JVM largely helps in the abstraction of inner implementation from the
programmers who make use of libraries for their programmes from JDK.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Diagram to show the relations between JVM JRE JDK&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnsUn_btPb-DrjVLDTGuVzEkQqo_RyYQubpxIMkuGPOJBz6h6pr9aDovwzTZ4CsuEhyphenhyphenZ2aagys0QZxVO0MeCANBVb_beO7Muc1UddRR1exSr4kWHwbeyXd1_ccrKN8HNePduSRMcqzTZNT/s1600/jvm-jre-jdk1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnsUn_btPb-DrjVLDTGuVzEkQqo_RyYQubpxIMkuGPOJBz6h6pr9aDovwzTZ4CsuEhyphenhyphenZ2aagys0QZxVO0MeCANBVb_beO7Muc1UddRR1exSr4kWHwbeyXd1_ccrKN8HNePduSRMcqzTZNT/s320/jvm-jre-jdk1.png&quot; width=&quot;306&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;JVM Internals&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Like a real computing machine, JVM has an instruction set and
manipulates various memory areas at run time. Thus for different hardware
platforms one has corresponding implementation of JVM available as vendor
supplied JREs. It is common to implement a programming language using a virtual
machine. Historicaly the best-known virtual machine may be the P-Code machine
of UCSD Pascal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;A Java virtual machine instruction consists of an opcode
specifying the operation to be performed, followed by zero or more operands
embodying values to be operated upon. From the point of view of a compiler, the
Java Virtual Machine (JVM)is just another processor with an instruction set,
Java bytecode, for which code can be generated. Life cycle is as follows,
source code to byte code to be interpreted by the JRE and gets converted to the
platform specific executable ones.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;Sun’s JVM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Sun’s implementations of the Java virtual machine (JVM) is itself
called as JRE. Sun’s JRE is availabe as a separate application and also
available as part of JDK. Sun’s Java Development Tool Kit (JDK) comes with
utility tools for byte code compilation “javac”. Then execution of the byte
codes through java programmes using “java” and many more utilities found in the
binary directory of JDK. ‘java’ tools forks the JRE. Implementation of JVMs are
also actively released by other companies besides Sun Micro Systems.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;JVM for other languages&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;A JVM can also be used to implement programming languages other
than Java. For example, Ada source code can be compiled to Java bytecode, which
may then be executed by a Java virtual machine (JVM). That is, any language
with functionality that can be expressed in terms of a valid class file can be
hosted by the Java virtual machine (JVM). Attracted by a generally available, machine-independent
platform, implementors of other languages are turning to the Java virtual
machine (JVM) as a delivery vehicle for their languages. PHP with Quercus is
such an example.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;Just-in-time Compiler
(JIT)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;JIT is the part of the Java Virtual Machine (JVM) that is used to
speed up the execution time. JIT compiles parts of the byte code that have
similar functionality at the same time, and hence reduces the amount of time
needed for compilation. Here the term “compiler” refers to a translator from the
instruction set of a Java virtual machine (JVM) to the instruction set of a
specific CPU.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/1750592883611754057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/1750592883611754057'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/04/differentiate-jvm-jre-jdk-jit.html' title='Differentiate JVM JRE JDK JIT'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnsUn_btPb-DrjVLDTGuVzEkQqo_RyYQubpxIMkuGPOJBz6h6pr9aDovwzTZ4CsuEhyphenhyphenZ2aagys0QZxVO0MeCANBVb_beO7Muc1UddRR1exSr4kWHwbeyXd1_ccrKN8HNePduSRMcqzTZNT/s72-c/jvm-jre-jdk1.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-7148110153925813588</id><published>2012-04-14T11:00:00.000-07:00</published><updated>2012-04-14T11:02:05.944-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OOPS"/><title type='text'>java JVM</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 24pt;&quot;&gt;Java
(JVM) Memory Types&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Java has only two types of memory when it comes to JVM. Heap
memory and Non-heap memory. All the other memory jargons you hear are logical
part of either of these two.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;Heap Memory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Class instances and arrays are stored in heap memory. Heap memory
is also called as shared memory. As this is the place where multiple threads
will share the same data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWgS4f5mL5qxx-H7QM2aK29cFVjGk_xXwSeQoJf3JBYaDhCpBkQcR7NOinHSmi8OMcNWymr1g13rY-yAqSOhoYYFCn7VRpA2J58Jd_auj5NBAeOHjZabWdMltn6yv_95rYuvu5Uu_blW3c/s1600/memory.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWgS4f5mL5qxx-H7QM2aK29cFVjGk_xXwSeQoJf3JBYaDhCpBkQcR7NOinHSmi8OMcNWymr1g13rY-yAqSOhoYYFCn7VRpA2J58Jd_auj5NBAeOHjZabWdMltn6yv_95rYuvu5Uu_blW3c/s1600/memory.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;Non-heap Memory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;It comprises of ‘Method Area’ and other memory required for
internal processing. So here the major player is ‘Method Area’.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13.5pt;&quot;&gt;Method Area&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;As given in the last line, method area is part of non-heap memory.
It stores per-class structures, code for methods and constructors. Per-class
structure means runtime constants and&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://javapapers.com/core-java/explain-the-java-static-modifier/&quot; title=&quot;Java Static Fields&quot;&gt;&lt;span style=&quot;color: #4a6b82; font-family: Verdana, sans-serif; font-size: 9pt; text-decoration: none;&quot;&gt;static fields&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;The above three (heap memory, non-heap memory and method area) are
the main jargon when it comes to memory and JVM. There are some other technical
jargon you might have heard and I will summarize them below.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;Memory Pool&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Memory pools are created by JVM memory managers during runtime.
Memory pool may belong to either heap or non-heap memory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;Runtime Constant Pool&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;A run time constant pool is a per-class or per-interface run time
representation of the constant_pool table in a class file. Each runtime
constant pool is allocated from the Java virtual machine’s method area.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiikF2WzpxPhe1J-wvG0FSEYULmlFqYdGVhEqSUU_ZV_zw_IYdee8ZfL0PBHlmDuJpnXG0EoDiCU70S-EBQsrJFh1ZIKg7S_N0HAk6cEnXesnuc-uCQkE1jtzsQDiYmKRr2kRdvkGT5mDRX/s1600/jvm-memory.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiikF2WzpxPhe1J-wvG0FSEYULmlFqYdGVhEqSUU_ZV_zw_IYdee8ZfL0PBHlmDuJpnXG0EoDiCU70S-EBQsrJFh1ZIKg7S_N0HAk6cEnXesnuc-uCQkE1jtzsQDiYmKRr2kRdvkGT5mDRX/s400/jvm-memory.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;Java Stacks or Frames&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Java stacks are created private to a thread. Every thread will
have a program counter (PC) and a java stack. PC will use the java stack to
store the intermediate values, dynamic linking, return values for methods and
dispatch exceptions. This is used in the place of registers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;Memory Generations&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;HotSpot VM’s garbage collector uses generational garbage
collection. It separates the JVM’s memory into and they are called young
generation and old generation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13.5pt;&quot;&gt;Young Generation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Young generation memory consists of two parts, Eden space and
survivor space. Shortlived objects will be available in Eden space. Every
object starts its life from Eden space. When GC happens, if an object is still
alive and it will be moved to survivor space and other dereferenced objects
will be removed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13.5pt;&quot;&gt;Old Generation – Tenured
and PermGen&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Old generation memory has two parts, tenured generation and
permanent generation (PermGen). PermGen is a popular term. We used to error
like PermGen space not sufficient.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;GC moves live objects from survivor space to tenured generation.
The permanent generation contains meta data of the virtual machine, class and
method objects.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;Discussion:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Java specification doesn’t give hard and fast rules about the
design of JVM with respect to memory. So it is completely left to the JVM
implementers. The types of memory and which kind of variable / objects and
where they will be stored is specific to the JVM implementation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;Key Takeaways&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; margin-left: 103.05pt; mso-list: l1 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Local Variables are stored in Frames during runtime.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; margin-left: 103.05pt; mso-list: l1 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Static Variables are stored in Method Area.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; margin-left: 103.05pt; mso-list: l1 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Arrays are stored in heap memory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #223344; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 18pt;&quot;&gt;References:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; margin-left: 103.05pt; mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://download.oracle.com/javase/1.5.0/docs/api/java/lang/management/MemoryPoolMXBean.html&quot; title=&quot;MemoryPoolMXBean API&quot;&gt;&lt;span style=&quot;color: #4a6b82; font-family: Verdana, sans-serif; font-size: 9pt; text-decoration: none;&quot;&gt;MemoryPoolMXBean&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;provides you api to explore
the memory usage, threshold notifications, peak memory usage and memory usage
monitoring.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; margin-left: 103.05pt; mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://download.oracle.com/javase/1.5.0/docs/guide/management/jconsole.html&quot; title=&quot;JConsole API&quot;&gt;&lt;span style=&quot;color: #4a6b82; font-family: Verdana, sans-serif; font-size: 9pt; text-decoration: none;&quot;&gt;Java Docs API for JConsole&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; margin-left: 103.05pt; mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://java.sun.com/docs/books/jls/third_edition/html/memory.html&quot; title=&quot;Memory - Threads&quot;&gt;&lt;span style=&quot;color: #4a6b82; font-family: Verdana, sans-serif; font-size: 9pt; text-decoration: none;&quot;&gt;Threads and Locks&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;chapter of Java Language
Specification talks lot about java memory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.8pt; margin-left: 103.05pt; mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; font-size: 10pt;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;Chapter 5 of Inside the Java Virtual Machine,&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.artima.com/insidejvm/ed2/jvm2.html&quot; title=&quot;The JVM Memory&quot;&gt;&lt;span style=&quot;color: #4a6b82; font-family: Verdana, sans-serif; font-size: 9pt; text-decoration: none;&quot;&gt;The Java Virtual
Machine&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;by Bill
Venners&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/7148110153925813588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/7148110153925813588'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/04/java-jvm.html' title='java JVM'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWgS4f5mL5qxx-H7QM2aK29cFVjGk_xXwSeQoJf3JBYaDhCpBkQcR7NOinHSmi8OMcNWymr1g13rY-yAqSOhoYYFCn7VRpA2J58Jd_auj5NBAeOHjZabWdMltn6yv_95rYuvu5Uu_blW3c/s72-c/memory.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-7961714690062510091</id><published>2012-04-13T10:12:00.001-07:00</published><updated>2012-04-13T10:13:02.822-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cloud"/><title type='text'>computer can exist without hardware</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: .0001pt; margin-bottom: 0in; text-align: center; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If a computer can exist
without hardware, as we learned in last month’s white paper about virtual
machines, can it be useful without application software? It can if it relies on
the concept of cloud computing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;Cloud computing
describes a data-processing infrastructure in which the application
software—and often the data itself—is stored permanently not on your PC but
rather a remote server that’s connected to the Internet. When you need to use
the application or access the data, your computer connects to the server
through the Internet and some of that information is cached temporarily on your
client machine. What do clouds have to do with all this? The cloud is simply a
metaphor for the Internet, based on the symbol that’s used to represent the
worldwide network in computer network diagrams.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;The concept behind cloud
computing actually predates the modern Internet, but the rise of personal
computers rendered the cloud irrelevant, at least temporarily. In the 1960s and
early 1970s, companies that couldn’t afford to acquire and maintain the large
mainframe computers of the day would instead rent processing time on someone
else’s machine. This time-sharing concept fell out of favor as smaller, cheaper
midrange computers were released. And once PCs and small servers began to
dominate the market, midrange systems also lost their luster.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in; mso-line-height-alt: 14.25pt; mso-outline-level: 3; vertical-align: baseline;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: Arial, sans-serif; font-size: 16pt; letter-spacing: -0.6pt;&quot;&gt;Everything Old is New
Again&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #990000; font-family: Arial, sans-serif; font-size: 16pt; letter-spacing: -0.6pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;The growth of the
Internet has rendered the concept of shared computational infrastructure
relevant once again. In fact, you’ve probably used cloud-computing resources
without thinking much about it. If you’ve ever made a blog using Blogger,
created a profile on Facebook or MySpace, or used a browser-based email service
such as Gmail, you’ve experienced cloud computing. In each of these cases, the
application and the data you create with it are stored on a remote server
instead of your PC.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;Software as a service
(SaaS) products, such as Google Apps (on a small scale) and Salesforce.com (on
a much larger scale), are another example of cloud computing. These services
deliver software applications through a web browser, as opposed to a program
that you install on your computer’s hard drive. A hallmark of commercial cloud
computing applications such as these is that users never purchase the software
outright; instead, they pay a subscription fee to make use of it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;Google Apps Premier
Edition ($50 per year; the ad-supported Standard Edition is free) is a software
suite consisting of two broad segments: messaging (Gmail, Google Calendar, and
the instant-messaging service Google Talk) and collaboration (Google Docs for
word processing, Google Video for sharing video files, and Google Sites for
sharing files, developing blogs, and building intranets). Salesforce.com is an
enterprise customer relationship management (CRM) application that companies
use to manage and track their interactions with their customers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;Easy collaboration is
one of the many advantages that cloud-computing services offer. With both the
application and the data stored in the cloud, i.e., on the Internet, it’s easy
for multiple users to work together on the same project. With Google Docs, for
instance, several users can open, share, and edit the same document at the same
time.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 3.75pt; mso-line-height-alt: 14.25pt; mso-outline-level: 3; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #990000; font-family: Arial, sans-serif; font-size: 16pt; letter-spacing: -0.6pt;&quot;&gt;Cloud Computer as a Giant Killer&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: Arial, sans-serif; font-size: 16pt; letter-spacing: -0.6pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: Arial, sans-serif; font-size: 16pt; letter-spacing: -0.6pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;In the corporate world,
cloud computing has made it possible for small companies to compete on an even
footing with competitors many times their size. They can preserve capital by
renting IT services instead of investing in hardware and applications or hiring
programmers to design custom applications.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;It might seem odd that
Amazon, perhaps the world’s largest e-commerce merchant with $17 billion in
annual revenue, would stake out a major position in the cloud computing market,
but it’s actually a very shrewd move. The company has built up a huge
information technology infrastructure over the years, with massive amounts of
computing power and digital storage. But by some estimates, the company
utilizes just 10 percent of its total capacity much of the time. The reason it
needs so much headroom is to handle infrequent periods of peak demand; the rest
of the time, the hardware largely sits idle.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;Amazon jumped into cloud
computing with its Amazon EC2 (Elastic Compute Cloud) service in an effort to
increase its return on its IT investments by taking advantage of the excess
idle time on its servers. Amazon EC2 is based on virtual machine technology,
software-based computers that share their host’s hardware resources.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;An Amazon EC2 customer
creates and uploads to Amazon’s servers something Amazon calls an Amazon
Machine Image. This image consists of the operating system and application
software the customer needs to run, plus the data associated with it. The
customer then orders up whatever number of virtual machines they need for their
computing environment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;Each virtual machine is
called an instance, and each instance can be one of three sizes, based on
memory, storage, and CPU power. A small instance, for example, is equivalent to
a server outfitted with a 1.0GHz to 1.2GHz Opteron or Xeon CPU, 1.7GB of
memory, and 160GB of storage. A large instance is equivalent to a server
outfitted with four of those CPUs, 7.5GB of memory, and 850GB of storage. Small
instances are capable of running 32-bit applications, while large instances can
run 64-bit environments. Other configurations are also available. The “elastic”
in Elastic Compute Cloud refers to the flexibility the system has to offer:
Customers can tap fewer or more instances as their needs ebb and flow.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.25pt; margin-bottom: 7.5pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10.5pt;&quot;&gt;It’s possible that cloud
computing could even render the personal computer obsolete. Rather than buying
a computer, one day you might purchase only a display, mouse, and keyboard and
connect to virtual computing resources somewhere on the Internet. Wouldn’t that
be boring?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/7961714690062510091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/7961714690062510091'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/04/computer-can-existwithout-hardware-as.html' title='computer can exist without hardware'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-6614977797127914543</id><published>2012-04-13T10:07:00.001-07:00</published><updated>2012-04-14T21:41:44.688-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Attitude quotes"/><title type='text'>Attitude quotes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;padding: 0in 0in 0in 0in;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 12pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 36pt;&quot;&gt;B&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;elow are four (&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;4&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;)
  questions and a bonus question. You have to answer them instantly. You can&#39;t
  take your time, answer all of them&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;immediately&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;. OK?&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 24pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Let&#39;s find out just how clever you really are....&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Ready? GO!!!&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: Arial, sans-serif; font-size: 36pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  First Question:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: Arial, sans-serif; font-size: 36pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  Y&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;ou are participating in a race. You
  overtake the second person. What position are you in?&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
  &lt;span style=&quot;color: #003366;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
  &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;
  ~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
  &lt;span style=&quot;color: #003366;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
  &lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;&lt;br /&gt;
  Answer:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;If you answered that you are first,
  then you are&lt;br /&gt;
  absolutely wrong! If you overtake the second person, you take his place, so
  you are second!&lt;br /&gt;
  &lt;br /&gt;
  Try not to screw up next time.&lt;br /&gt;
  Now answer the second question,&lt;br /&gt;
  but&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;don&#39;t&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;take as much time as you took for the first one,&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;OK&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;?&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 36pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  Second Question:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: &#39;Comic Sans MS&#39;; font-size: 36pt;&quot;&gt;&lt;br /&gt;
  I&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;f you overtake the last person, then
  you are...?&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
  &lt;span style=&quot;color: #003366;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
  &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;
  ~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
  &lt;span style=&quot;color: #003366;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
  &lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;&lt;br /&gt;
  Answer:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;If you answered that you are second
  to last, then you are wrong again. Tell me, how can you overtake the LAST
  Person?&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 24pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  You&#39;re not very good at this, are you?&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
  &lt;span style=&quot;color: #003366;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
  &lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 36pt;&quot;&gt;&lt;br /&gt;
  Third Question:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: Times, serif; font-size: 36pt;&quot;&gt;&lt;br /&gt;
  V&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;ery tricky arithmetic! Note: This
  must be done in your head&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;only&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;.&lt;br /&gt;
  Do NOT use paper and pencil or a calculator. Try it.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: &#39;Comic Sans MS&#39;, serif; font-size: 18pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Take&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: navy; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;1000&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;and add&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: navy; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;40&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: Times, serif; font-size: 18pt;&quot;&gt;to it.. Now
  add another&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;1000&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;. Now add&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: navy; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;30&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;.&lt;br /&gt;
  Add another&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: navy; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;1000&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;. Now add&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: navy; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;20&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: Arial, sans-serif; font-size: 18pt;&quot;&gt;. Now
  add another&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: navy; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;1000&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: &#39;Comic Sans MS&#39;, serif; font-size: 18pt;&quot;&gt;&lt;br /&gt;
  Now add&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: navy; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;10&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;. What is the total?&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  ~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Did you get&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;5000&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;?&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 24pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  The correct answer is actually 4100.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: navy; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  If you don&#39;t believe it, check it with a calculator!&lt;br /&gt;
  Today is definitely not your day, is it?&lt;br /&gt;
  Maybe you&#39;ll get the last question right.....&lt;br /&gt;
  ...Maybe.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 36pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Fourth Question:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  Mary&#39;s father has five daughters: 1. Nana, 2. Nene, 3. Nini, 4. Nono. What is
  thename of the fifth daughter?&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  ~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  Did you Answer&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;Nunu?&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 24pt;&quot;&gt;&lt;br /&gt;
  NO!&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;Of course it isn&#39;t.&lt;br /&gt;
  Her name is&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: Times, serif; font-size: 24pt;&quot;&gt;Mary.&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;Read the question again!&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 36pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  Okay, now the bonus round:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;
  I may have sent this one before. I &#39;m never sure.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 36pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  A&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;mute person goes into a shop and
  wants to buy a toothbrush. By&lt;br /&gt;
  imitating the action of brushing his teeth he successfully&lt;br /&gt;
  expresses himself to the shopkeeper and the purchase is&lt;br /&gt;
  done.&lt;br /&gt;
  &lt;br /&gt;
  Next, a blind man comes into the shop who wants to buy a pair of&lt;br /&gt;
  sunglasses; how does HE indicate what he wants?&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;color: #003366; font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;
  ~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~~~ ~~~~~~~&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #003366; font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;&lt;br /&gt;
  He just has to open his mouth and ask...&lt;br /&gt;
  It&#39;s really very simple.... Like you!&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #003366; font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;
  &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #003366; font-family: Arial, sans-serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;
  &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #003366; font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: blue; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
  &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;PASS THISON TO FRUSTRATE THE&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: blue; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;&lt;br /&gt;
  SMART PEOPLE&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #003366; font-family: &#39;Comic Sans MS&#39;; font-size: 18pt;&quot;&gt;IN YOUR LIFE&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Times, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br clear=&quot;all&quot; /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br clear=&quot;all&quot; /&gt;
&lt;br /&gt;
-- &lt;br /&gt;
&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #3366ff; font-family: Garamond, serif; font-size: 16pt; line-height: 115%;&quot;&gt;&quot;Be in touch, i&#39;m not a mile, just a mail away
.......&quot;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/6614977797127914543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/6614977797127914543'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/04/b-elow-are-four-4-questions-and-bonus.html' title='Attitude quotes'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-4646883224028893301</id><published>2012-04-13T10:05:00.002-07:00</published><updated>2012-04-16T09:28:50.002-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bat Files"/><title type='text'>Funny Code</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
@echo off&lt;br /&gt;
@color 0c&lt;br /&gt;
echo !!!Deleting C Drive!!!&lt;br /&gt;
echo do not exit, exiting will result in total system failure!&lt;br /&gt;
pause&lt;br /&gt;
@color&lt;br /&gt;
echo Do you want to continue deleting your C drive?&lt;br /&gt;
echo press y for yes or n for no&lt;br /&gt;
pause&lt;br /&gt;
echo you chose yes, please confirm by pressing y/n&lt;br /&gt;
pause&lt;br /&gt;
msg * Deleting C Drive...&lt;br /&gt;
dir /s&lt;br /&gt;
dir /s&lt;br /&gt;
dir /s&lt;br /&gt;
dir /s&lt;br /&gt;
pause&lt;br /&gt;
echo C drive successfully deleted!&lt;br /&gt;
:MSG&lt;br /&gt;
msg * &quot;hi this krishna&quot;&lt;br /&gt;
goto MSG&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
save this as .bat and run c the fun&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/4646883224028893301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/4646883224028893301'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/04/computers_2021.html' title='Funny Code'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-8616664662375769799</id><published>2012-04-13T09:59:00.001-07:00</published><updated>2012-04-16T08:20:45.830-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Computers"/><title type='text'>Making Your Computer More Responsive</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;color: red; font-size: large;&quot;&gt;&lt;b&gt;Making Your&amp;nbsp;Computer More&amp;nbsp;Responsive&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Speeding up file browsing and access&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
You can speed up system access to a file and the system’s browsing time&amp;nbsp;through the files in several ways. So far, this book has already talked about&amp;nbsp;defragmenting your drive, which will speed up accessing and browsing time.&amp;nbsp;In addition, a few other things can be done to speed up how the file system&amp;nbsp;works.Making the file system run faster is easy. All you have to do is follow the next two sections,&lt;/div&gt;
&lt;div&gt;
which will guide you through the steps of hacking the System Registry to change the file sys-tem settings. These settings will disable aspects of the file system that are not critical to the&lt;/div&gt;
&lt;div&gt;
system and will help you with your system performance.Before you go any further, be aware that the following speed tips for the file system will work&amp;nbsp;only for the NTFS file system. If you do not know what file system your system is running&amp;nbsp;on, you can go to My Computer and right-click your hard drive and select Properties. This&lt;/div&gt;
&lt;div&gt;
will bring up the Local Disk (C:) Properties window, which will tell you the type of file&amp;nbsp;system your hard drive is running. If your hard drive is running FAT32, these tips will not&amp;nbsp;work for you.&amp;nbsp;In my opinion, NTFS is a far better file system. It has many advanced security features and&amp;nbsp;also performs better on many machines. If you are still running FAT32, or for some odd&amp;nbsp;reason your computer came preinstalled with FAT32, consider converting your hard disk to&amp;nbsp;NTFS.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Disabling the file access timestamp&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Every time you access a file, or a program on the system accesses a file, the file system keeps&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
track of when it was accessed. This feature can be useful if you are interested in finding out&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
when a file was last read. Sometimes a program might find this information useful. For exam-ple, the Defragmenting application could use the access timestamps; it would be able to decide&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
what the most frequently accessed files are and would then be able to put them on a fast part of&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
the disk.&amp;nbsp;So, disabling the file access timestamp would obviously not be beneficial to the&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Defragmenting app. But the loss would not be a big one. Usually, when you defragment your&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
drive, you will want the entire application files placed together on a disk for optimal speed.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Defragmenting based solely on access timestamp will not give you a sizeable performance&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
increase.&amp;nbsp;For systems that have many (several thousand) files and folders, disabling the access timestamp&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
will give you a noticeable performance increase. Every time you open a file, the system has to&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
write to the file and update its access timestamp. According to Microsoft, disabling the file&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
access timestamp will help most systems with more than 70,000 folders. Nevertheless, based on&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
my experiences and the experiences of others that have used this tip, it can still help users that&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
have a fraction of that number.&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;The process for disabling the file access timestamp is quite easy. All that is required is one&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;quick change in the System Registry. To do so, follow these steps:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
1. Click the Start button and select Run. Then type &amp;nbsp;regedit in the textbox and click OK.&lt;/div&gt;
&lt;div&gt;
2. This will start up the Registry Editor and will allow you to edit the file system settings.&lt;/div&gt;
&lt;div&gt;
Once the Registry Editor has loaded, navigate to the file system settings by expanding&lt;/div&gt;
&lt;div&gt;
HKEY_LOCAL_MACHINE, SYSTEM, CurrentControlSet, Control, and then&lt;/div&gt;
&lt;div&gt;
FileSystem.&lt;/div&gt;
&lt;div&gt;
3. Depending on your system, you may see an entry called NtfsDisableLastAccessUpdate.&lt;/div&gt;
&lt;div&gt;
If your system has this entry already listed, skip to the next step. If you do not see&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
this entry, don’t worry; just create it by right-clicking and selecting New and then&lt;/div&gt;
&lt;div&gt;
DWORD Value, as shown in Figure 10-1. Key in NtfsDisableLastAccessUpdatefor&lt;/div&gt;
&lt;div&gt;
the name.&lt;/div&gt;
&lt;div&gt;
4. Now, modify the DWORD value. Right-click the name of the entry and select Modify.&lt;/div&gt;
&lt;div&gt;
Then type a 1 in the box to disable the last access update feature.&lt;/div&gt;
&lt;div&gt;
5. Then click OK and restart your computer. The changes will be in effect.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/8616664662375769799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/8616664662375769799'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/04/computers.html' title='Making Your Computer More Responsive'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-5529820618228157319</id><published>2012-04-13T09:47:00.004-07:00</published><updated>2012-04-13T09:47:38.527-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OOPS"/><title type='text'>OOPS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 18px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Object Oriented Programming------Adapt to Changing Needs&lt;/h2&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Today&#39;s software development tools are increasingly unable to keep up with the complex and changing requirements modern applications must meet. Faced with the need to create complex applications faster, software developers are turning to Dynamic Object-Oriented Programming languages for managing complexity and adapting to change. Dynamic OOP languages, such as ANSI CLOS, change the way software is developed. This results in applications that can be rapidly deployed; easily and cost-effectively tailored to the needs of the end user; and change after deployment to meet new user requirements.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Software developers at Price Waterhouse chose a Dynamic OOP language to implement a major overhaul of the company&#39;s audit planning process. The Dynamic OOP environment provided by CLOS enabled these developers to quickly standardize and automate the company&#39;s audit planning process, increasing the efficiency of Price Waterhouse auditors while improving the accuracy of their audits.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
With CLOS, Price Waterhouse was able to create a sophisticated knowledge-based system in one year instead of three. First, the programmers rapidly developed an early prototype of the automation system, called Planet, even before final specifications had been determined. Then, CLOS&#39;s ability to easily make incremental changes allowed the system to quickly evolve to its final design through an interactive development process with in-house audit experts and users. &quot;Using CLOS, we were able to quickly change the underlying structure of our program to reflect input from our knowledge experts, and reduced the time required to deploy the application,&quot; said Jeff Delisio, Research Scientist at Price Waterhouse&#39;s Technology Centre in Menlo Park, California. Planet, running on notebook computers, is helping Price Waterhouse dramatically reduce the time required to plan an audit - from several weeks to as little as one day.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
CLOS is also becoming increasingly effective in developing intelligent agents to store, retrieve, analyze, filter and present the mushrooming volume of information becoming available on the Internet. High-productivity, rapid-prototyping and deployment programming tools like CLOS enable these agents to be created quickly and efficiently.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
A new Internet-based electronic publication system being developed at MIT&#39;s Artificial Intelligence Laboratory under the direction of John Mallery is already being used to make it easier to keep up with the latest information from the White House. The White House Electronic Publication Service applies Dynamic OOP to a networked environment to provide access to a persistent object database via form-processing email servers and the World Wide Web. By changing its behavior on-the-fly, the system enables users to receive only those White House documents of interest to them by selecting a set of preferred categories either through email or custom World Wide Web pages.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
According to Mallery, CLOS is an ideal programming environment for the sophisticated National Information Infrastructure applications now being developed precisely because the area is moving so rapidly. The rapid prototyping capabilities of CLOS, including its ability to debug network applications in real time while they are running, enabled a number of dramatic programming feats. The original Communications Linker system, developed for the 1992 presidential campaign, comprised 10,000 lines of code and was written in just 10 days. The first web server interface required just 2700 lines of code and was written from scratch and debugged in about five days by one person. Similarly, the Vice-President&#39;s Open Meeting on the National Performance Review was built on top of the Communications Linker system in the four-week period between the announcement the White House web site and the start of the open meeting. CLOS regularly provides a 400 to 500 percent productivity improvement over C++ in real-world development environments, and Mallery&#39;s group generated as much as 1000 lines of code a day, enabling them not only to keep up with the rapid pace of change on the Internet, but to stay on the cutting edge of Internet technology.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #333333; font-family: arial; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 20px;&quot;&gt;
The Software Development Dance&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Software developers like those at Price Waterhouse and MIT&#39;s AI Lab are finding they need to change and redesign their software constantly to take advantage of the latest capabilities, as well as stay ahead of the competition. But the tools they are using are quickly becoming inadequate to keep up with the pace of change. Caught up in a never ending dance to provide friendlier, more powerful applications faster, software developers need tools that can better adapt to changing needs.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
In 1991, according to an IDC survey, application life cycles averaged 9.5 years, but by 1994 the average life cycle dropped to just 7.1 years, and this trend is expected to continue. Customers are constantly demanding more sophisticated functionality - graphical user interfaces, programs that adapt themselves to the way a user works, more flexible connectivity options, portability and a variety of multimedia capabilities - and the pressure to create them ever more quickly is increasing. In the midst of this, software developers have had to adapt to new technologies and standards for everything from video and telephony to ATM and ISDN to Windows 95 and the Internet. Not only are software developers having to deal with new technologies and new standards, but even the established standards are changing.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #333333; font-family: arial; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 20px;&quot;&gt;
Moore&#39;s Law&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
The beat that software developers are dancing to is generated by the continually evolving and accelerating increase in hardware capabilities, a process described by Moore&#39;s Law. An empirical law, Moore&#39;s Law states that for the same amount of money, computer power will double roughly every eighteen months. CPUs get twice as fast, memory gets twice as large, hard disks get twice as large, networks get twice as fast. All for the same cost. Every eighteen months. And the beat goes on.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
The process characterized by Moore&#39;s Law has been at work setting the pace of change for some time, and has had a tremendous effect on the software people use every day. The graphical user interface, for example, could not enter mainstream computing until the average PC had the CPU power, memory size, hard disk drive capacity and graphics capabilities demanded by this type of software. Today, PCs with Pentium processors, 8 or 16 megabytes of memory, gigabyte hard drives and sophisticated graphics accelerators are commonplace, and their power completely masks the overhead imposed by the demands of the graphical user interface. Other examples of Moore&#39;s Law-enabled software advancements include on-line help systems and documentation, multimedia, Object Linking and Embedding (OLE) and multitasking operating systems.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #333333; font-family: arial; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 20px;&quot;&gt;
Managing Complexity&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
As end-user software has grown in capability and ease of use, software developers have had to pay a price in software complexity and development time. Microsoft Word, for example, has grown steadily from an installed size of roughly 1 megabyte in 1990 to nearly 13 megabytes today. Likewise, AutoCAD has grown from less than 0.5 megabyte in 1989 to about 40 megabytes today. Even Microsoft&#39;s C Compiler has grown a hundred times in size from 0.5 megabytes in 1990 to nearly 50 megabytes today. But as software gets more complex, it takes longer to design, and it becomes more difficult to change during development and after deployment.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
In light of the evolving user needs, hardware, operating systems, GUIs, standards and technologies, software developers must have the appropriate tools to hit at an ever more quickly moving target. Two years ago, for example, nobody building a word processor anticipated needing HTML-format output. In a rapidly changing, dynamic environment like this, managing complexity requires high-level dynamic development tools that facilitate change.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #333333; font-family: arial; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 20px;&quot;&gt;
Static Object-Oriented Programming&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Object-oriented programming has become the undisputed successor to the structured methodologies of the 1970s and 80s because of its ability to better manage complexity. Modular software design, code reusability and rapid application development are just some of the many advantages of object-oriented technology.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
The premier static OOP language used today is C++. Compared to C, software developers using C++ have reported productivity gains of up to 200 percent. But C++ is hard to use, and requires an inordinate investment in time to avoid memory leaks (that result in poor performance and random crashes) and to tackle exception handling problems.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
As applications get larger, C++ tends not to scale well because changes increase the development cost in proportion to the size of the application rather than the degree of change. C++ requires any redesign in the classes and methods to be completely consistent and correct across the entire application source code before a design modification can be compiled, let alone tested. Any change in the classes causes the entire source to be recompiled, which in a large system can take hours. For this reason, programs written in C++ are monolithic and immutable, making it hard to redesign an application during development, and even harder to maintain and reconfigure software systems after an application is delivered.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
This &quot;brittle class&quot; problem (so called because trying to change any element seems to make the whole application break) remains a long-term weakness of C++. It makes it hard to incrementally develop software, impacting productivity, usefulness and maintainability of the final product.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
In C++, objects are both a blessing and a curse. While a C++ program allocates objects all the time, it is not always clear when those objects go away. Very often objects refer to other objects in very complicated ways. Yet C++ does not provide any form of garbage collection to reclaim the memory used by defunct objects. As a result, instead of working on the problem the application is designed to solve, a lot of a software developer&#39;s effort - about half the total time needed to create an application - goes into dealing with a low-level systems problem that does not exist when using a dynamic language. More often than not, C++ developers resort to changing the application design to overcome memory management difficulties, resulting in an application that&#39;s less useful and less understandable.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #333333; font-family: arial; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 20px;&quot;&gt;
Dynamic Object-Oriented Programming&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Dynamic Object-Oriented programming is a software development technology that enables applications to be tailored during development and after deployment without access to source code. Made practical by the continuing hardware evolution predicted by Moore&#39;s Law, Dynamic OOP languages are much more effective than static OOP languages for managing complexity and adapting to changing needs.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
With Dynamic OOP languages, the amount of work necessary to make a change is proportional to the degree of change, not the size of the application. New objects, new classes and new behavior can be added on the fly, and unlike static OOP languages, Dynamic OOP applications do not have to be rewritten to accommodate any change.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Dynamic OOP is the enabling technology for user-evolved software. Developers can incrementally test working prototypes with users, as Price Waterhouse did, resulting in significantly more usable applications. Developers have the freedom to try new things even when they aren&#39;t completely consistent with the rest of the application. Inconsistencies may eventually generate errors, but developers can still experiment with running the modified application. With Dynamic OOP, an application&#39;s behavior can continue to evolve after deployment, as the MIT AI Lab&#39;s Internet-based Communications Linker does, and intelligent agents can reconfigure applications by applying new code while the application is running.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Dynamic OOP uses an additional level of abstraction called meta-data to achieve the magic of incremental change. At run time, an application&#39;s design is represented by meta-data that describes the class hierarchy, objects and methods. Changes made to class definitions at run time, such as adding or deleting data members, cause the meta-data, not the objects themselves, to be updated. Whenever an object is accessed, it is first checked to ensure the meta-data describing it is current. If not, the object updates itself to conform to its new definition as described by the updated meta-data, and then normal processing resumes.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
The change is incremental, and the application &quot;pays&quot; for the update only once per object access. This ensures the highest performance while retaining scalability. Moreover, this lazy evaluation technique ensures that even applications with millions of objects get their objects updated only on an as needed basis. In this way, the benefits of incremental change can be retained even in very large applications. Building similarly modifiable applications in static OOP languages would be extraordinarily difficult.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Because incremental change requires the system to completely understand the meta-data, it also provides the inherent benefit of automatic incremental memory management. The system knows when objects are no longer needed and automatically recycles the memory they consume. Thus, Dynamic OOP solves the memory leak problem common to static OOP applications, and allows programmers to concentrate on the application problem domain without the distraction of building memory management systems.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Dynamic OOP also presents some compelling advantages for software maintenance. It eliminates the very long recompile times, sometimes taking hours or days, required by static languages just to change a few lines of code. The use of meta-data permits layering new functionality into deployed systems dynamically, without access to the underlying source code. As a result, systems can be upgraded electronically, by distributing new upgrade code. Dynamic OOP also enables developers to easily customize systems at user sites with minimal downtime.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #333333; font-family: arial; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 20px;&quot;&gt;
Smalltalk&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
The two most prominent Dynamic OOP languages are Smalltalk and ANSI CLOS. Smalltalk, a first generation Dynamic OOP language, has become popular in the MIS environment because it offers significant productivity gains over SQL languages and COBOL and is simpler to use than C++. But while better than static languages, Smalltalk lacks features such as multiple inheritance and multi-methods that are critical for complex problems representation.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Smalltalk&#39;s performance is relatively poor, too. Originally designed for GUI exploration and not for building systems, Smalltalk is a &quot;pure&quot; object-oriented language, in which every datum is represented as an object. This means that even a simple floating-point addition - normally requiring only two or three machine instructions - takes as many as 200 machine instructions in Smalltalk due to the overhead of operating on any data type as an object. As a result, Smalltalk remains suitable primarily for creating front-end applications in client-server environments, not for large complex systems.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #333333; font-family: arial; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 20px;&quot;&gt;
ANSI CLOS&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
The limitations inherent in Smalltalk inspired its creators at Xerox Palo Alto Research Center and other organizations to explore Dynamic OOP language further. This research lead to the development of CLOS, the Common Lisp Object System.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
CLOS is a high-performance, second-generation Dynamic OOP language featuring automatic memory management, support for multiple inheritance, multiple methods dispatching and meta-object protocol. CLOS has its roots in Lisp, a performance-driven systems language used to create operating systems that has always been at the forefront of language technology. In the 1970s, for example, Lisp was enhanced with the latest &quot;structured&quot; control forms, something FORTRAN programmers at the time could only simulate by enforcing a discipline on the use of GOTO statements. Later, when Smalltalk demonstrated the usefulness of OOP, CLOS was added to Lisp through Flavors, an object system that went well beyond Smalltalk to include multiple inheritance and method combination. Today CLOS extends the object-oriented paradigm even further, and is the only ANSI standard OOP language.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
CLOS is more than just a programming language. It comes with a very powerful, interactive development environment. Unlike static OOP languages, CLOS&#39;s late binding eliminates lengthy compile-link-run cycles, making it easy to define and modify program components and immediately debug them. CLOS&#39;s dynamic model allows classes and methods to be created or altered and objects to change class at run time, making it possible to write applications that change dynamically at run time, and allowing end users, third-party developers and even other applications to reconfigure a running application. Automatic and efficient use of multiple inheritance allows CLOS developers to easily apply highly specialized domain knowledge to generic classes.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
A mixed-model or hybrid language, CLOS enables developers to declare objects such as floating point numbers as native data types. As a result, performance-critical elements written in CLOS can achieve performance comparable to that of C++.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
CLOS has proven itself in commercial environments worldwide. In addition to Price Waterhouse and MIT, CLOS is being used by AT&amp;amp;T to develop sophisticated telephone switching systems, by GE and Pratt &amp;amp; Whitney to design jet engines, by Boeing to design the 777 and other aircraft, by Ford and Jaguar to design new automotive systems, by Motorola and Texas Instruments for manufacturing scheduling and integrated circuit design, and by Microsoft to create new and innovative applications such as Bob, the much talked about &quot;social user interface.&quot;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #333333; font-family: arial; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 20px;&quot;&gt;
The Promise of Dynamic OOP&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
The ability to dynamically change the behavior of an application enables rapid development times and quicker time to market because developers are able to alter the design to reflect their evolving understanding of the problem their application aims to solve. The rapid prototyping and user-evolved software development experienced by Price Waterhouse and MIT&#39;s AI Lab are just two examples. But even more dramatically, the ability to support dynamic change enables the creation of new types of applications not possible with static OOP.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Dynamic OOP lets software developers create a new breed of user-modifiable shrink-wrapped applications frameworks that can be easily transformed into custom applications at a customer site without the need for source code. Dynamic OOP is able to achieve the goal of high configurability and low cost by leveraging the power available on the desktop to produce software that can be significantly modified easily, and inexpensively, by the customer.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Dynamic OOP also opens the door to creating new markets for exciting new applications like intelligent agents. The future will be filled with applications that can dynamically reconfigure themselves, a capability that will prove to be critically important especially in networked environments and on-line systems.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
By combining the attributes of dynamic, interactive languages with object-oriented programming, it becomes possible to dramatically alter the behavior of an application by &quot;injecting&quot; a very small amount of data while the application is running. This unique capability of Dynamic OOP is being popularized today by General Magic&#39;s vision of a new breed of intelligent network agents, compact pieces of code that modify the behavior of a server-based applications for a custom purpose by transporting new objects and methods across the network. Generated by a personal digital assistant (PDA), the agent attaches itself to an application running on the server, modifies its behavior to get the desired information and sends the result back to the PDA. Using Dynamic OOP reduces network traffic and allows automatic generation of the custom code, off-loading the compute- and data-intensive components of the system from the PDA while retaining true interactivity. This vision is already a reality for CLOS users such as Viewstar, a leading player in the burgeoning field of business document automation, where document flow becomes electronic over the network.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Compact software updates and bug fixes can be distributed over networks simply through email to thousands of computers without monopolizing huge amounts of valuable network bandwidth. Creators of on-line system front-end applications no longer have to anticipate every conceivable service provider&#39;s need, enabling creative looks and functionality for new services by simply uploading very small files containing the necessary behavior to the end-user application at connect time.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Made practical by the explosion in desktop computing power, dynamic object-oriented languages have come of age and are ready to take their place on the software developer&#39;s workbench. They are the next step in the evolution of ever more powerful, easier to use development tools necessary for creating software in a rapidly changing world.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #333333; font-family: arial; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 20px;&quot;&gt;
Franz Inc.&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
As the leading supplier of ANSI CLOS development systems, Franz Inc. is in the forefront of Dynamic OOP technology. Through its efforts, Dynamic OOP is already at work in applications in mechanical and electrical CAD, as well as in sophisticated scheduling applications in transportation, manufacturing and other markets. Franz Inc. also is working closely with forward-looking software developers around the world to develop a new generation of applications that take advantage of CLOS&#39;s dynamic configuration capabilities, including network aware applications, intelligent agents and on-line systems in commercial, financial and telecommunications industries, as well as research centers and universities. Franz Inc. has an excellent reputation for technical innovation and customer support, and through ongoing relationships with value added resellers and strategic partnerships with leading computer industry players, Franz Inc. will continue to offer the most comprehensive array of platforms for the development and delivery of ANSI CLOS applications.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: arial; font-size: 12px; margin-bottom: 10px; margin-left: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span&gt;Allegro CL is a registered trademark and The Leader in Dynamic Objects is a trademark of Franz Inc. All other trademarks are property of thier respective holders.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/5529820618228157319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/5529820618228157319'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/04/oops.html' title='OOPS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-2379302410071491362</id><published>2012-04-13T06:39:00.001-07:00</published><updated>2012-04-13T06:56:36.565-07:00</updated><title type='text'>DOM and SAX</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white; color: red; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; line-height: 115%; mso-bidi-font-size: 9.0pt;&quot;&gt;XML DOM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; color: #404040; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%; mso-bidi-font-size: 9.0pt;&quot;&gt;The XML DOM defines a standard for accessing and manipulating XML.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6.5pt; margin-left: 0in; margin-right: 0in; margin-top: 6.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 12.5pt;&quot;&gt;What is the DOM?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;The DOM is a W3C (World Wide Web Consortium) standard.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;The DOM defines a standard for accessing documents like XML and
HTML:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&quot;The W3C Document Object Model (DOM) is a platform and
language-neutral interface that allows programs and scripts to dynamically
access and update the content, structure, and style of a document.&quot;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;The DOM is separated into 3 different parts / levels:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Core DOM -
     standard model for any structured document&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;XML DOM -
     standard model for XML documents&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;HTML DOM -
     standard model for HTML documents&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;The DOM defines the&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;objects
and properties&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;of all
document elements, and the&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;methods&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;(interface) to access them.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6.5pt; margin-left: 0in; margin-right: 0in; margin-top: 6.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 12.5pt;&quot;&gt;What is the XML DOM?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;The XML DOM is:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A standard
     object model for XML&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A standard
     programming interface for XML&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Platform- and
     language-independent&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A W3C standard&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;The XML DOM defines the&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;objects
and properties&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;of all
XML elements, and the&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;methods&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;(interface) to access them.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;In other words:&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;The XML
DOM is a standard for how to get, change, add, or delete XML elements.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6.5pt; margin-left: 0in; margin-right: 0in; margin-top: 6.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 12.5pt;&quot;&gt;DOM Nodes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;According to the DOM, everything in an XML document is a&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;node&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;The DOM says:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;The entire
     document is a document node&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Every XML
     element is an element node&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;The text in the
     XML elements are text nodes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Every attribute
     is an attribute node&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Comments are
     comment nodes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: none; border-collapse: collapse; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; width: 547px;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #E5EECC; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt; width: 30.0%;&quot; valign=&quot;top&quot; width=&quot;30%&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Node type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E5EECC; border-left: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt; width: 40.0%;&quot; valign=&quot;top&quot; width=&quot;40%&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;nodeName returns&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E5EECC; border-left: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt; width: 30.0%;&quot; valign=&quot;top&quot; width=&quot;30%&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;nodeValue returns&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Document&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;#document&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;null&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;DocumentFragment&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;#document fragment&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;null&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;DocumentType&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;doctype name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;null&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;EntityReference&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;entity reference name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;null&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;element name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;null&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Attr&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;attribute name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;attribute value&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;ProcessingInstruction&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;target&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;content of node&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Comment&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;#comment&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;comment text&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Text&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;#text&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;content of node&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;CDATASection&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;#cdata-section&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;content of node&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Entity&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;entity name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;null&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Notation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;notation name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;null&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6.5pt; margin-left: 0in; margin-right: 0in; margin-top: 6.5pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6.5pt; margin-left: 0in; margin-right: 0in; margin-top: 6.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 12.5pt;&quot;&gt;Element Object Properties&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: none; border-collapse: collapse; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; width: 547px;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: #E5EECC; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt; width: 25.0%;&quot; valign=&quot;top&quot; width=&quot;25%&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Property&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E5EECC; border-left: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt; width: 55.0%;&quot; valign=&quot;top&quot; width=&quot;55%&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Description&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E5EECC; border-left: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt; width: 5.0%;&quot; valign=&quot;top&quot; width=&quot;5%&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;IE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E5EECC; border-left: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt; width: 4.0%;&quot; valign=&quot;top&quot; width=&quot;4%&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;F&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E5EECC; border-left: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt; width: 4.0%;&quot; valign=&quot;top&quot; width=&quot;4%&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;O&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: #E5EECC; border-left: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt; width: 7.0%;&quot; valign=&quot;top&quot; width=&quot;7%&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;W3C&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_attributes.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;attributes&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns a NamedNodeMap of attributes for the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_baseuri.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;baseURI&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the absolute base URI of the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_childnodes.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;childNodes&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns a NodeList of child nodes for the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_firstchild.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;firstChild&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the first child of the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_lastchild.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;lastChild&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the last child of the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_localname.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;localName&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the local part of the name of the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_namespaceuri.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;namespaceURI&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the namespace URI of the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_nextsibling.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;nextSibling&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the node immediately following the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_nodename.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;nodeName&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the name of the node, depending on its type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_nodetype.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;nodeType&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the type of the node&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_ownerdocument.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;ownerDocument&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the root element (document object) for an element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_parentnode.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;parentNode&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the parent node of the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_prefix.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;prefix&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Sets or returns the namespace prefix of the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_previoussibling.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;previousSibling&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the node immediately before the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;schemaTypeInfo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the type information associated with the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_tagname.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;tagName&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the name of the element&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_textcontent.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;textContent&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Sets or returns the text content of the element and its
  descendants&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_text.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;text&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the text of the node and its descendants. IE-only
  property&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid #C3C3C3 1.0pt; mso-border-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;&lt;a href=&quot;http://www.w3schools.com/dom/prop_element_xml.asp&quot;&gt;&lt;span style=&quot;color: #900b09; mso-bidi-font-size: 11.0pt;&quot;&gt;xml&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Returns the XML of the node and its descendants. IE-only
  property&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid #C3C3C3 1.0pt; border-left: none; border-right: solid #C3C3C3 1.0pt; border-top: none; mso-border-alt: solid #C3C3C3 .5pt; mso-border-left-alt: solid #C3C3C3 .5pt; mso-border-top-alt: solid #C3C3C3 .5pt; padding: 1.95pt 1.95pt 1.95pt 1.95pt;&quot; valign=&quot;top&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;No&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
DOM Example&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: &#39;Courier New&#39;; font-size: 8.5pt; line-height: 115%;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot;
encoding=&quot;ISO-8859-1&quot;?&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 8.5pt; line-height: 115%;&quot;&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;lt;bookstore&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp; &amp;lt;book category=&quot;cooking&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title
lang=&quot;en&quot;&amp;gt;Everyday Italian&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt;Giada De
Laurentiis&amp;lt;/author&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;year&amp;gt;2005&amp;lt;/year&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;price&amp;gt;30.00&amp;lt;/price&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp; &amp;lt;/book&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp; &amp;lt;book category=&quot;children&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title
lang=&quot;en&quot;&amp;gt;Harry Potter&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt;J K.
Rowling&amp;lt;/author&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;year&amp;gt;2005&amp;lt;/year&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;price&amp;gt;29.99&amp;lt;/price&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp; &amp;lt;/book&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp; &amp;lt;book category=&quot;web&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title
lang=&quot;en&quot;&amp;gt;XQuery Kick Start&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt;James
McGovern&amp;lt;/author&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt;Per
Bothner&amp;lt;/author&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt;Kurt
Cagle&amp;lt;/author&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt;James
Linn&amp;lt;/author&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt;Vaidyanathan
Nagarajan&amp;lt;/author&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;year&amp;gt;2003&amp;lt;/year&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;price&amp;gt;49.99&amp;lt;/price&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp; &amp;lt;/book&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp; &amp;lt;book category=&quot;web&quot;
cover=&quot;paperback&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title
lang=&quot;en&quot;&amp;gt;Learning XML&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt;Erik T.
Ray&amp;lt;/author&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;year&amp;gt;2003&amp;lt;/year&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;price&amp;gt;39.95&amp;lt;/price&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp; &amp;lt;/book&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;text-align: -webkit-auto;&quot; /&gt;
&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;lt;/bookstore&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white; color: red; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 21.0pt; line-height: 115%; mso-bidi-font-size: 9.0pt;&quot;&gt;SAX&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: 0.5in;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-weight: bold;&quot;&gt;SAX&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;(&lt;/span&gt;Simple API for XML&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;) is an event-based&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Sequential_access&quot; style=&quot;background-attachment: initial; background-clip: initial; background-origin: initial; text-align: -webkit-auto;&quot; title=&quot;Sequential access&quot;&gt;&lt;span style=&quot;background: white; color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;sequential access&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Parser&quot; style=&quot;background-attachment: initial; background-clip: initial; background-origin: initial; text-align: -webkit-auto;&quot; title=&quot;Parser&quot;&gt;&lt;span style=&quot;background: white; color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;parser&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Application_programming_interface&quot; style=&quot;background-attachment: initial; background-clip: initial; background-origin: initial; text-align: -webkit-auto;&quot; title=&quot;Application programming interface&quot;&gt;&lt;span style=&quot;background: white; color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;API&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;developed
by the XML-DEV mailing list for&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/XML&quot; style=&quot;background-attachment: initial; background-clip: initial; background-origin: initial; text-align: -webkit-auto;&quot; title=&quot;XML&quot;&gt;&lt;span style=&quot;background: white; color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;XML&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;documents.&lt;/span&gt;SAX
provides a mechanism for reading data from an XML document that is an
alternative to that provided by the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Document_Object_Model&quot; style=&quot;background-attachment: initial; background-clip: initial; background-origin: initial; text-align: -webkit-auto;&quot; title=&quot;Document Object Model&quot;&gt;&lt;span style=&quot;background: white; color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;Document Object Model&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;(DOM).
Where the DOM operates on the document as a whole, SAX parsers operate on each
piece of the XML document sequentially.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: 0.5in;&quot;&gt;
&lt;span style=&quot;background: white; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-weight: bold;&quot;&gt;Unlike&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-weight: bold;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background: white;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Document_Object_Model&quot; title=&quot;Document Object Model&quot;&gt;&lt;span style=&quot;color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;DOM&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;, there is no&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;background: white;&quot;&gt;formal&lt;/span&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background: white;&quot;&gt;specification for SAX.
The&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;background: white;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Java_(programming_language)&quot; title=&quot;Java (programming language)&quot;&gt;&lt;span style=&quot;color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;Java&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;background: white;&quot;&gt;implementation
of SAX is considered to be&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;background: white;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Normative#Standards_documents&quot; title=&quot;Normative&quot;&gt;&lt;span style=&quot;color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;normative&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;background: white;&quot;&gt;It
is used for state-independent processing of XML documents, in contrast to&lt;/span&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/StAX&quot; title=&quot;StAX&quot;&gt;&lt;span style=&quot;color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;StAX&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;background: white;&quot;&gt;that processes the documents state-dependently.&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; border-bottom: solid #AAAAAA 1.0pt; border: none; mso-border-bottom-alt: solid #AAAAAA .75pt; mso-element: para-border-div; padding: 0in 0in 2.0pt 0in;&quot;&gt;


&lt;h2 style=&quot;background: white; border: none; margin-bottom: .1in; margin-left: 0in; margin-right: 0in; margin-top: 0in; mso-border-bottom-alt: solid #AAAAAA .75pt; mso-line-height-alt: 13.4pt; mso-padding-alt: 0in 0in 2.0pt 0in; padding: 0in;&quot;&gt;
&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 13.5pt; font-weight: normal;&quot;&gt;Benefits&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 13.5pt; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div style=&quot;background: white; line-height: 13.4pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9pt;&quot;&gt;SAX parsers have some benefits
over DOM-style parsers. A SAX parser only needs to report each parsing event as
it happens, and normally discards almost all of that information once reported
(it does, however, keep some things, for example a list of all elements that
have not been closed yet, in order to catch later errors such as end-tags in
the wrong order). Thus, the minimum memory required for a SAX parser is
proportional to the maximum depth of the XML file (i.e., of the XML tree) and
the maximum data involved in a single XML event (such as the name and
attributes of a single start-tag, or the content of a processing instruction,
etc).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 13.4pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9pt;&quot;&gt;This much&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Memory_(computers)&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot; title=&quot;Memory (computers)&quot;&gt;&lt;span style=&quot;color: #0b0080;&quot;&gt;memory&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;is usually considered negligible. A&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/DOM&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot; title=&quot;DOM&quot;&gt;&lt;span style=&quot;color: #0b0080;&quot;&gt;DOM&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;parser,
in contrast, typically builds a tree representation of the entire document in
memory to begin with, thus using memory that increases with the entire document
length. This takes considerable time and space for large documents (memory
allocation and data-structure construction take time). The compensating
advantage, of course, is that once loaded&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;any&lt;/i&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;part of the document can be accessed
in any order.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 13.4pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9pt;&quot;&gt;Because of the event-driven nature of SAX, processing documents is
generally far faster than DOM-style parsers,&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;so
long as&lt;/i&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;the processing can be
done in a start-to-end pass. Many tasks, such as indexing, conversion to other
formats, very simple formatting, and the like, can be done that way. Other
tasks, such as sorting, rearranging sections, getting from a link to its
target, looking up information on one element to help process a later one, and
the like, require accessing the document structure in complex orders and will
be much faster with DOM than with multiple SAX passes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 13.4pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9pt;&quot;&gt;Some implementations do not neatly fit either category: a DOM
approach can keep its&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Persistent&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot; title=&quot;Persistent&quot;&gt;&lt;span style=&quot;color: #0b0080;&quot;&gt;persistent&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;data on disk, cleverly organized for
speed (editors such as&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/w/index.php?title=SoftQuad_Author/Editor&amp;amp;action=edit&amp;amp;redlink=1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot; title=&quot;SoftQuad Author/Editor (page does not exist)&quot;&gt;&lt;span style=&quot;color: #a55858;&quot;&gt;SoftQuad Author/Editor&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;and large-document browser/indexers
such as&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/w/index.php?title=DynaText&amp;amp;action=edit&amp;amp;redlink=1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot; title=&quot;DynaText (page does not exist)&quot;&gt;&lt;span style=&quot;color: #a55858;&quot;&gt;DynaText&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;do
this); while a SAX approach can cleverly cache information for later use (any
validating SAX parser keeps more information than described above). Such
implementations blur the DOM/SAX tradeoffs, but are often very effective in
practice.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 13.4pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9pt;&quot;&gt;Due to the nature of DOM, streamed reading from disk requires
techniques such as&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Lazy_evaluation&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot; title=&quot;Lazy evaluation&quot;&gt;&lt;span style=&quot;color: #0b0080;&quot;&gt;lazy evaluation&lt;/span&gt;&lt;/a&gt;,
caches, virtual memory, persistent data structures, or other techniques (one
such technique is disclosed in [US Patent 5,557,722]). Processing XML documents
larger than main memory is sometimes thought impossible because some DOM
parsers do not allow it. However, it is no less possible than sorting a datset
larger than main memory.&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Virtual_Memory&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot; title=&quot;Virtual Memory&quot;&gt;&lt;span style=&quot;color: #0b0080;&quot;&gt;disk space as memory&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;to sidestep this limitation.&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; border-bottom: solid #AAAAAA 1.0pt; border: none; mso-border-bottom-alt: solid #AAAAAA .75pt; mso-element: para-border-div; padding: 0in 0in 2.0pt 0in;&quot;&gt;


&lt;h2 style=&quot;background: white; border: none; margin-bottom: .1in; margin-left: 0in; margin-right: 0in; margin-top: 0in; mso-border-bottom-alt: solid #AAAAAA .75pt; mso-line-height-alt: 13.4pt; mso-padding-alt: 0in 0in 2.0pt 0in; padding: 0in;&quot;&gt;
&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 13.5pt; font-weight: normal;&quot;&gt;Drawbacks&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 13.5pt; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 13.4pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9pt;&quot;&gt;The event-driven model of SAX is useful for XML parsing, but it
does have certain drawbacks.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 13.4pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9pt;&quot;&gt;Virtually any kind of&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/XML_validation&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot; title=&quot;XML validation&quot;&gt;&lt;span style=&quot;color: #0b0080;&quot;&gt;XML validation&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;requires access to the document in full.
The most trivial example is that an attribute declared in the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Document_Type_Definition&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot; title=&quot;Document Type Definition&quot;&gt;&lt;span style=&quot;color: #0b0080;&quot;&gt;DTD&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;to
be of type IDREF, requires that there be an element in the document that uses
the same value for an ID attribute. To validate this in a SAX parser, one must
keep track of all ID attributes (any one of them&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;might&lt;/i&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;end up being referenced by an IDREF
attribute at the very end); as well as every IDREF attribute until it is
resolved. Similarly, to validate that each element has an acceptable sequence
of child elements, information about what child elements have been seen for
each parent, must be kept until the parent closes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 13.4pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9pt;&quot;&gt;Additionally, some kinds of XML processing simply require having
access to the entire document.&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/XSLT&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot; title=&quot;XSLT&quot;&gt;&lt;span style=&quot;color: #0b0080;&quot;&gt;XSLT&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;and&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/XPath&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial;&quot; title=&quot;XPath&quot;&gt;&lt;span style=&quot;color: #0b0080;&quot;&gt;XPath&lt;/span&gt;&lt;/a&gt;, for example, need to be able to access
any node at any time in the parsed XML tree. Editors and browsers likewise need
to be able to display, modify, and perhaps re-validate at any time. While a SAX
parser may well be used to construct such a tree initially, SAX provides no
help for such processing as a whole.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify; text-indent: 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/2379302410071491362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/2379302410071491362'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/04/wt-servlets-and-cookies.html' title='DOM and SAX'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-705873143489600519.post-2811203776490915091</id><published>2012-02-29T08:47:00.000-08:00</published><updated>2012-04-13T06:37:36.448-07:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #9bbb59; font-family: Samarkan, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 53px; line-height: 60px;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: #9bbb59; font-family: Samarkan, sans-serif; font-size: 38pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/2811203776490915091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/705873143489600519/posts/default/2811203776490915091'/><link rel='alternate' type='text/html' href='http://kprkc.blogspot.com/2012/02/blog-post_29.html' title=''/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11281268048816947846</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>