<?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-1184499489140080510</id><updated>2026-02-20T03:20:39.993-08:00</updated><category term="Liferay"/><category term="GTBIT PRACTICAL"/><category term="Liferay Developers"/><category term="Liferay Service Providers"/><category term="Liferay Team"/><category term="USERDEFIEND EXCEPTION"/><category term="Automation Testing"/><category term="BINARY CONVERSION"/><category term="C PROGRAM"/><category term="CMS Developer"/><category term="DATABASE"/><category term="DECIMAL"/><category term="Developer"/><category term="FIBONACCI"/><category term="GROUP BY"/><category term="GTBIT"/><category term="GTBIT  JAVA PRACTICAL"/><category term="GTBIT JAVA PRACTICAL"/><category term="HBASE"/><category term="HEXADECIMAL"/><category term="Hadoop"/><category term="INHERITANCE IN JAVA"/><category term="Java Developers"/><category term="Liferay Java Portal"/><category term="Liferay Resources"/><category term="Liferay Team."/><category term="Liferay Themes"/><category term="Liferay helps."/><category term="Liferay in Action"/><category term="MAP REDUCE."/><category term="NIBBLE"/><category term="Open source"/><category term="PIG"/><category term="PRIME IN JAVA"/><category term="SCANNER"/><category term="SQL"/><category term="SUPER"/><category term="Selenium"/><category term="THREAD IN JAVA"/><category term="Testers"/><category term="Testing"/><category term="Themer"/><category term="USERDEFINED EXCEPTION"/><category term="Web Designer"/><category term="Web application Tester"/><category term="Windows"/><category term="datagrampacket datagramsocket"/><category term="diwali 2011"/><category term="diwali happy"/><category term="happy diwali 2011"/><category term="mouseevent in java"/><category term="notepad in java"/><category term="struts developer"/><category term="text editor in java"/><category term="uniform resource locator in java"/><category term="url"/><category term="urlin java"/><title type='text'>IT PROFESSIONALS</title><subtitle type='html'>IT Professionals is an online blog for all engineering graduates and professional to learn and explore.Happy to help and explore new ideas.&#xa;We are team of expert in Devops and Full stack domain working with Reputed MNC CTO and CISO.&#xa;If you want any carreer guidance , help , mentorship feel free to reach out to ProcareerGrowth : https://procareergrowth.com/&#xa;&#xa;&#xa;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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>100</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-8778956193631760262</id><published>2015-06-21T03:23:00.002-07:00</published><updated>2018-04-02T20:47:13.144-07:00</updated><title type='text'>An algorithm for calculating the day of the week given a Date</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;script async=&quot;&quot; src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
     (adsbygoogle = window.adsbygoogle || []).push({
          google_ad_client: &quot;ca-pub-8057115486527545&quot;,
          enable_page_level_ads: true
     });
&lt;/script&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Given a date and calculate day of the week:&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;mport java.util.*;&lt;/span&gt;&lt;/div&gt;
&lt;b id=&quot;docs-internal-guid-63545592-899d-2a5a-9c16-274e52661333&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;public class Datetoday {&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;final static String[] WEEK_DAYS = {&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;Saturday&quot;, &quot;Sunday&quot;, &quot;Monday&quot;, &quot;Tuesday&quot;, &quot;Wednesday&quot;, &quot;Thursday&quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;Friday&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;public static void main(String[] args) {&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Scanner input = new Scanner(System.in);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.print(&quot;Enter the date in dd/mm/yyyy form: &quot;);&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String[] partofdate = input.nextLine().split(&quot;/&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int d = Integer.parseInt(partofdate[0]);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int m = Integer.parseInt(partofdate[1]);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int y = Integer.parseInt(partofdate[2]);&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (m &amp;lt; 3) {&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;m += 12;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;y -= 1;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int k = y % 100;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int j = y / 100;&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int day = ((d + (((m + 1) * 26) / 10) + k + (k / 4) + (j / 4)) +&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(5 * j)) % 7;&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(&quot;That date was &quot; + WEEK_DAYS[day] + &quot;.&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 10pt; font-style: italic; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/8778956193631760262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2015/06/an-algorithm-for-calculating-day-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/8778956193631760262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/8778956193631760262'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2015/06/an-algorithm-for-calculating-day-of.html' title='An algorithm for calculating the day of the week given a Date'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-4667942214459836252</id><published>2015-03-28T05:14:00.003-07:00</published><updated>2015-03-28T05:14:58.836-07:00</updated><title type='text'>Websphere Application Server Basic Stuffs Outlined</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today we will be discussing on one of the heavily used Application Server that accepts not only HTTP/HTTPS request but also dynamic request like server programming and various calls like IIOP,RMI,Socket Server communication etc.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Websphere Application Server an IBM Product&lt;/h3&gt;
&lt;div&gt;
&lt;div&gt;
WebSphere Virtual Enterprise has the ability to prioritize requests based on administrator-defined rules to adjust to server response times according to Service Level Agreements and application priority. WebSphere’s administration console is really good, easy to maintain one&#39;s application and for security setting.There are many “automatic” things that are done in “autopilot” mode by WVE that greatly simplify administration and improve qualities of services.Websphere is a nice choice if your needs fit a high end architecture products such as you are building an Telecommunication Softwares etc.&lt;/div&gt;
&lt;div&gt;
It is one of finest and Expensive product but it is best in performance,Scalibility,Automatic migrations are also possible with so many enhanced Features.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1.&lt;b&gt;Websphere JDBC connection&lt;/b&gt;:&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://docs.oracle.com/cd/E13165_01/albsi/docs57/adminguide/engines/websphere/websphere_config/ad_websphere_jdbc_provider.htm&quot;&gt;https://docs.oracle.com/cd/E13165_01/albsi/docs57/adminguide/engines/websphere/websphere_config/ad_websphere_jdbc_provider.htm&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.genuitec.com/products/myeclipse/learning-center/db/creating-a-data-source-in-websphere/&quot;&gt;https://www.genuitec.com/products/myeclipse/learning-center/db/creating-a-data-source-in-websphere/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/20361473/how-to-setup-an-oracle-jdbc-data-source-on-websphere-application-server-7-step-b&quot;&gt;http://stackoverflow.com/questions/20361473/how-to-setup-an-oracle-jdbc-data-source-on-websphere-application-server-7-step-b&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2.&lt;b&gt;Start/Stop of Websphere JVM server:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www-01.ibm.com/support/knowledgecenter/SSKTXQ_9.0.0/admin/install/inst_startstop_commandref.html&quot;&gt;http://www-01.ibm.com/support/knowledgecenter/SSKTXQ_9.0.0/admin/install/inst_startstop_commandref.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www-01.ibm.com/support/knowledgecenter/SSZLC2_7.0.0/com.ibm.commerce.install.doc/tasks/tig_start_stop_app_server.htm&quot;&gt;http://www-01.ibm.com/support/knowledgecenter/SSZLC2_7.0.0/com.ibm.commerce.install.doc/tasks/tig_start_stop_app_server.htm&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://datastage4you.blogspot.in/2012/09/starting-and-stopping-websphere.html&quot;&gt;http://datastage4you.blogspot.in/2012/09/starting-and-stopping-websphere.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Using Scripts:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://serverfault.com/questions/152217/starting-stopping-ibm-websphere-application-server-was-7-from-the-command-line&quot;&gt;http://serverfault.com/questions/152217/starting-stopping-ibm-websphere-application-server-was-7-from-the-command-line&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3.&lt;b&gt;SSL configuration in WAS:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=OV9nQS1gBuE&quot;&gt;https://www.youtube.com/watch?v=OV9nQS1gBuE&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4.&lt;b&gt;Creating and configuring clusters:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www-01.ibm.com/support/knowledgecenter/SSRMWJ_6.0.0.2/com.ibm.isim.doc_6.0.0.2/installing/tsk/tsk_ic_ins_was_85_cluster.htm&quot;&gt;https://www-01.ibm.com/support/knowledgecenter/SSRMWJ_6.0.0.2/com.ibm.isim.doc_6.0.0.2/installing/tsk/tsk_ic_ins_was_85_cluster.htm&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.youtube.com/watch?v=rkvh8mngj0g&quot;&gt;www.youtube.com/watch?v=rkvh8mngj0g&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://webspherejungle.blogspot.in/2014/02/creating-cluster-environment-in.html&quot;&gt;http://webspherejungle.blogspot.in/2014/02/creating-cluster-environment-in.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5.&lt;b&gt;View of logs and its path:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://websphereprof.blogspot.in/2013/04/ibm-was-log-files-and-its-path.html&quot;&gt;http://websphereprof.blogspot.in/2013/04/ibm-was-log-files-and-its-path.html&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;6.SSL and Key Management:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.ibm.com/developerworks/websphere/techjournal/0612_birk/0612_birk.html&quot;&gt;http://www.ibm.com/developerworks/websphere/techjournal/0612_birk/0612_birk.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://help.adobe.com/en_US/livecycle/11.0/AdminHelp/WS92d06802c76abadb-5145d5d12905ce07e7-7df2.2.html&quot;&gt;http://help.adobe.com/en_US/livecycle/11.0/AdminHelp/WS92d06802c76abadb-5145d5d12905ce07e7-7df2.2.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/h2&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/4667942214459836252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2015/03/websphere-application-server-basic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4667942214459836252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4667942214459836252'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2015/03/websphere-application-server-basic.html' title='Websphere Application Server Basic Stuffs Outlined'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-2251489541456050258</id><published>2015-03-28T02:36:00.000-07:00</published><updated>2015-03-28T02:36:23.451-07:00</updated><title type='text'>Oracle Weblogic Application Server Basic Stuffs Outlined</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Lets us discuss some of the Great ApplicationServer that is being used by Great players of World like Amdocs,Vodafone,Microsoft,Oracle,Adobe,Google,Yahoo etc in Service Management Industries.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&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;&lt;b&gt;Weblogic:&lt;/b&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Weblogic is an Oracle Application Server platform that is basically used to deployed your .Ear ,.war application in an meaning full and cost Effective manner. IT is&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 13px; line-height: 23px;&quot;&gt;commercial(proprietary) J2EE&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 13px; line-height: 23px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 13px; line-height: 23px;&quot;&gt;Application Servers.&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;Websphere is far better than Weblogic in terms of Performance.&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;Request prioritization and routing are not provided by Oracle WebLogic Server.&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial; font-size: 14px; line-height: 21px;&quot;&gt;Weblogic has the best integration with other Oracle products such as Fusion Middleware, Oracle database and Oracle applications.&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;Basic Daily Task To know for Weblogic:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial; font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial; font-size: 14px; line-height: 21px;&quot;&gt;1.Oracle Weblogic &lt;b&gt;JDBC connection&lt;/b&gt; on single and muliplte Connection:&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;a href=&quot;http://onlineappsdba.com/index.php/2008/11/06/weblogic-server-jdbc-for-database-connection-step-by-step/&quot;&gt;http://onlineappsdba.com/index.php/2008/11/06/weblogic-server-jdbc-for-database-connection-step-by-step/&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;2.&lt;b&gt;Start/Stop&lt;/b&gt; of weblogic Server:&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;a href=&quot;http://onlineappsdba.com/index.php/2008/08/03/oracle-weblogic-server-startupshutdown/&quot;&gt;http://onlineappsdba.com/index.php/2008/08/03/oracle-weblogic-server-startupshutdown/&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;3.Create/&lt;b&gt;Configure Clusters&lt;/b&gt;:&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;a href=&quot;http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13952/taskhelp/clusters/ClusterRoadmap.html&quot;&gt;http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13952/taskhelp/clusters/ClusterRoadmap.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;http://www.snapdba.com/2013/03/creating-a-clustered-domain-in-weblogic-11g/&quot;&gt;http://www.snapdba.com/2013/03/creating-a-clustered-domain-in-weblogic-11g/&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
4.Configure &lt;b&gt;logs&lt;/b&gt;:&lt;br /&gt;&lt;a href=&quot;http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/logging/ConfigureAndViewLogs.html&quot;&gt;http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/logging/ConfigureAndViewLogs.html&lt;/a&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;5.Redirect JVM Output:&lt;/b&gt;&lt;a href=&quot;http://docs.oracle.com/cd/E24329_01/apirefs.1211/e24401/taskhelp/logging/RedirectJVMOutput.html&quot;&gt;http://docs.oracle.com/cd/E24329_01/apirefs.1211/e24401/taskhelp/logging/RedirectJVMOutput.html&lt;/a&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;As discussed resources above are provided by various Experts working in Top Most companies of the World and hope the resources are meaningful to the Web admin/Developers/Weblogic faculty/Learner in its best.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/2251489541456050258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2015/03/oracle-weblogic-application-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/2251489541456050258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/2251489541456050258'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2015/03/oracle-weblogic-application-server.html' title='Oracle Weblogic Application Server Basic Stuffs Outlined'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-2189170300185283019</id><published>2015-03-19T21:49:00.002-07:00</published><updated>2015-03-19T21:50:45.995-07:00</updated><title type='text'>Introspecting my 1year at Amdocs and Currently moving forward with Amdocs</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Life Spend at Amdocs with Full of Enjoyment and Learning from Team Member.&lt;br /&gt;
&lt;br /&gt;
Here as part of Technical Experties what I Learned in Technology Integration Profile :&lt;br /&gt;
&lt;br /&gt;
1.Learn Unix a lot &amp;nbsp;----&amp;gt;How to use some and common daily task Commands like mv,cp,scp,find,grep,glance,zip/unzip,tar/untar, sshcmd and lots more.&lt;br /&gt;
&lt;br /&gt;
2.Enhance my Knowledge on Java,Junit,Little Selenium for Sanity as part of my project and worked on xml diff and patch tool,start/stop server tool Modify/Updates done as pert of buiness requirements.&lt;br /&gt;
&lt;br /&gt;
3.Simultaneously using Spring Tool Suite for importing a project and making the required changes and then deploying it for Business As usual task.Worked on Mongodb on the fly..&lt;br /&gt;
&lt;br /&gt;
4.Learn Web application Server for deployment of an .ear on a cluster jvm and its internal connection with JDBC,Resources,applying of SSL certificate,Keystore and lots more.&lt;br /&gt;
&lt;br /&gt;
5.Worked on Perl in picking up of an Ef from Quality Center and displaying it on GUI and enhance a little perl skills from colleague and googling.&lt;br /&gt;
&lt;br /&gt;
6.Used Shell scripting at project like a basic example i Used in placing of an .tar to any number of Server using an small script and making use of for-loop with scp command to place on all node and untar.&lt;br /&gt;
&lt;br /&gt;
So its all about Technical Experties that I gain here and it seems pretty ok but a hunger is still on to develop something amazing to solve a market problem smoothly .&lt;br /&gt;
&lt;br /&gt;
Management Skills that I already Have so there is nothing changed but yes it is enhanced here like Giving Knowledge Transfer to the Team about the Various tools, Enhancing your way of Interaction and presentation,Solving various doubts etc.Good to see a good politics and management here.&lt;br /&gt;
Management here is involved in playing of various games which take cares involvement of all Employees ,to boost them and to keep them Happy.&lt;br /&gt;
&lt;br /&gt;
So still I am unable to pen-down all things but as a snapshot what I have written is all about my Introspection about my 1 year at Amdocs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/2189170300185283019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2015/03/introspecting-my-1year-at-amdocs-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/2189170300185283019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/2189170300185283019'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2015/03/introspecting-my-1year-at-amdocs-and.html' title='Introspecting my 1year at Amdocs and Currently moving forward with Amdocs'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-7219721829593529220</id><published>2014-09-21T12:11:00.000-07:00</published><updated>2014-11-25T07:02:21.826-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="HBASE"/><category scheme="http://www.blogger.com/atom/ns#" term="MAP REDUCE."/><category scheme="http://www.blogger.com/atom/ns#" term="PIG"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Hadoop installation with Eclipse in Windows</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;h1&gt;Hadoop installation with Eclipse&lt;/h1&gt;&lt;/b&gt; in Windows i personally have found this good tutorials for you all.Here you can go step by step and install hadoop with a simple test run on Map Reduce.Before it you can have basic knowledge on Hadoop distributed file system and Map Reduce .Learn and understand their architecture it will be very helpful in your future as data Scientist Engineer.&lt;br /&gt;
So here is a tutorials for Hadoop installation with Eclipse in Windows:&lt;a href=&quot;http://v-lad.org/Tutorials/Hadoop/00%20-%20Intro.html&quot;&gt;HADOOP INSTALLATION IN WINDOWS&lt;/a&gt;.&lt;br /&gt;
&lt;b&gt;HADOOP DEFUALT PORTS QUICK REFERENCE&lt;/b&gt;: &lt;a href=&quot;http://blog.cloudera.com/blog/2009/08/hadoop-default-ports-quick-reference/&quot;&gt;HADOOP PORTS&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Here you can ask for question and doubts too.So keep enjoy happy learning hadoop in Windows.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/7219721829593529220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2014/09/hadoop-installation-with-eclipse-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/7219721829593529220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/7219721829593529220'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2014/09/hadoop-installation-with-eclipse-in.html' title='Hadoop installation with Eclipse in Windows'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-4835652831375200716</id><published>2014-01-28T21:47:00.001-08:00</published><updated>2014-11-25T07:04:58.825-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Automation Testing"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium"/><category scheme="http://www.blogger.com/atom/ns#" term="Testers"/><category scheme="http://www.blogger.com/atom/ns#" term="Testing"/><category scheme="http://www.blogger.com/atom/ns#" term="Web application Tester"/><title type='text'>Best Resources for Web Application Tester</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today we are going to see some of the best resources for &lt;b&gt;Web Application Tester or Simply Tester&lt;/b&gt; for &lt;b&gt;Quality Assurance&lt;/b&gt;.To all manual Tester with your manual testing do learn Automation Testing so that it will increase your Efficiency and Keep you at your best in Testing.&lt;br /&gt;
There are lot of Opportunity for Automation Tester to work and test Web application and Web Software at an alarming rate.&lt;br /&gt;
Best Resources are point wise:&lt;br /&gt;
You can use any Language whether Java,Csharp,Python, Ruby, Php,Perl etc.&lt;br /&gt;
For the time being We are using Java so steps are as follows:&lt;br /&gt;
&lt;b&gt;Best Resources for Web Application Tester&lt;/b&gt;&lt;br /&gt;
1.Learn Java Basic from here some of the Best Resource and Use Eclipse Juno or above version.&lt;br /&gt;
Some best Resources for Java :&lt;br /&gt;
1.&amp;nbsp;&lt;a href=&quot;http://www.tutorialspoint.com/java/&quot;&gt;javatutorials.&lt;/a&gt;&amp;nbsp; 2.&lt;a href=&quot;http://javalearing.blogspot.com/&quot;&gt;Java Programs&lt;/a&gt;&amp;nbsp;3.&lt;a href=&quot;http://docs.oracle.com/javase/tutorial/&quot;&gt;Java from Oracle&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
2.Start Picking up &lt;b&gt;Selenium from resource&lt;/b&gt; as below:&lt;br /&gt;
Keep in Mind First Installation then start your testing if all is well then read step by step documentation so that if you are not having a detail knowledge or less then you can refer again .See even your Boss,Friends or relative have gone through first these resources only as this websites contain all about Selenium Testing in Step by Step Fashion .Even if you have doubt you ask here by commenting for further verification and talks.&lt;br /&gt;
2.i:&lt;a href=&quot;http://docs.seleniumhq.org/docs/01_introducing_selenium.jsp/&quot;&gt;Selenium testing&lt;/a&gt;&lt;br /&gt;
2.ii:&lt;a href=&quot;http://docs.seleniumhq.org/&quot;&gt;Selenium Testing Complete Reference&lt;/a&gt;&lt;br /&gt;
2.iii:&lt;a href=&quot;http://docs.seleniumhq.org/docs/02_selenium_ide.jsp&quot;&gt;Installing Selenium IDE&lt;/a&gt;&lt;br /&gt;
2.iv:&lt;a href=&quot;http://docs.seleniumhq.org/docs/02_selenium_ide.jsp#building-test-cases&quot;&gt;Building Test Cases&lt;/a&gt;&lt;br /&gt;
2.v:&lt;a href=&quot;http://docs.seleniumhq.org/docs/02_selenium_ide.jsp#selenium-commands-selenese&quot;&gt;Selenium Commands&lt;/a&gt;&lt;br /&gt;
2.vi:&lt;a href=&quot;http://docs.seleniumhq.org/docs/02_selenium_ide.jsp#test-suites&quot;&gt;Test Suites&lt;/a&gt;&lt;br /&gt;
2.vii:&lt;a href=&quot;http://docs.seleniumhq.org/docs/03_webdriver.jsp&quot;&gt;Selenium Driver&lt;/a&gt;&lt;br /&gt;
2.viii:&lt;a href=&quot;http://docs.seleniumhq.org/projects/remote-control/&quot;&gt;remote-control&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
3.Some of the &lt;b&gt;Online Free Training Resources and Videos&lt;/b&gt; :&lt;br /&gt;
3.i:&lt;a href=&quot;http://www.seleniumtests.com/p/free-selenium-training.html&quot;&gt;Free Selenium Training&lt;/a&gt;&lt;br /&gt;
3.ii:&lt;a href=&quot;http://www.youtube.com/playlist?list=PLIMVrgO3pPB521LWAu8PXe8iB-LSE4LKo&quot;&gt;Selenium Videos&lt;/a&gt;&lt;br /&gt;
3.iii:&lt;a href=&quot;http://learnseleniumonline.com/watch-learn/&quot;&gt;Best Videos&lt;/a&gt;&lt;br /&gt;
3.iv:&lt;a href=&quot;http://www.guru99.com/selenium-tutorial.html/&quot;&gt;selenium-tutorial&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
So the above mention resources are enough to make you a &lt;b&gt;good Automation Tester&lt;/b&gt;.Do make a team and ask all your testing person to work with you on this Automation Learning so that when You brainstorm your ideas and ways then you will learn a lot .Finally Keep all your resources saved as a link in&lt;br /&gt;
a notepad for further reference.&lt;br /&gt;
Keep posting your doubts and Question here.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/4835652831375200716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2014/01/best-resources-for-web-application.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4835652831375200716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4835652831375200716'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2014/01/best-resources-for-web-application.html' title='&lt;h1&gt;Best Resources for Web Application Tester&lt;/h1&gt;'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-8204082351593994168</id><published>2013-11-19T22:15:00.002-08:00</published><updated>2014-11-25T07:06:06.291-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Liferay"/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay Developers"/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay in Action"/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay Java Portal"/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay Resources"/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay Service Providers"/><title type='text'>List of Best Resources for Liferay Developer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1.These link will consist of a list of useful resource for Liferay Developer where they can take a quick overview and step by step ways to learn from a basic to multi stage and dynamic system,portal,ERP and lots more:&lt;br /&gt;
&lt;a href=&quot;https://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/resources-for-liferay-developers&quot;&gt;https://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/resources-for-liferay-developers&lt;/a&gt;&lt;br /&gt;
2.These link will teach you step by step about Liferay development best practices:&lt;br /&gt;
&lt;a href=&quot;http://blog.trifork.com/2012/05/03/liferay-sdk-development-best-practices/&quot;&gt;http://blog.trifork.com/2012/05/03/liferay-sdk-development-best-practices/&lt;/a&gt;&lt;br /&gt;
Have a look at two mentioned books to Liferay in Action and Portlets in Action.&lt;br /&gt;
3.A pdf for Liferay Portel Development: &amp;nbsp;&lt;b style=&quot;background-color: white; color: #00802a; font-family: arial, sans-serif; font-size: 14px; line-height: 16px; white-space: nowrap;&quot;&gt;liferay&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #00802a; font-family: arial, sans-serif; font-size: 14px; line-height: 16px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #00802a; font-family: arial, sans-serif; font-size: 14px; line-height: 16px; white-space: nowrap;&quot;&gt;book&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #00802a; font-family: arial, sans-serif; font-size: 14px; line-height: 16px; white-space: nowrap;&quot;&gt;.googlecode.com/files/&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #00802a; font-family: arial, sans-serif; font-size: 14px; line-height: 16px; white-space: nowrap;&quot;&gt;liferay&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #00802a; font-family: arial, sans-serif; font-size: 14px; line-height: 16px; white-space: nowrap;&quot;&gt;-portlet-&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #00802a; font-family: arial, sans-serif; font-size: 14px; line-height: 16px; white-space: nowrap;&quot;&gt;development&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #00802a; font-family: arial, sans-serif; font-size: 14px; line-height: 16px; white-space: nowrap;&quot;&gt;.pdf.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, sans-serif; font-size: 14px; line-height: 16px; white-space: nowrap;&quot;&gt;4.Liferay Projects using Maven:&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.liferay.com/community/wiki/-/wiki/Main/m2e-liferay+Quick+Start+Tutorial?_36_pageResourcePrimKey=27836074&quot;&gt;http://www.liferay.com/community/wiki/-/wiki/Main/m2e-liferay+Quick+Start+Tutorial?_36_pageResourcePrimKey=27836074&lt;/a&gt;&lt;br /&gt;
5.A nice article on Spring MVC portlet in Liferay:&lt;br /&gt;
&lt;a href=&quot;http://www.opensource-techblog.com/2012/09/spring-mvc-portlet-in-liferay.html&quot;&gt;http://www.opensource-techblog.com/2012/09/spring-mvc-portlet-in-liferay.html&lt;/a&gt;&lt;br /&gt;
6.For Beginners have a watch Step by Step Liferay Setup and Development:&lt;br /&gt;
&lt;a href=&quot;http://liferayguru.blogspot.in/&quot;&gt;http://liferayguru.blogspot.in/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
There are lot of resources but this resource is sufficient for all Liferay Developers to kickstart their project and if anybody interested in sharing any good and best resources then do add it in comment.&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #00802a; font-family: arial, sans-serif; font-size: 14px; line-height: 16px; white-space: nowrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #00802a; font-family: arial, sans-serif; font-size: 14px; line-height: 16px; white-space: nowrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/8204082351593994168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2013/11/list-of-best-resources-for-liferay.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/8204082351593994168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/8204082351593994168'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2013/11/list-of-best-resources-for-liferay.html' title='List of Best Resources for Liferay Developer'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-1774617051216525787</id><published>2013-09-06T05:48:00.000-07:00</published><updated>2013-09-09T05:34:34.567-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Liferay"/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay Developers"/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay Team."/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay Themes"/><category scheme="http://www.blogger.com/atom/ns#" term="Themer"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Designer"/><title type='text'>How To make A Simple Liferay Theme</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Liferay themes in Actions:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Just you have to follow simple steps in order to develop your basic Liferay Themes for Your Organization&lt;br /&gt;
Steps are as follows:&lt;br /&gt;
1.Install Liferay and Eclipse IDE for your Projects.&lt;br /&gt;
2.Follow the steps for installing Liferay IDe in eclipse:&lt;a href=&quot;http://www.liferay.com/community/wiki/-/wiki/Main/Liferay+IDE+Getting+Started+Tutorial&quot;&gt;http://www.liferay.com/community/wiki/-/wiki/Main/Liferay+IDE+Getting+Started+Tutorial&lt;/a&gt;&lt;br /&gt;
3.Go through these Documentations too:&lt;a href=&quot;http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/creating-liferay-them-7&quot;&gt;creating-liferay-them-7&lt;/a&gt;&lt;br /&gt;
4.&lt;span style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; line-height: 18px;&quot;&gt;File --&amp;gt; New --&amp;gt; Liferay Project --&amp;gt; Give project name --&amp;gt; Select Liferay Theme as the option then click on Finish.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; line-height: 18px;&quot;&gt;5.Now you have your structure .You can create new folders under _diffs folders like image,js,html etc as per your needs.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; line-height: 18px;&quot;&gt;6.Finally you have a basic theme.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; line-height: 18px;&quot;&gt;7.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; line-height: 18px;&quot;&gt;As you must be already knowing that Eclipse has a window where you can see ant&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; line-height: 18px;&quot;&gt;commands, you can select the relevant ant commands to build and deploy the theme or create a WAR to be deployed on your server.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; line-height: 18px;&quot;&gt;You can refer this too:&lt;a href=&quot;http://www.integratingstuff.com/2011/11/30/styling-liferay-creating-a-liferay-theme/&quot;&gt;styling-liferay-creating-a-liferay-theme/&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/1774617051216525787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2013/09/how-to-make-simple-liferay-theme.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/1774617051216525787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/1774617051216525787'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2013/09/how-to-make-simple-liferay-theme.html' title='How To make A Simple Liferay Theme'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-1711202170885670091</id><published>2013-09-06T05:31:00.004-07:00</published><updated>2013-09-09T05:33:01.641-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Liferay"/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay helps."/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay Service Providers"/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay Team"/><title type='text'>Liferay Service Partners in your Area to look up</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Here is list of Some Service Partners of Liferay Near by you&lt;/span&gt;.&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;1.&lt;b&gt;Permeance Technologies&lt;/b&gt;: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Country in:&amp;nbsp;&lt;b&gt;Australia&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Permeance Technologies is a software consultancy recognized nationally for its innovative &amp;nbsp;and creative end-to-end services to commercial and major government agencies.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.permeance.com.au/&quot;&gt;www.permeance.com.au&lt;/a&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 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;2.&amp;nbsp;XTIVIA&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; Country in: &lt;b&gt;US&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
XTIVIA is a Certified Platinum Level Liferay Partner with more than 150 US based employees and the Largest Liferay Service Provider in the U.S.A.&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.xtivia.com/&quot;&gt;www.xtivia.com&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;3.Everis : &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;Country in: &lt;b&gt;Spain&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Everis is a multinational consulting company offering business strategy and development ,technological applications maintenance and outsourcing solutions.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.everis.com/&quot;&gt;www.everis.com&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;4.MIMACOM: &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; Country in :&lt;b&gt;Switzerland&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Mimacom is an international software integartor based on Java and open source technologies with offices in 7 countries.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://www%2Cmimacom.com/&quot;&gt;www,mimacom.com&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Gothic, Arial, Helvetica, sans-serif; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;5.SMC &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; Country in: &lt;b&gt;Italy&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
SMC Treviso is the only Italian Liferay partner qualified at Platinum Level.IT proposes the Liferay Portal as the Open Source collaboration platform at INNOVATIVE and OUTSTANDING level.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.smc.com/&quot;&gt;www.smc.com&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;6.ACCENTURE: &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;Country in:&lt;b&gt;US, India &amp;amp; global&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Accenture is a global management consulting ,technology services and outsourcing company,with more than 266,000 people serving clients in more than 120 countries.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.accenture.com/&quot;&gt;www.accenture.com&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;7.RivetLogic: &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; Country in :&lt;b&gt;US&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Rivet Logic is an award-winning consulting and systems integration firm that helps enterprises better engage with customers,improve collaboration and streamline business operations.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.rivetlogic.com/&quot;&gt;www.rivetlogic.com&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;8.CIGNEX Datamatics: &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;Country in :&lt;b&gt;India ,US&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Cignex Datamatics has over 260 Liferay specialists and has implemented more than 200 Liferay solutions including integration with various proprietary &amp;amp; Open Source applications .&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.cignex.com/&quot;&gt;www.cignex.com&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;9.ACA IT SOLUTIONS: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Country in:&lt;b&gt;Belgium,Netherland&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
ACA IT Solutions is a strong Java Team with one mission:to deliver cost effective and efficient solutions to our client so that can feel the reality of their dream in our Work .&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.aca-it.be/&quot;&gt;www.aca-it.be&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;10.Infoaxon Technologies: &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; Country in :&lt;b&gt;India&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
InfoAxon is &quot;India&#39;s First Global Open Source Integration Company&quot; with over a decade long on management ,knowledge sharing,collaboration and user engagement challenges for its customers globally.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.infoaxon.com/&quot;&gt;www.infoaxon.com&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/1711202170885670091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2013/09/liferay-service-partners-in-your-area.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/1711202170885670091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/1711202170885670091'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2013/09/liferay-service-partners-in-your-area.html' title='Liferay Service Partners in your Area to look up'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-1182470870931258482</id><published>2013-08-28T05:31:00.000-07:00</published><updated>2013-09-09T05:58:06.096-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CMS Developer"/><category scheme="http://www.blogger.com/atom/ns#" term="Developer"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Developers"/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay"/><category scheme="http://www.blogger.com/atom/ns#" term="Liferay Team"/><category scheme="http://www.blogger.com/atom/ns#" term="Open source"/><category scheme="http://www.blogger.com/atom/ns#" term="struts developer"/><title type='text'>Liferay In Action and Technology of the Year</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: justify;&quot;&gt;
Liferay is an Open source Content Management System written in Java and distributed under GNU Lesser General Public License and other optional commercial licenses.It is an Powerful portal that provides corporate intranets and extranets services.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Liferay In Action tells all about Liferay ,its Features,facts,Liferay project and products and community resources that can help a Liferay Developer to understand in Depth all about Liferay.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Liferay is Java-based and have various features&lt;/b&gt; like:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;1&lt;/b&gt;.&lt;b&gt;Multiple Programming Language extension&lt;/b&gt;:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Multiple Programming plugins that means we can make use of our python,php,Ruby on rails skills too to make web-application more effective and powerful.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
2.&lt;b&gt;Security&lt;/b&gt;:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Web application made by Liferay is more secure with more security provided in it with validations and various checkpoints.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
3.&lt;b&gt;Faster Access and Use time:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Web application take very less second to executes and faster processing of feedbacks and responses.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
4.&lt;b&gt;Comes With Everything You need&lt;/b&gt;:&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Liferay Portal&#39;s comprehensive collection of out of box builder toools that provide you everything you need to make your Business progressive,effective and secure.Very Intersting and innovative configurable solutions as per your need of web publishing,collaboration,social networking ,workflow and lots more.&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
5.&lt;b&gt;Comparing with Different Java Based CMS&lt;/b&gt;:&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
By Comparing only single conclusion comes out that Liferay is very very much cost effective as compared to other Java Based CMS in the market.I truly mean it.Refer to this:&lt;span style=&quot;color: #009933; font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;white-space: nowrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www.liferay.com/c/document_library/get_file?p_l_id=8440633&amp;amp;fileEntryId=17173511&quot;&gt;http://www.liferay.com/c/document_library/get_file?p_l_id=8440633&amp;amp;fileEntryId=17173511&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
6.&amp;nbsp;&lt;b&gt;Liferay hooks and Extension plugin&lt;/b&gt;:&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;So with this feature you can add up your additional feature to your application upto which you have completed not from scratch and finally it make it easy to dynamically add those features without disturbing others.&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Few Facts About Liferay Inc.&lt;/b&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In 2000 Liferay was created by Chief Software architect Brian Chan.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In 2004,the Company was incorporated with the name Liferay,Inc.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In 2007,the Company opened new Asian headquarters in Dalian,China and the Spanish Subsidiary Liferay&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
SL.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In 2007 ,Received &quot;Technology of the Year&quot; Award.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In March 2009, the Company opened a new Office in Banagalore ,India.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;&lt;b&gt;Additional Liferay Projects and Products:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;&lt;b&gt;1.AlloyUI:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;A framework used for developing web application very fast and effectively.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;&lt;b&gt;2.Liferay Sync:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;IT enables multiple platform supports where Liferay portal user can access and publish documents and files from multi-Environments Like Windows,IOS,Android etc.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;&lt;b&gt;3.Liferay Social Office:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;With this you can make your social web app development more creative and innovative with lot of social collaboration tools.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;4.&lt;b&gt;Liferay Faces&lt;/b&gt;:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;A innovative and creative feature that provide support for JavaServer Faces with standard Liferay Portal.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;5.&lt;b&gt;Liferay IDE&lt;/b&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;Various Eclipse plugins that provide support for Liferay plugins development and lots more.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;6.&lt;b&gt;Liferay Marketplaces&lt;/b&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;Liferay&#39;s public app respository.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;&lt;b&gt;List of Enterpise portal Vendors&lt;/b&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/List_of_enterprise_portal_vendors&quot;&gt;http://en.wikipedia.org/wiki/List_of_enterprise_portal_vendors&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Liferay Documentations tells a lot about Liferay and Developers Involved&lt;/b&gt;:&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.liferay.com/documentation/liferay-portal/6.1/user-guide&quot;&gt;http://www.liferay.com/documentation/liferay-portal/6.1/user-guide&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Liferay Development Guide for Developers&lt;/b&gt;:&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.liferay.com/documentation/liferay-portal/6.1/development&quot;&gt;http://www.liferay.com/documentation/liferay-portal/6.1/development&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Liferay Community Resources for Developera and Collaborators:&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.liferay.com/documentation/liferay-portal/6.1/community-resources&quot;&gt;http://www.liferay.com/documentation/liferay-portal/6.1/community-resources&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://vaadin.com/image/journal/article?img_id=2008800&amp;amp;t=1351775803363&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;74&quot; src=&quot;https://vaadin.com/image/journal/article?img_id=2008800&amp;amp;t=1351775803363&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/1182470870931258482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2013/08/liferay-in-action-and-technology-of-year.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/1182470870931258482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/1182470870931258482'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2013/08/liferay-in-action-and-technology-of-year.html' title='Liferay In Action and Technology of the Year'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-5256935199259762223</id><published>2012-08-10T00:13:00.000-07:00</published><updated>2012-08-10T00:16:48.753-07:00</updated><title type='text'>Wizpert Consulting Services</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I am very much excited to help people through chat and solve their problem as early as i can .So finally a thanks to&amp;nbsp;&lt;img aria-label=&quot; &quot; class=&quot;ajn&quot; id=&quot;:0_20-e&quot; jid=&quot;Michael@wizpert.com&quot; name=&quot;:0&quot; src=&quot;https://mail.google.com/mail/c/photos/public/AIbEiAIAAABDCKTQspu6nLTQAyILdmNhcmRfcGhvdG8qKDk2MDc5ZDNiNDUzZTBjMmI2NmZhOGQ3NzFlYWI5ZTE5MmYwYjgyNTkwAX1WXu3wbylyfTsf2338it5dwu__?sz=32&quot; style=&quot;background-color: #cccccc;&quot; /&gt;&lt;br /&gt;
&lt;div class=&quot;gs&quot;&gt;
&lt;div class=&quot;gE iv gt&quot;&gt;
&lt;table cellpadding=&quot;0&quot; class=&quot;cf gJ&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;acZ&quot;&gt;&lt;td class=&quot;gF gK&quot;&gt;&lt;table cellpadding=&quot;0&quot; class=&quot;cf ix&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;div class=&quot;iw&quot;&gt;
&lt;span class=&quot;gD&quot; email=&quot;Michael@wizpert.com&quot; name=&quot;Michael Weinberg&quot;&gt;Michael Weinberg&lt;/span&gt;&amp;nbsp; for a lovely concept and for nice opportunity to bridge the gap between students and experts.&lt;/div&gt;
&lt;div class=&quot;iw&quot;&gt;
So i am an expert on Wizpert to solve problems related to programming on C,C++ and java with my keen knowledge in the languages and lets u know more.&lt;/div&gt;
&lt;div class=&quot;iw&quot;&gt;
I have started this blog with a vision to help college students to solve their problem in making practical files,learn their languages with beautiful examples on particular language and concepts.&lt;/div&gt;
&lt;div class=&quot;iw&quot;&gt;
So you call me or &amp;nbsp;chat with me.

&lt;a alt=&quot;Call Me on Wizpert&quot; href=&quot;http://wizpert.com/?beta_key=3ba42&amp;amp;view=270&amp;amp;ep=3840&quot;&gt; &lt;img alt=&quot;Call Me&quot; src=&quot;http://wizpert.com/images/call_button_widget1.png&quot; /&gt; &lt;/a&gt;


&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/5256935199259762223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2012/08/wizpert-consulting-services.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/5256935199259762223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/5256935199259762223'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2012/08/wizpert-consulting-services.html' title='Wizpert Consulting Services'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-6424168198259479314</id><published>2012-03-28T01:25:00.000-07:00</published><updated>2012-03-28T01:25:19.184-07:00</updated><title type='text'>TIME MATERIALS FOR CAT PREPARATION</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;IF YOU HAVE FOLLOWING THEN WRITE UP IN COMMENT SECTION FOR DISCUSSION AND HELP THE STUDENT IN CLEARING THEIR CAT AND PLACEMENT PAPER.&lt;br /&gt;
&lt;br /&gt;
TIME 2009 CAT PREPARATION MATERIAL FOR SALE&lt;br /&gt;
TIME 2010 CAT PREPARATION MATERIAL FOR SALE&lt;br /&gt;
TIME 2011 CAT PREPARATION MATERIAL FOR SALE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The contents of the material are:-&lt;br /&gt;
&lt;br /&gt;
Stage 1&lt;br /&gt;
&lt;br /&gt;
Lot 1+2 of Study material&lt;br /&gt;
&lt;br /&gt;
BASIC STUDY MATERIAL &lt;br /&gt;
1. Quantitative Ability I(With solution booklet)&lt;br /&gt;
2. Quantitative Ability II (With Solution Booklet)&lt;br /&gt;
3. Verbal Ability I&lt;br /&gt;
4. Verbal Ability II (English Grammer &amp;amp; Sentence Correction)&lt;br /&gt;
5. Verbal Ability III ( English Vocabulary)&lt;br /&gt;
6. Data Sufficiency&lt;br /&gt;
7. Reading Comprehension (A separate book)&lt;br /&gt;
8. Speed Enhancement Tricks and Tests&lt;br /&gt;
9. Cue Cards (around 200 cards with 40 words on each card, For 
vocabulary enhancement, Playing cards sized cards which u can carry 
along anywhere you go and increase your vocabulary)&lt;br /&gt;
&lt;br /&gt;
Practice Exercise Books&lt;br /&gt;
&lt;br /&gt;
1. Quantitative Ability&lt;br /&gt;
2. Verbal Ability&lt;br /&gt;
3. Reading Comprehentions&lt;br /&gt;
4. Data Interpretation &amp;amp; Data Sufficiency I&lt;br /&gt;
5. Data Interpretation II&lt;br /&gt;
&lt;br /&gt;
Complete Handouts Given In the class room Included&lt;br /&gt;
&lt;br /&gt;
Stage 2&lt;br /&gt;
&lt;br /&gt;
Lot 3 of Study Material (Lots of Practise material on every section with Higher Difficulty Level)&lt;br /&gt;
&lt;br /&gt;
5 Test Groups ( Thin Booklets, each booklet Includes 3-4 tests on each section, solutions included) &lt;br /&gt;
&lt;br /&gt;
Separate Test Papers on Every section with higher difficulty level than 
test groups( Includes DI, LA, VA, RC, QA, solutions also included) &lt;br /&gt;
&lt;br /&gt;
Test Series With Complete Solutions&lt;br /&gt;
&lt;br /&gt;
1. AIMCATS&lt;br /&gt;
2. MOCK CATS (5 Tests)&lt;br /&gt;
3. CAT Replica Tests( 5 Test in increasing level of difficulty i.e 1st test is easiest and 5th is hardest)&lt;br /&gt;
4. Other Management Entrance Tests(OMET) – XAT(3 TESTS), MAT(2 TESTS), IBSAT&lt;br /&gt;
&lt;br /&gt;
Complete Test Papers Given in the classroom also include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Stage 3&lt;br /&gt;
&lt;br /&gt;
1. General Awareness Book&lt;br /&gt;
2. GD and PI Part I &amp;amp; Part II&lt;br /&gt;
3. General awareness test (5)&lt;br /&gt;
&lt;br /&gt;
GD handouts, Case Studies given in the class room also included&lt;br /&gt;
&lt;br /&gt;
Total : Study Books - 18 includes&lt;br /&gt;
Practice Books - 5 + Lot 3&lt;br /&gt;
Cue Cards&lt;br /&gt;
Tests (around 30 tests )&lt;br /&gt;
Class Handouts of Full Course&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/6424168198259479314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2012/03/time-materials-for-cat-preparation.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/6424168198259479314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/6424168198259479314'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2012/03/time-materials-for-cat-preparation.html' title='TIME MATERIALS FOR CAT PREPARATION'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-793177383677987723</id><published>2012-03-21T12:11:00.001-07:00</published><updated>2012-03-22T07:33:39.832-07:00</updated><title type='text'>VIRTUAL TECH. PLACEMENT in GATES&#39;12</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;post-header&quot;&gt;
&lt;/div&gt;
Gates is the annual Cultural, literary, technical and Management Fest of
 Guru Tegh Bahadur Intitute Of Technology which is a 
college&amp;nbsp;affiliated&amp;nbsp;to GGSIPU, New delhi. It will be organised from 27th 
march 2012 to 29th march 2012. The important thing is the concert by 
Hunny Singh(INDIA&#39;s best Rapper) is on 29th of march.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
INTRODUCTION To The EVENT:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Virtual Tech Placement is a real life experience of a placement to test 
your knowledge and skills in every field from computers to managements. 
It is basically an event which shows your in depth knowledge of your 
core subject and communications skills at Group discussion and personal 
interview.This is an excellent opportunity for all to test themselves 
and win some attractive prizes as well!&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&quot;Let the light enlighten the engineers&quot;.An event for which you do or die.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
The event has three rounds:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
1.Aptitude round:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
In this round 30 MCQ based on c,c++ and aptitude are given to the 
candidate to solve and top ten scoring candidate will be selected for 
next round.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
2.Group Discussion:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
In this round a topic will be given to the group and best five students will selected for next round i.e. Personal Interview.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
3.Personal and Technical Interview:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
The last round will be based on your personal and technical question asked by the head of the Team.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;Rules:&lt;/div&gt;
1.In any issue the decision of the event manager will be final.&lt;br /&gt;
2.One candidate for his placement and winning prizes is allowed to participate in the event.&lt;br /&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/AVvXsEi3iknrqQMIXxFODNu3_SmvRJrS75igMdMrWBHjI9z6bQHAj0vsgjrKS0nIGn8QOuIX0PlAVcE3aWyP4fUi6UgbQe1FodFiCkeIBurlcWVLcGnnpnwEuB_dd6hbDO-WebJKj1yQJFPf7JU/s1600/FINALPAGE1.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3iknrqQMIXxFODNu3_SmvRJrS75igMdMrWBHjI9z6bQHAj0vsgjrKS0nIGn8QOuIX0PlAVcE3aWyP4fUi6UgbQe1FodFiCkeIBurlcWVLcGnnpnwEuB_dd6hbDO-WebJKj1yQJFPf7JU/s400/FINALPAGE1.jpeg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp; I can guarantee you is 
that the event is going to BE LOVELY AND AWSOME. Simply, it is 
going to be a rocking event.&lt;br /&gt;
For more details, Contact the EM: Himanshi Chugh (9654644683)&lt;br /&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;EC: Ishita Gupta (8447810489)&lt;br /&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;Hemant Gupta (9873142024)&lt;br /&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;Bindu GOSAIN&lt;br /&gt;
and you can&amp;nbsp; contact TO ALOK&amp;nbsp; as well.&lt;br /&gt;
Venue: GURU TEGH BAHADUR INSTITUTE of TECHNOLOGY&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G-8 Area, Rajouri Garden, New Delhi.&lt;br /&gt;
Date: 29th March 2012.&lt;br /&gt;
Time: 1:00 pm&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/793177383677987723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2012/03/virtual-tech-placement-in-gates12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/793177383677987723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/793177383677987723'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2012/03/virtual-tech-placement-in-gates12.html' title='VIRTUAL TECH. PLACEMENT in GATES&#39;12'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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/AVvXsEi3iknrqQMIXxFODNu3_SmvRJrS75igMdMrWBHjI9z6bQHAj0vsgjrKS0nIGn8QOuIX0PlAVcE3aWyP4fUi6UgbQe1FodFiCkeIBurlcWVLcGnnpnwEuB_dd6hbDO-WebJKj1yQJFPf7JU/s72-c/FINALPAGE1.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-7142143807514190389</id><published>2011-11-10T00:51:00.000-08:00</published><updated>2011-11-10T00:51:51.609-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mouseevent in java"/><title type='text'>mouseevent in java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
-program based on mouseevent in &amp;nbsp;java-----&lt;br /&gt;
-&lt;br /&gt;
&lt;br /&gt;
import java.awt.*;&lt;br /&gt;
import java.awt.event.*;&lt;br /&gt;
import java.applet.*;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&amp;lt;applet code=&quot;mouse&quot; width=600 height=500&amp;gt;&lt;br /&gt;
&amp;lt;/applet&amp;gt;&lt;br /&gt;
*/&lt;br /&gt;
public class mouse extends Applet&lt;br /&gt;
implements MouseListener,MouseMotionListener&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int X=10,Y=50;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;String msg=&quot;MouseEvents&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void init()&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;addMouseListener(this);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;addMouseMotionListener(this);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setBackground(Color.yellow);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setForeground(Color.red);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void mouseEntered(MouseEvent m)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setBackground(Color.blue);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;showStatus(&quot;Mouse Entered&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;repaint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void mouseExited(MouseEvent m)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setBackground(Color.black);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;showStatus(&quot;Mouse Exited&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;repaint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void mousePressed(MouseEvent m)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;X=20;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Y=40;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;msg=&quot;GTBIT&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setBackground(Color.pink);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;repaint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void mouseReleased(MouseEvent m)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;X=20;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Y=40;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;msg=&quot;Engineering&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setBackground(Color.magenta);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;repaint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void mouseMoved(MouseEvent m)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;X=m.getX();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Y=m.getY();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;msg=&quot;College&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setBackground(Color.white);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;showStatus(&quot;Mouse Moved&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;repaint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void mouseDragged(MouseEvent m)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;msg=&quot;IT-INFORMATION TECHNOLOGY&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setBackground(Color.yellow);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;showStatus(&quot;Mouse Moved&quot;+m.getX()+&quot; &quot;+m.getY());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;repaint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void mouseClicked(MouseEvent m)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;msg=&quot;Students&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setBackground(Color.pink);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;showStatus(&quot;Mouse Clicked&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;repaint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void paint(Graphics g)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;g.drawString(msg,X,Y);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/7142143807514190389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/11/mouseevent-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/7142143807514190389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/7142143807514190389'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/11/mouseevent-in-java.html' title='mouseevent in java'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-8217607757912991576</id><published>2011-11-10T00:24:00.000-08:00</published><updated>2011-11-10T00:24:54.158-08:00</updated><title type='text'>paintbrush applet from jdk</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
this applet was taken from java development kit to give a java developer an innovative idea....&lt;br /&gt;
an applet for paint brush:&lt;br /&gt;
&lt;br /&gt;
import java.awt.*;&lt;br /&gt;
import java.applet.*;&lt;br /&gt;
&lt;br /&gt;
import java.util.Vector;&lt;br /&gt;
&lt;br /&gt;
public class DrawTest extends Applet {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void init() {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;setLayout(new BorderLayout());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;DrawPanel dp = new DrawPanel();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add(&quot;Center&quot;, dp);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add(&quot;South&quot;,new DrawControls(dp));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public boolean handleEvent(Event e) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;switch (e.id) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;case Event.WINDOW_DESTROY:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;System.exit(0);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;return true;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;default:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;return false;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public static void main(String args[]) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Frame f = new Frame(&quot;DrawTest&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;DrawTest drawTest = new DrawTest();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;drawTest.init();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;drawTest.start();&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;f.add(&quot;Center&quot;, drawTest);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;f.resize(300, 300);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;f.show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class DrawPanel extends Panel {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public static final int LINES = 0;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public static final int POINTS = 1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; mode = LINES;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Vector lines = new Vector();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Vector colors = new Vector();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int x1,y1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int x2,y2;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int xl, yl;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public DrawPanel() {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;setBackground(Color.white);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void setDrawMode(int mode) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;switch (mode) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;case LINES:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;case POINTS:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;this.mode = mode;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;default:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;throw new IllegalArgumentException();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public boolean handleEvent(Event e) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;switch (e.id) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;case Event.MOUSE_DOWN:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;switch (mode) {&lt;br /&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;case LINES:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;x1 = e.x;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;y1 = e.y;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;x2 = -1;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;br /&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;case POINTS:&lt;br /&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;default:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;colors.addElement(getForeground());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;lines.addElement(new Rectangle(e.x, e.y, -1, -1));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;x1 = e.x;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;y1 = e.y;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;repaint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;return true;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;case Event.MOUSE_UP:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;switch (mode) {&lt;br /&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;case LINES:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;colors.addElement(getForeground());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;lines.addElement(new Rectangle(x1, y1, e.x, e.y));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;x2 = xl = -1;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;br /&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;case POINTS:&lt;br /&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;default:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;repaint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;return true;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;case Event.MOUSE_DRAG:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;switch (mode) {&lt;br /&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;case LINES:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;xl = x2;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;yl = y2;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;x2 = e.x;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;y2 = e.y;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;br /&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;case POINTS:&lt;br /&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;default:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;colors.addElement(getForeground());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;lines.addElement(new Rectangle(x1, y1, e.x, e.y));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;x1 = e.x;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;y1 = e.y;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;repaint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;return true;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;case Event.WINDOW_DESTROY:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;System.exit(0);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;return true;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;default:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;return false;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void paint(Graphics g) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int np = lines.size();&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/* draw the current lines */&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;g.setColor(getForeground());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;g.setPaintMode();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for (int i=0; i &amp;lt; np; i++) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;Rectangle p = (Rectangle)lines.elementAt(i);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;g.setColor((Color)colors.elementAt(i));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;if (p.width != -1) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;g.drawLine(p.x, p.y, p.width, p.height);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;} else {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;g.drawLine(p.x, p.y, p.x, p.y);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if (mode == LINES) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;g.setXORMode(getBackground());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;if (xl != -1) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/* erase the last line. */&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;g.drawLine(x1, y1, xl, yl);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;g.setColor(getForeground());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;g.setPaintMode();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;if (x2 != -1) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;g.drawLine(x1, y1, x2, y2);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
class DrawControls extends Panel {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; DrawPanel target;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public DrawControls(DrawPanel target) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;this.target = target;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;setLayout(new FlowLayout());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;setBackground(Color.lightGray);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;target.setForeground(Color.red);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;CheckboxGroup group = new CheckboxGroup();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Checkbox b;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add(b = new Checkbox(null, group, false));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;b.setBackground(Color.red);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add(b = new Checkbox(null, group, false));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;b.setBackground(Color.green);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add(b = new Checkbox(null, group, false));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;b.setBackground(Color.blue);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add(b = new Checkbox(null, group, false));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;b.setBackground(Color.pink);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add(b = new Checkbox(null, group, false));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;b.setBackground(Color.orange);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add(b = new Checkbox(null, group, true));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;b.setBackground(Color.black);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;target.setForeground(b.getForeground());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Choice shapes = new Choice();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;shapes.addItem(&quot;Lines&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;shapes.addItem(&quot;Points&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;shapes.setBackground(Color.lightGray);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add(shapes);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void paint(Graphics g) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Rectangle r = bounds();&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;g.setColor(Color.lightGray);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;g.draw3DRect(0, 0, r.width, r.height, false);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public boolean action(Event e, Object arg) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if (e.target instanceof Checkbox) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;target.setForeground(((Component)e.target).getBackground());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;} else if (e.target instanceof Choice) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;String choice = (String)arg;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;if (choice.equals(&quot;Lines&quot;)) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;target.setDrawMode(DrawPanel.LINES);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;} else if (choice.equals(&quot;Points&quot;)) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;target.setDrawMode(DrawPanel.POINTS);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return true;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
output:&lt;br /&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/AVvXsEgdPUidULAvXyzjImZ5JiCNHMYi4bPnH0Nk4ovhYSQGQfd5gcjoPRYrR0pkIZjqHicTZbjdO0FsCqEmowkD53CwtfNs3k_Aq1XE1Mxye1IsOQa3TqPjGwJXL1ntSc8v3vBguj5ldc0TzKs/s1600/paintbrush.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;204&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdPUidULAvXyzjImZ5JiCNHMYi4bPnH0Nk4ovhYSQGQfd5gcjoPRYrR0pkIZjqHicTZbjdO0FsCqEmowkD53CwtfNs3k_Aq1XE1Mxye1IsOQa3TqPjGwJXL1ntSc8v3vBguj5ldc0TzKs/s320/paintbrush.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/8217607757912991576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/11/paintbrush-applet-from-jdk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/8217607757912991576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/8217607757912991576'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/11/paintbrush-applet-from-jdk.html' title='paintbrush applet from jdk'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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/AVvXsEgdPUidULAvXyzjImZ5JiCNHMYi4bPnH0Nk4ovhYSQGQfd5gcjoPRYrR0pkIZjqHicTZbjdO0FsCqEmowkD53CwtfNs3k_Aq1XE1Mxye1IsOQa3TqPjGwJXL1ntSc8v3vBguj5ldc0TzKs/s72-c/paintbrush.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-4602382425873645308</id><published>2011-11-10T00:07:00.000-08:00</published><updated>2011-11-10T00:09:15.691-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="datagrampacket datagramsocket"/><title type='text'>datagrampacket datagramsocket</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;program based on client-server in java.&lt;br /&gt;
server program save in one file:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
import java.net.*;&lt;br /&gt;
&lt;br /&gt;
class hi_server&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static DatagramSocket ds;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static byte buffer[]=new byte[1024];&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static void Myserver() throws Exception&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;int pos=0;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;while(true)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;int c=System.in.read();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;switch(c)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;case -1: System.out.println(&quot;Server quits&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;return;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;case &#39;\r&#39;:break;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;case &#39;\n&#39;:ds.send(new DatagramPacket(buffer,pos,InetAddress.getLocalHost(),777));&lt;br /&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; &amp;nbsp; pos=0;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;break;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;default:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;buffer[pos++]=(byte) c;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static void main(String args[]) throws Exception&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;Server ready..\n Please type here&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ds=new DatagramSocket(888);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Myserver();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
client program save in as different java file&lt;br /&gt;
import java.net.*;&lt;br /&gt;
&lt;br /&gt;
class hi_client&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static DatagramSocket ds;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static byte buffer[]=new byte[1024];&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static void Myclient() throws Exception&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;while(true)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;DatagramPacket p=new DatagramPacket(buffer,buffer.length);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;ds.receive(p);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;System.out.println(new String(p.getData(),0,p.getLength()));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static void main(String args[]) throws Exception&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;Client - Press CTRL+C to quit&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ds=new DatagramSocket(777);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Myclient();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
output of the program:&lt;br /&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/AVvXsEibi7TTHlVROd5f4gEwmqsNMfP4wZqSmL4lLb_8h7y06UAvRT-t1NjZ_gsv9iTELpOiw_zhSDmC_8-EopjSaHfjFc8Bq9GN4kP2ajrEeXqx5uR8MH-6OCja5dmY3QrbyfLwqDbzZMm3NHg/s1600/datagramprotocol.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibi7TTHlVROd5f4gEwmqsNMfP4wZqSmL4lLb_8h7y06UAvRT-t1NjZ_gsv9iTELpOiw_zhSDmC_8-EopjSaHfjFc8Bq9GN4kP2ajrEeXqx5uR8MH-6OCja5dmY3QrbyfLwqDbzZMm3NHg/s320/datagramprotocol.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/4602382425873645308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/11/server-program-save-in-one-file-import.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4602382425873645308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4602382425873645308'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/11/server-program-save-in-one-file-import.html' title='datagrampacket datagramsocket'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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/AVvXsEibi7TTHlVROd5f4gEwmqsNMfP4wZqSmL4lLb_8h7y06UAvRT-t1NjZ_gsv9iTELpOiw_zhSDmC_8-EopjSaHfjFc8Bq9GN4kP2ajrEeXqx5uR8MH-6OCja5dmY3QrbyfLwqDbzZMm3NHg/s72-c/datagramprotocol.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-4802730941162597410</id><published>2011-11-09T23:46:00.000-08:00</published><updated>2011-11-09T23:46:53.914-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="notepad in java"/><category scheme="http://www.blogger.com/atom/ns#" term="text editor in java"/><title type='text'>notepad in java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
//notepad or text-editor in java with source code&lt;br /&gt;
&lt;br /&gt;
import java.awt.*;&lt;br /&gt;
import javax.swing.*;&lt;br /&gt;
import java.awt.event.*;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
import java.util.*;&lt;br /&gt;
&lt;br /&gt;
public class notepad extends JFrame implements ActionListener&lt;br /&gt;
{&lt;br /&gt;
MenuBar mbar;&lt;br /&gt;
Menu file,edit,format,font,font1,font2;&lt;br /&gt;
MenuItem itm1,itm2,itm3,itm4;&lt;br /&gt;
MenuItem itm5,itm6,itm7,itm8,itm9,itm10;&lt;br /&gt;
MenuItem fnam1,fnam2,fnam3,fnam4;&lt;br /&gt;
MenuItem fstyle1,fstyle2,fstyle3,fstyle4;&lt;br /&gt;
MenuItem fsize1,fsize2,fsize3,fsize4;&lt;br /&gt;
&lt;br /&gt;
JPanel mainpanel;&lt;br /&gt;
TextArea text;&lt;br /&gt;
&lt;br /&gt;
Font f;&lt;br /&gt;
String months[]={&lt;br /&gt;
&quot;Jan&quot;,&quot;Feb&quot;,&quot;Mar&quot;,&quot;Apr&quot;,&lt;br /&gt;
&quot;May&quot;,&quot;Jun&quot;,&quot;Jul&quot;,&quot;Aug&quot;,&lt;br /&gt;
&quot;Sep&quot;,&quot;Oct&quot;,&quot;Nov&quot;,&quot;Dec&quot;};&lt;br /&gt;
&lt;br /&gt;
GregorianCalendar gcalendar;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
String command=&quot; &quot;;&lt;br /&gt;
String str=&quot; &quot;;&lt;br /&gt;
&lt;br /&gt;
String str1=&quot; &quot;,str2=&quot; &quot;,str3=&quot; &quot;;&lt;br /&gt;
String str4=&quot; &quot;;&lt;br /&gt;
&lt;br /&gt;
String str6=&quot; &quot;;&lt;br /&gt;
String str7=&quot; &quot;,str8=&quot; &quot;,str9=&quot; &quot;;&lt;br /&gt;
&lt;br /&gt;
int len1;&lt;br /&gt;
&lt;br /&gt;
int i=0;&lt;br /&gt;
int pos1;&lt;br /&gt;
int len;&lt;br /&gt;
&lt;br /&gt;
public notepad(String str)&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
super(str);&lt;br /&gt;
&lt;br /&gt;
mainpanel=new JPanel();&lt;br /&gt;
mainpanel=(JPanel)getContentPane();&lt;br /&gt;
mainpanel.setLayout(new FlowLayout());&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mbar=new MenuBar();&lt;br /&gt;
setMenuBar(mbar);&lt;br /&gt;
&lt;br /&gt;
file=new Menu(&quot;File&quot;);&lt;br /&gt;
edit=new Menu(&quot;Edit&quot;);&lt;br /&gt;
format=new Menu(&quot;Format&quot;);&lt;br /&gt;
font=new Menu(&quot;Font&quot;);&lt;br /&gt;
font1=new Menu(&quot;Font Style&quot;);&lt;br /&gt;
font2=new Menu(&quot;Size&quot;);&lt;br /&gt;
&lt;br /&gt;
file.add(itm1=new MenuItem(&quot;New...&quot;));&lt;br /&gt;
file.add(itm2=new MenuItem(&quot;Open&quot;));&lt;br /&gt;
file.add(itm3=new MenuItem(&quot;Save As...&quot;));&lt;br /&gt;
file.add(itm4=new MenuItem(&quot;Exit&quot;));&lt;br /&gt;
mbar.add(file);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
edit.add(itm5=new MenuItem(&quot;Cut (Ctrl+X)&quot;));&lt;br /&gt;
edit.add(itm6=new MenuItem(&quot;Copy (Ctrl+C)&quot;));&lt;br /&gt;
edit.add(itm7=new MenuItem(&quot;Paste (Ctrl+V)&quot;));&lt;br /&gt;
edit.add(itm8=new MenuItem(&quot;Delete&quot;));&lt;br /&gt;
edit.add(itm10=new MenuItem(&quot;Select All (Ctrl+A)&quot;));&lt;br /&gt;
edit.add(itm9=new MenuItem(&quot;Time/Date&quot;));&lt;br /&gt;
mbar.add(edit);&lt;br /&gt;
&lt;br /&gt;
format.add(font);&lt;br /&gt;
format.add(font1);&lt;br /&gt;
format.add(font2);&lt;br /&gt;
&lt;br /&gt;
font.add(fnam1=new MenuItem(&quot;Courier&quot;));&lt;br /&gt;
font.add(fnam2=new MenuItem(&quot;Sans Serif&quot;));&lt;br /&gt;
font.add(fnam3=new MenuItem(&quot;Monospaced&quot;));&lt;br /&gt;
font.add(fnam4=new MenuItem(&quot;Symbol&quot;));&lt;br /&gt;
&lt;br /&gt;
font1.add(fstyle1=new MenuItem(&quot;Regular&quot;));&lt;br /&gt;
font1.add(fstyle2=new MenuItem(&quot;Bold&quot;));&lt;br /&gt;
font1.add(fstyle3=new MenuItem(&quot;Italic&quot;));&lt;br /&gt;
font1.add(fstyle4=new MenuItem(&quot;Bold Italic&quot;));&lt;br /&gt;
&lt;br /&gt;
font2.add(fsize1=new MenuItem(&quot;12&quot;));&lt;br /&gt;
font2.add(fsize2=new MenuItem(&quot;14&quot;));&lt;br /&gt;
font2.add(fsize3=new MenuItem(&quot;18&quot;));&lt;br /&gt;
font2.add(fsize4=new MenuItem(&quot;20&quot;));&lt;br /&gt;
&lt;br /&gt;
mbar.add(format);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
itm1.addActionListener(this);&lt;br /&gt;
itm2.addActionListener(this);&lt;br /&gt;
itm3.addActionListener(this);&lt;br /&gt;
itm4.addActionListener(this);&lt;br /&gt;
itm5.addActionListener(this);&lt;br /&gt;
itm6.addActionListener(this);&lt;br /&gt;
itm7.addActionListener(this);&lt;br /&gt;
itm8.addActionListener(this);&lt;br /&gt;
itm9.addActionListener(this);&lt;br /&gt;
itm10.addActionListener(this);&lt;br /&gt;
fnam1.addActionListener(this);&lt;br /&gt;
fnam2.addActionListener(this);&lt;br /&gt;
fnam3.addActionListener(this);&lt;br /&gt;
fnam4.addActionListener(this);&lt;br /&gt;
fstyle1.addActionListener(this);&lt;br /&gt;
fstyle2.addActionListener(this);&lt;br /&gt;
fstyle3.addActionListener(this);&lt;br /&gt;
fstyle4.addActionListener(this);&lt;br /&gt;
fsize1.addActionListener(this);&lt;br /&gt;
fsize2.addActionListener(this);&lt;br /&gt;
fsize3.addActionListener(this);&lt;br /&gt;
fsize4.addActionListener(this);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
text=new TextArea(26,60);&lt;br /&gt;
mainpanel.add(text);&lt;br /&gt;
&lt;br /&gt;
f=new Font(&quot;Monotype Corsiva&quot;,Font.PLAIN,15);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public void actionPerformed(ActionEvent ae)&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
command=(String)ae.getActionCommand();&lt;br /&gt;
&lt;br /&gt;
if(command.equals(&quot;New...&quot;))&lt;br /&gt;
{&lt;br /&gt;
dispose();&lt;br /&gt;
trail note1 = new trail(&quot;Untitled-Notepad&quot;);&lt;br /&gt;
note1.setSize(500,500);&lt;br /&gt;
note1.setVisible(true);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
try&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
if(command.equals(&quot;Open&quot;))&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
str4=&quot; &quot;;&lt;br /&gt;
FileDialog dialog=new FileDialog(this,&quot;Open&quot;);&lt;br /&gt;
dialog.setVisible(true);&lt;br /&gt;
&lt;br /&gt;
str1=dialog.getDirectory();&lt;br /&gt;
str2=dialog.getFile();&lt;br /&gt;
str3=str1+str2;&lt;br /&gt;
File f=new File(str3);&lt;br /&gt;
FileInputStream fobj=new FileInputStream(f);&lt;br /&gt;
len=(int)f.length();&lt;br /&gt;
for(int j=0;j&amp;lt;len;j++)&lt;br /&gt;
{&lt;br /&gt;
char str5=(char)fobj.read();&lt;br /&gt;
str4=str4 + str5;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
text.setText(str4);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
catch(IOException e)&lt;br /&gt;
{}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
try&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
if(command.equals(&quot;Save As...&quot;))&lt;br /&gt;
{&lt;br /&gt;
FileDialog dialog1=new FileDialog(this,&quot;Save As&quot;,FileDialog.SAVE);&lt;br /&gt;
dialog1.setVisible(true);&lt;br /&gt;
&lt;br /&gt;
str7=dialog1.getDirectory();&lt;br /&gt;
str8=dialog1.getFile();&lt;br /&gt;
str9=str7+str8;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
str6=text.getText();&lt;br /&gt;
len1=str6.length();&lt;br /&gt;
byte buf[]=str6.getBytes();&lt;br /&gt;
&lt;br /&gt;
File f1=new File(str9);&lt;br /&gt;
FileOutputStream fobj1=new FileOutputStream(f1);&lt;br /&gt;
for(int k=0;k&amp;lt;len1;k++)&lt;br /&gt;
{&lt;br /&gt;
fobj1.write(buf[k]);&lt;br /&gt;
}&lt;br /&gt;
fobj1.close();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
this.setTitle(str8);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
catch(IOException e){}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if(command.equals(&quot;Exit&quot;))&lt;br /&gt;
{&lt;br /&gt;
System.exit(0);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if(command.equals(&quot;Cut&quot;))&lt;br /&gt;
{&lt;br /&gt;
str=text.getSelectedText();&lt;br /&gt;
i=text.getText().indexOf(str);&lt;br /&gt;
text.replaceRange(&quot; &quot;,i,i+str.length());&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if(command.equals(&quot;Copy&quot;))&lt;br /&gt;
{&lt;br /&gt;
str=text.getSelectedText();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if(command.equals(&quot;Paste&quot;))&lt;br /&gt;
{&lt;br /&gt;
pos1=text.getCaretPosition();&lt;br /&gt;
text.insert(str,pos1);&lt;br /&gt;
}&lt;br /&gt;
if(command.equals(&quot;Delete&quot;))&lt;br /&gt;
{&lt;br /&gt;
String msg=text.getSelectedText();&lt;br /&gt;
i=text.getText().indexOf(msg);&lt;br /&gt;
text.replaceRange(&quot; &quot;,i,i+msg.length());&lt;br /&gt;
}&lt;br /&gt;
if(command.equals(&quot;Time/Date&quot;))&lt;br /&gt;
{&lt;br /&gt;
gcalendar=new GregorianCalendar();&lt;br /&gt;
String h=String.valueOf(gcalendar.get(Calendar.HOUR));&lt;br /&gt;
String m=String.valueOf(gcalendar.get(Calendar.MINUTE));&lt;br /&gt;
String s=String.valueOf(gcalendar.get(Calendar.SECOND));&lt;br /&gt;
String date=String.valueOf(gcalendar.get(Calendar.DATE));&lt;br /&gt;
String mon=months[gcalendar.get(Calendar.MONTH)];&lt;br /&gt;
String year=String.valueOf(gcalendar.get(Calendar.YEAR));&lt;br /&gt;
String hms=&quot;Time&quot;+&quot; - &quot;+h+&quot;:&quot;+m+&quot;:&quot;+s+&quot; Date&quot;+&quot; - &quot;+date+&quot; &quot;+mon+&quot; &quot;+year;&lt;br /&gt;
int loc=text.getCaretPosition();&lt;br /&gt;
text.insert(hms,loc);&lt;br /&gt;
}&lt;br /&gt;
if(command.equals(&quot;Courier&quot;))&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
String fontName=f.getName();&lt;br /&gt;
String fontFamily=f.getFamily();&lt;br /&gt;
int fontSize=f.getSize();&lt;br /&gt;
int fontStyle=f.getStyle();&lt;br /&gt;
&lt;br /&gt;
f=new Font(&quot;Courier&quot;,fontStyle,fontSize);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
}&lt;br /&gt;
if(command.equals(&quot;Sans Serif&quot;))&lt;br /&gt;
{&lt;br /&gt;
String fontName=f.getName();&lt;br /&gt;
String fontFamily=f.getFamily();&lt;br /&gt;
int fontSize=f.getSize();&lt;br /&gt;
int fontStyle=f.getStyle();&lt;br /&gt;
&lt;br /&gt;
f=new Font(&quot;Sans Serif&quot;,fontStyle,fontSize);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
}&lt;br /&gt;
if(command.equals(&quot;Monospaced&quot;))&lt;br /&gt;
{&lt;br /&gt;
String fontName=f.getName();&lt;br /&gt;
String fontFamily=f.getFamily();&lt;br /&gt;
int fontSize=f.getSize();&lt;br /&gt;
int fontStyle=f.getStyle();&lt;br /&gt;
&lt;br /&gt;
f=new Font(&quot;Monospaced&quot;,fontStyle,fontSize);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if(command.equals(&quot;Symbol&quot;))&lt;br /&gt;
{&lt;br /&gt;
String fontName=f.getName();&lt;br /&gt;
String fontFamily=f.getFamily();&lt;br /&gt;
int fontSize=f.getSize();&lt;br /&gt;
int fontStyle=f.getStyle();&lt;br /&gt;
&lt;br /&gt;
f=new Font(&quot;Symbol&quot;,fontStyle,fontSize);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
System.out.println(f.getFamily());&lt;br /&gt;
}&lt;br /&gt;
if(command.equals(&quot;Regular&quot;))&lt;br /&gt;
{&lt;br /&gt;
String fontName=f.getName();&lt;br /&gt;
String fontFamily=f.getFamily();&lt;br /&gt;
int fontSize=f.getSize();&lt;br /&gt;
int fontStyle=f.getStyle();&lt;br /&gt;
&lt;br /&gt;
f=new Font(fontName,Font.PLAIN,fontSize);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
}&lt;br /&gt;
if(command.equals(&quot;Bold&quot;))&lt;br /&gt;
{&lt;br /&gt;
String fontName=f.getName();&lt;br /&gt;
String fontFamily=f.getFamily();&lt;br /&gt;
int fontSize=f.getSize();&lt;br /&gt;
int fontStyle=f.getStyle();&lt;br /&gt;
&lt;br /&gt;
f=new Font(fontName,Font.BOLD,fontSize);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
}&lt;br /&gt;
if(command.equals(&quot;Italic&quot;))&lt;br /&gt;
{&lt;br /&gt;
String fontName=f.getName();&lt;br /&gt;
String fontFamily=f.getFamily();&lt;br /&gt;
int fontSize=f.getSize();&lt;br /&gt;
int fontStyle=f.getStyle();&lt;br /&gt;
&lt;br /&gt;
f=new Font(fontName,Font.ITALIC,fontSize);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
}&lt;br /&gt;
if(command.equals(&quot;Bold Italic&quot;))&lt;br /&gt;
{&lt;br /&gt;
String fontName=f.getName();&lt;br /&gt;
String fontFamily=f.getFamily();&lt;br /&gt;
int fontSize=f.getSize();&lt;br /&gt;
int fontStyle=f.getStyle();&lt;br /&gt;
&lt;br /&gt;
f=new Font(fontName,Font.BOLD|Font.ITALIC,fontSize);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if(command.equals(&quot;12&quot;))&lt;br /&gt;
{&lt;br /&gt;
String fontName=f.getName();&lt;br /&gt;
String fontFamily=f.getFamily();&lt;br /&gt;
int fontSize=f.getSize();&lt;br /&gt;
int fontStyle=f.getStyle();&lt;br /&gt;
&lt;br /&gt;
f=new Font(fontName,fontStyle,12);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if(command.equals(&quot;14&quot;))&lt;br /&gt;
{&lt;br /&gt;
String fontName=f.getName();&lt;br /&gt;
String fontFamily=f.getFamily();&lt;br /&gt;
int fontSize=f.getSize();&lt;br /&gt;
int fontStyle=f.getStyle();&lt;br /&gt;
&lt;br /&gt;
f=new Font(fontName,fontStyle,14);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
}&lt;br /&gt;
if(command.equals(&quot;18&quot;))&lt;br /&gt;
{&lt;br /&gt;
String fontName=f.getName();&lt;br /&gt;
String fontFamily=f.getFamily();&lt;br /&gt;
int fontSize=f.getSize();&lt;br /&gt;
int fontStyle=f.getStyle();&lt;br /&gt;
&lt;br /&gt;
f=new Font(fontName,fontStyle,18);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
}&lt;br /&gt;
if(command.equals(&quot;20&quot;))&lt;br /&gt;
{&lt;br /&gt;
String fontName=f.getName();&lt;br /&gt;
String fontFamily=f.getFamily();&lt;br /&gt;
int fontSize=f.getSize();&lt;br /&gt;
int fontStyle=f.getStyle();&lt;br /&gt;
&lt;br /&gt;
f=new Font(fontName,fontStyle,20);&lt;br /&gt;
text.setFont(f);&lt;br /&gt;
}&lt;br /&gt;
if(command.equals(&quot;Select All&quot;))&lt;br /&gt;
{&lt;br /&gt;
String strText=text.getText();&lt;br /&gt;
int strLen=strText.length();&lt;br /&gt;
text.select(0,strLen);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public static void main(String args[])&lt;br /&gt;
{&lt;br /&gt;
notepad note = new notepad(&quot;Untitled-Notepad&quot;);&lt;br /&gt;
note.setSize(500,500);&lt;br /&gt;
note.setVisible(true);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
output of our program:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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/AVvXsEgRfOMqzZ9AW1CsT-eVtuXTK14nOUzly3UTJf_RX-_luye4YgCyKtXbe9uy4F_ZFQHbNyjo0WaeXXesPcufVbO92YAz9Z6CIm9dzzah6l3rcD5-o0Ottr5md7ORRr7myvvZAERIIN96Gp0/s1600/notepad.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;199&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRfOMqzZ9AW1CsT-eVtuXTK14nOUzly3UTJf_RX-_luye4YgCyKtXbe9uy4F_ZFQHbNyjo0WaeXXesPcufVbO92YAz9Z6CIm9dzzah6l3rcD5-o0Ottr5md7ORRr7myvvZAERIIN96Gp0/s320/notepad.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/4802730941162597410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/11/notepad-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4802730941162597410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4802730941162597410'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/11/notepad-in-java.html' title='notepad in java'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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/AVvXsEgRfOMqzZ9AW1CsT-eVtuXTK14nOUzly3UTJf_RX-_luye4YgCyKtXbe9uy4F_ZFQHbNyjo0WaeXXesPcufVbO92YAz9Z6CIm9dzzah6l3rcD5-o0Ottr5md7ORRr7myvvZAERIIN96Gp0/s72-c/notepad.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-4537071533810589829</id><published>2011-11-09T23:03:00.000-08:00</published><updated>2011-11-09T23:03:34.705-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="uniform resource locator in java"/><category scheme="http://www.blogger.com/atom/ns#" term="url"/><category scheme="http://www.blogger.com/atom/ns#" term="urlin java"/><title type='text'>url in java</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;br /&gt;
To understand url-uniform resource locator operations in java just run this program ...&lt;br /&gt;
&lt;br /&gt;
import java.net.*;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
&lt;br /&gt;
class url&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static void main(String args[]) throws Exception&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL p1=new URL(&quot;http://www.oracle.com:80/docs/path#up&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;Protocol:&quot;+p1.getProtocol());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;Host :&quot;+p1.getHost());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;File Name :&quot;+p1.getFile());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;Port :&quot;+p1.getPort());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;Reference :&quot;+p1.getRef());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/4537071533810589829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/11/url-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4537071533810589829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4537071533810589829'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/11/url-in-java.html' title='url in java'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-298998117224245810</id><published>2011-10-25T19:04:00.000-07:00</published><updated>2011-10-25T19:12:30.321-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="diwali 2011"/><category scheme="http://www.blogger.com/atom/ns#" term="diwali happy"/><category scheme="http://www.blogger.com/atom/ns#" term="happy diwali 2011"/><title type='text'>HAPPY DIWALI 2011</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Diwali is a traditional festivals that has been celebrated almost in all asian coountries like India,Myanmar,Malaysia,Sri lanka ,Nepal etc.It is festivals of lighting of clay lamps and seeing the beautiful glow of lights that is beauty of lights and an art of yours at &amp;nbsp;night that says from heart awsome,awsome and out of this world.....So i am not going to miss this day and enjoy it to the fullest with my family and friends.....&lt;br /&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/AVvXsEikwTdQGHT-McX6_6hI6JStEmlxY5OS0W_bFeCpN4tLPKEmxxyXKLNy5BxxUIiOG4O2AaXl0Wpl8evAVQwveiZ6XMQueLiM0EPNF6ikQT4b2dX9GUGag4XTnZ9WFWBX3YOm8ekbpTpJzVI/s1600/images.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikwTdQGHT-McX6_6hI6JStEmlxY5OS0W_bFeCpN4tLPKEmxxyXKLNy5BxxUIiOG4O2AaXl0Wpl8evAVQwveiZ6XMQueLiM0EPNF6ikQT4b2dX9GUGag4XTnZ9WFWBX3YOm8ekbpTpJzVI/s1600/images.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Here just to say happy diwali to all my colleague and freinds...So i wish millions of lamps illuminate ur life with health,joy,prosperity,love,wealth and happiness forever and ever .....&lt;br /&gt;
Happy Diwali 2011&lt;br /&gt;
Happy Diwali 2011&lt;br /&gt;
&lt;a href=&quot;http://itprofessionalsrocks.blogspot.com/&quot;&gt;itprofessionalsrocks.blogspot.com&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/298998117224245810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/10/happy-diwali.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/298998117224245810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/298998117224245810'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/10/happy-diwali.html' title='HAPPY DIWALI 2011'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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/AVvXsEikwTdQGHT-McX6_6hI6JStEmlxY5OS0W_bFeCpN4tLPKEmxxyXKLNy5BxxUIiOG4O2AaXl0Wpl8evAVQwveiZ6XMQueLiM0EPNF6ikQT4b2dX9GUGag4XTnZ9WFWBX3YOm8ekbpTpJzVI/s72-c/images.jpg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Asia</georss:featurename><georss:point>20.593684 78.962880000000041</georss:point><georss:box>6.071455499999999 64.319952500000042 35.1159125 93.60580750000004</georss:box></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-6545853322904835420</id><published>2011-09-29T11:27:00.001-07:00</published><updated>2011-09-29T21:59:45.215-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DATABASE"/><category scheme="http://www.blogger.com/atom/ns#" term="GROUP BY"/><category scheme="http://www.blogger.com/atom/ns#" term="GTBIT"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>GTBIT SQL QUERY</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;a href=&quot;http://itprofessionalsrocks.blogspot.com/&quot;&gt;ITPROFESSIONALSROCKS.BLOGSPOT.COM&lt;/a&gt;&lt;br /&gt;
---2 QUESTION--&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .75in; mso-list: l0 level1 lfo1; tab-stops: list .75in; text-indent: -.25in;&quot;&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&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 lang=&quot;EN-IN&quot;&gt;Create a database named ‘ Employee’.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .75in; mso-list: l0 level1 lfo1; tab-stops: list .75in; text-indent: -.25in;&quot;&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&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 lang=&quot;EN-IN&quot;&gt;Use the database ‘Employee’ and create a table ‘Emp’ with attributes ‘ename’,’ecity’,’salary’,’enumber’,’eaddress’,’depttname’.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .75in; mso-list: l0 level1 lfo1; tab-stops: list .75in; text-indent: -.25in;&quot;&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&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 lang=&quot;EN-IN&quot;&gt;Create another table ‘Company’ with attributes ‘cname’,’ ccity’,’numberof emp’,’empnumber’ in the database ‘Employee’.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
create database employee&lt;br /&gt;
use employee&lt;br /&gt;
create table emp&lt;br /&gt;
(&lt;br /&gt;
ename varchar(20),ecity varchar(20),salary float,enumber int,eaddres varchar(40),deptname varchar(20));&lt;br /&gt;
Create table &amp;nbsp;Company&lt;br /&gt;
( cname varchar(20), ccity varchar(20),numberofemp int,empnumber int )&lt;br /&gt;
insert into emp values(&#39;hemant&#39;,&#39;delhi&#39;,500000,98993142,&#39;karol bagh&#39;,&#39;techsolution&#39;);&lt;br /&gt;
insert into emp values(&#39;rajiv&#39;,&#39;delhi&#39;,300000,99999234,&#39;moti nagar&#39;,&#39;finanace&#39;);&lt;br /&gt;
insert into emp values(&#39;raji&#39;,&#39;delhi&#39;,300000,99999234,&#39;moti nagar&#39;,&#39;manager&#39;,&#39;finanace&#39;);&lt;br /&gt;
insert into Company values(&#39;TCS&#39;,&#39;GURGAON&#39;,5000,500);&lt;br /&gt;
INSERT INTO Company VALUES(&#39;MICROSOFT&#39;,&#39;GURGAON&#39;,10000,300);&lt;br /&gt;
INSERT INTO Company VALUES(&#39;MICROSOFT&#39;,&#39;noida&#39;,12000,300);&lt;br /&gt;
&lt;br /&gt;
select *from emp&lt;br /&gt;
select *from company&lt;br /&gt;
-------3 quest----&lt;span lang=&quot;EN-IN&quot; style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&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 lang=&quot;EN-IN&quot;&gt;Find the names of all employees who live in &lt;st1:city w:st=&quot;on&quot;&gt;&lt;st1:place w:st=&quot;on&quot;&gt;Delhi&lt;/st1:place&gt;&lt;/st1:city&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&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 lang=&quot;EN-IN&quot;&gt;Increase the salary of all employees by Rs. 5,000.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&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 lang=&quot;EN-IN&quot;&gt;Find the company names where the number of employees is greater than 10,000.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&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 lang=&quot;EN-IN&quot;&gt;Change the &lt;st1:place w:st=&quot;on&quot;&gt;&lt;st1:placename w:st=&quot;on&quot;&gt;Company&lt;/st1:placename&gt; &lt;st1:placetype w:st=&quot;on&quot;&gt;City&lt;/st1:placetype&gt;&lt;/st1:place&gt; to Gurgaon where the Company name is ‘TCS’.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-IN&quot;&gt;SOLUTION:&lt;/span&gt;&lt;br /&gt;
select ename from emp where ecity=&#39;delhi&#39;&lt;br /&gt;
update emp set salary=salary+5000&lt;br /&gt;
select cname from company where numberofemp&amp;gt;=10000&lt;br /&gt;
update company set ccity=&#39;noida&#39; where cname=&#39;TCS&#39;&lt;br /&gt;
select *from company&lt;br /&gt;
-------4 question--------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-IN&quot;&gt;Add an attribute named ‘ Designation’ to the table ‘Emp’.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-IN&quot;&gt;Modify the table ‘Emp’, Change the datatype of ‘salary’      attribute to float.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-IN&quot;&gt;Drop the attribute ‘depttname’ from the table ‘emp’.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-IN&quot;&gt;Delete the entries from the table ‘ Company’ where the number      of employees are less than 500.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
ALTER TABLE emp&lt;br /&gt;
ADD designation varchar(20)&lt;br /&gt;
alter table emp&lt;br /&gt;
add deptname varchar(20)&lt;br /&gt;
alter table emp alter column salary float;&lt;br /&gt;
alter table emp drop column deptname;&lt;br /&gt;
delete from company where numberofemp&amp;lt;5000&lt;br /&gt;
-----------5 question------------------&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-IN&quot;&gt;Find the names of all employees who live in ‘ Gurgaon’ and      whose salary is between Rs. 20,000 and Rs. 30,000.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-IN&quot;&gt;Find the names of all employees whose names begin with either      letter ‘A’ or ‘B’.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-IN&quot;&gt;Find the company names where the company city is ‘&lt;st1:city w:st=&quot;on&quot;&gt;&lt;st1:place w:st=&quot;on&quot;&gt;Delhi&lt;/st1:place&gt;&lt;/st1:city&gt;’ and the      number of employees is not between 5000 and 10,000.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-IN&quot;&gt;Find the names of all companies that do not end with letter      ‘A’.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
select ename from emp&lt;br /&gt;
where ecity=&#39;delhi&#39;and salary between 200000 and 500000&lt;br /&gt;
select ename from emp&lt;br /&gt;
where ename like &#39;a%&#39;or ename like &#39;b%&#39;&lt;br /&gt;
select cname from company&lt;br /&gt;
where ccity=&#39;delhi&#39;and numberofemp not between 5000 and 10000&lt;br /&gt;
select cname from company&lt;br /&gt;
where cname not like &#39;%a&#39;&lt;br /&gt;
----------------6 question----------------------&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-IN&quot;&gt;Find the sum and average of salaries of all employees in      computer science department.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-IN&quot;&gt;Find the number of all employees in company ‘TCS’.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Find the maximum and the minimum salary in the HR department( WE HAVE TAKEN TECHSOLUTION)&lt;/span&gt;&lt;br /&gt;
select sum(salary)from emp where deptname =&#39;techsolution&#39;&lt;br /&gt;
select *from emp&lt;br /&gt;
select avg(salary)from emp where deptname =&#39;techsolution&#39;&lt;br /&gt;
select numberoemp from company where cname=&#39;TCS&#39;&lt;br /&gt;
select max(salary)from emp where deptname=&#39;techsolution&#39;&lt;br /&gt;
select min(salary)from emp where deptname=&#39;techsolution&#39;&lt;br /&gt;
-----------------7 question---------------&lt;br /&gt;
&lt;br /&gt;
--•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;List all employee names in descending order.&lt;br /&gt;
--•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Find number of employees in each department where number of employees is greater than 5.&lt;br /&gt;
--•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;List all the department names where average salary of a department is Rs.10,000.&lt;br /&gt;
select ename from emp order by ename desc&lt;br /&gt;
select *from emp&lt;br /&gt;
select *from company&lt;br /&gt;
select count(*)from emp where(select count(deptname)from emp)&amp;gt;2&lt;br /&gt;
select deptname from emp where (select avg(salary)from emp)=405000&lt;br /&gt;
-----------------------8 question---(WE ARE NOT SURE ABOUT 8 QUESTION SO PLEASE VERIFY IT BEFORE COPYING)&lt;br /&gt;
--&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Alter table ‘Emp’ and make ‘enumber’ as the primary key.&lt;br /&gt;
--Alter table ‘Company’ and add the foreign key constraint.&lt;br /&gt;
---•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Add a check constraint in the table ‘Emp’ such that salary has the value between 0 and Rs.1,00,000.&lt;br /&gt;
ALTER TABLE emp ADD PRIMARY KEY (enumber)&lt;br /&gt;
ALTER TABLE company ADD FOREIGN KEY (enumber) REFERENCES emp(enumber)&lt;br /&gt;
ALTER TABLE emp add check(salary between 0 and 10000)&lt;br /&gt;
----------------9 question----&lt;br /&gt;
---•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Rename the name of database to ‘Employee1’.&lt;br /&gt;
-------•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Rename the name of &amp;nbsp;table ‘Emp’ to ‘Emp1’.&lt;br /&gt;
--------•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Change the name of the attribute ‘ename’ to ‘empname’.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;sp_renamedb employee ,employee1&lt;br /&gt;
sp_rename emp,emp1&lt;br /&gt;
SELECT ename AS empname&lt;br /&gt;
FROM emp1&lt;br /&gt;
select *from emp1&lt;br /&gt;
select *from company&lt;br /&gt;
select *from emp1&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/6545853322904835420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/09/gtbit-sql-query.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/6545853322904835420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/6545853322904835420'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/09/gtbit-sql-query.html' title='GTBIT SQL QUERY'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-4034348201475906363</id><published>2011-09-21T10:12:00.000-07:00</published><updated>2011-09-29T21:31:34.873-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="THREAD IN JAVA"/><title type='text'>JAVA PROGRAM 8</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;JAVA PROGRAM 8:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&quot;&gt;Create 2 threads such that one of thread prints even nos. and another prints odd nos. up to 50.&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;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;a href=&quot;http://itprofessionalsrocks.blogspot.com/&quot;&gt;itprofessionalsrocks.blogspot.com&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;class A extends Thread&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;public void run()&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;{ &amp;nbsp;System.out.println(&quot;even number from 1 to 50 are given below&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;for (int i=1;i&amp;lt;=50;i++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;if(i%2==0)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;System.out.println(&quot;\n&quot;+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; System.out.println(&quot;exit from thread a&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; class B extends Thread&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; public void run()&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; { &amp;nbsp; &amp;nbsp;System.out.println(&quot;odd number from 1 to 50 are given below &quot;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; for(int i=1;i&amp;lt;=50;i++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; {if(i%2!=0)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;{&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; System.out.println(&quot;\n&quot;+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; System.out.println(&quot;exit form thread b&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; class thread&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; public static void main(String args[])&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; A threadA=new A();&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; B threadB=new B();&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; System.out.println(&quot;Start thread A&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; threadA.start();&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; System.out.println(&quot;Start thread B&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; threadB.start();&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/4034348201475906363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/09/java-program-8.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4034348201475906363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4034348201475906363'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/09/java-program-8.html' title='JAVA PROGRAM 8'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-7236668335997508428</id><published>2011-09-21T07:47:00.000-07:00</published><updated>2011-09-29T21:32:01.977-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="USERDEFINED EXCEPTION"/><title type='text'>java program 7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
java program 7:&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Create a user defined exception named “CheckArguments” to check the arguments passed through command line. If no of arguments are less than 5, throw the “CheckArgument” exception else print addition and avg. of all 5 nos.&lt;/span&gt;&lt;br /&gt;
import java.lang.Exception;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
class CheckArguments extends Exception&lt;br /&gt;
{&lt;br /&gt;
CheckArguments(String message)&lt;br /&gt;
{super(message);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
class arguments&lt;br /&gt;
{&lt;br /&gt;
public static void main(String args[])&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
int a,count=0,sum=0,avg;&lt;br /&gt;
System.out.println(&quot;enter numbers&quot;) ;&lt;br /&gt;
for(int i=0;i&amp;lt;args.length;i++)&lt;br /&gt;
{ a=Integer.parseInt(args[i]);&lt;br /&gt;
count=count+1;&lt;br /&gt;
sum=sum+a;&lt;br /&gt;
}&lt;br /&gt;
avg=sum/i;&lt;br /&gt;
try&lt;br /&gt;
{&lt;br /&gt;
if(count&amp;lt;5)&lt;br /&gt;
{&lt;br /&gt;
throw new CheckArguments(&quot;Arguments are greater than 5&quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;nbsp;else&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; System.out.println(sum);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; System.out.println(avg);&lt;br /&gt;
}&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
catch (CheckArguments e)&lt;br /&gt;
{System.out.println(&quot;Caught the exception&quot;);&lt;br /&gt;
}&lt;br /&gt;
finally&lt;br /&gt;
{&lt;br /&gt;
System.out.println(&quot;i am always here&quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/7236668335997508428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/09/java-program-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/7236668335997508428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/7236668335997508428'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/09/java-program-7.html' title='java program 7'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-5651973450357656291</id><published>2011-09-21T07:32:00.000-07:00</published><updated>2011-09-29T21:32:47.101-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GTBIT JAVA PRACTICAL"/><category scheme="http://www.blogger.com/atom/ns#" term="SCANNER"/><category scheme="http://www.blogger.com/atom/ns#" term="USERDEFIEND EXCEPTION"/><title type='text'>java program 6</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
java program 6:&lt;br /&gt;
&lt;a href=&quot;http://itprofessionalsrocks.blogspot.com/&quot;&gt;itprofessionalsrocks.blogspot.com&lt;/a&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 16px;&quot;&gt;&amp;nbsp;WAP to define an exception called &quot;MarksOutOfBound&quot; exception that is thrown if the marks are out of bound.&lt;/span&gt;&lt;br /&gt;
import java.lang.Exception;&lt;br /&gt;
import java.util.Scanner;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
class MarksOutOfBound extends Exception&lt;br /&gt;
{&lt;br /&gt;
MarksOutOfBound(String message)&lt;br /&gt;
{super(message);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
class marksexcep&lt;br /&gt;
{&lt;br /&gt;
public static void main(String args[])&lt;br /&gt;
{&lt;br /&gt;
Scanner obj=new Scanner(System.in);&lt;br /&gt;
int[] a=new int[6];&lt;br /&gt;
System.out.println(&quot;enter marks for five subjects&quot;) ;&lt;br /&gt;
for(int i=0;i&amp;lt;5;i++)&lt;br /&gt;
{a[i]=obj.nextInt();&lt;br /&gt;
try&lt;br /&gt;
{if(a[i]&amp;gt;100)&lt;br /&gt;
{&lt;br /&gt;
throw new MarksOutOfBound(&quot;marks are out of bound&quot;);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
catch (MarksOutOfBound e)&lt;br /&gt;
{System.out.println(&quot;Caught the exception&quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/5651973450357656291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/09/java-program-6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/5651973450357656291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/5651973450357656291'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/09/java-program-6.html' title='java program 6'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-4051937335904471370</id><published>2011-09-21T07:05:00.000-07:00</published><updated>2011-09-29T21:33:13.883-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GTBIT PRACTICAL"/><category scheme="http://www.blogger.com/atom/ns#" term="USERDEFIEND EXCEPTION"/><title type='text'>java program 5:</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;java program 5:&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;WAP to catch any 3 built in exceptions in java.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;class exception&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;public static void main(String args[])&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;try&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;int a=args.length;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;System.out.println(&quot;a=&quot;+a);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;int b=42/a;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;try&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;int c[]={1};&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;c[42]=99;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; line-height: 18px;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; line-height: 18px;&quot;&gt;catch(ArrayIndexOutOfBoundsException e)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;{System.out.println(&quot;Arrays index oob&quot;+ e);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;catch(ArithmeticException e )&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;System.out.println(&quot;divide by 0&quot;+e);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;catch(ArrayStoreException e)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;System.out.println(&quot;Wrong data type&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;}catch(Exception e)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;System.out.println(&quot;recaught&quot;+ e);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/4051937335904471370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/09/java-program-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4051937335904471370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/4051937335904471370'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/09/java-program-5.html' title='java program 5:'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1184499489140080510.post-7641141325438525933</id><published>2011-09-21T06:22:00.000-07:00</published><updated>2011-09-29T21:33:39.925-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="INHERITANCE IN JAVA"/><title type='text'>java program 3:</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;a href=&quot;http://itprofessionalsrocks.blogspot.com/&quot;&gt;itprofessionalsrocks.blogspot.com&lt;/a&gt;&lt;br /&gt;
java program 3:&lt;br /&gt;
&lt;br /&gt;
a simple program demonstrating the concept of inheritance ..&lt;br /&gt;
class a&lt;br /&gt;
{&lt;br /&gt;
int i,j;&lt;br /&gt;
void show()&lt;br /&gt;
{&lt;br /&gt;
System.out.println(&quot;i and j&quot;+i+&quot;&quot;+j);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
class b extends a&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;int k;&lt;br /&gt;
&amp;nbsp;void showk(){&lt;br /&gt;
&amp;nbsp;System.out.println(&quot;k:&quot;+k);&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;void sum()&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;System.out.println(&quot;i+j+k:&quot;+(i+j+k));&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&amp;nbsp; class inherit&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp; public static void main(String args[])&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;{ a superob=new &amp;nbsp;a();&lt;br /&gt;
&amp;nbsp; b subob=new b();&lt;br /&gt;
&amp;nbsp; superob.i=10;&lt;br /&gt;
&amp;nbsp; subob.j=20;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; subob.showk();&lt;br /&gt;
&amp;nbsp; System.out.println(&quot;Contents of superOb&quot;) ;&lt;br /&gt;
&amp;nbsp; subob.i=7;&lt;br /&gt;
&amp;nbsp; subob.j=10;&lt;br /&gt;
&amp;nbsp; subob.k=11;&lt;br /&gt;
&amp;nbsp; System.out.println(&quot;Contents of subob&quot;);&lt;br /&gt;
&amp;nbsp; subob.showk();&lt;br /&gt;
&amp;nbsp; System.out.println(&quot;Sum of i,j,k in subob&quot;);&lt;br /&gt;
&amp;nbsp; subob.sum();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itprofessionalsrocks.blogspot.com/feeds/7641141325438525933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/09/java-program-3_21.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/7641141325438525933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1184499489140080510/posts/default/7641141325438525933'/><link rel='alternate' type='text/html' href='http://itprofessionalsrocks.blogspot.com/2011/09/java-program-3_21.html' title='java program 3:'/><author><name>Hemant Gupta</name><uri>http://www.blogger.com/profile/07066850715894356667</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><thr:total>0</thr:total></entry></feed>