<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>My Workday &#187; J2EE</title>
	<atom:link href="http://www.goworkday.com/category/j2ee/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.goworkday.com</link>
	<description>Let&#039;s talk TECH</description>
	<lastBuildDate>Thu, 02 Feb 2012 18:52:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Java: Constructors</title>
		<link>http://www.goworkday.com/2009/01/17/java-constructors/</link>
		<comments>http://www.goworkday.com/2009/01/17/java-constructors/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 18:40:31 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Constractor]]></category>

		<guid isPermaLink="false">http://www.goworkday.com/?p=58</guid>
		<description><![CDATA[<br/>Constructors When you create a new instance (a new object) of a class using the new keyword, a constructor for that class is called. Constructors are used to initialize the instance variables (fields) of an object. Constructors are similar to methods, but with some important differences. Constructor name is class name. A constructors must have [...]]]></description>
			<content:encoded><![CDATA[<br/><h1>Constructors</h1>
<p>When you create a new instance (a new object) of a class using the <code>new</code> keyword, a <em>constructor</em> for that class is called.  Constructors are used to initialize the instance variables (fields) of an object. Constructors are similar to methods, but with some important differences.</p>
<ul>
<li><strong>Constructor name is class name</strong>.  A constructors must have the <em>same name as the class its in</em>.</li>
<li><strong>Default constructor</strong>.  If you don&#8217;t define a constructor for a class, a <em>default parameterless constructor</em> is automatically created by the compiler.  The default constructor     calls the default parent constructor (super()) and     initializes all instance variables to default value (zero for numeric types,     null for object references, and false for booleans).</li>
<li><strong>Default constructor is created only if there are no constructors</strong>.      If you define <em>any</em> constructor for your class,     no default constructor is automatically created.     <!--     If you define a constructor with parameters, you might also want to     define a parameterless constructor so that the class can be used      in arrays????      --></li>
<li><strong>Differences between methods and constructors</strong>.
<ul>
<li>There is <em>no return type</em> given in a constructor signature (header).         The value is this object itself so there is no need to indicate a return value.</li>
<li>There is <em>no return statement</em> in the body of the constructor.</li>
<li>The <em>first line</em> of a constructor must either be a call on another         constructor in the same class (using <code>this</code>),          or a call on the superclass constructor (using <code>super</code>).         If the first line is neither of these, the compiler automatically         inserts a call to the parameterless super class constructor.</li>
</ul>
<p>These differences in syntax between a constructor and method are     sometimes hard to see when looking at the source.  It would have been     better to have had a keyword to clearly mark constructors as some     languages do.</li>
<li><strong><code>this(...)</code> &#8211; Calls another constructor in same class</strong>.       Often a constructor with few parameters will call a constructor with more      parameters, giving default values for the missing parameters.     Use <em><code>this</code> to call other constructors</em> in the same class.</li>
<li><strong><code>super(...)</code></strong>.  Use <code><em>super</em></code> to      call a constructor in a parent class.  Calling the constructor     for the superclass must be the      <em>first statement</em> in the body of a constructor.     If you are satisfied with the default constructor in the superclass,     there is no need to make a call to it because it will be supplied automatically.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.goworkday.com/2009/01/17/java-constructors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bitwise Operations</title>
		<link>http://www.goworkday.com/2008/10/09/bitwise-operations/</link>
		<comments>http://www.goworkday.com/2008/10/09/bitwise-operations/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 04:55:34 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Bitwise Operation]]></category>

		<guid isPermaLink="false">http://www.goworkday.com/?p=30</guid>
		<description><![CDATA[<br/>AND A bitwise AND takes two binary representations of equal length and performs the logical AND operation on each pair of corresponding bits. In each pair, the result is 1 if the first bit is 1 AND the second bit is 1. Otherwise, the result is 0. For example: 0101 AND 0011 = 0001 XOR [...]]]></description>
			<content:encoded><![CDATA[<br/><h3><span class="mw-headline">AND</span></h3>
<p>A <strong>bitwise AND</strong> takes two binary representations of equal length and performs the logical <a title="Logical conjunction" href="http://en.wikipedia.org/wiki/Logical_conjunction">AND</a> operation on each pair of corresponding bits. In each pair, the result is 1 if the first bit is 1 <strong>AND</strong> the second bit is 1. Otherwise, the result is 0. For example:<br />
<code><br />
0101<br />
AND 0011<br />
= 0001<br />
</code></p>
<h3><span class="mw-headline">XOR</span></h3>
<p>A <strong>bitwise exclusive or</strong> takes two bit patterns of equal length and performs the logical <a class="mw-redirect" title="Exclusive disjunction" href="http://en.wikipedia.org/wiki/Exclusive_disjunction">XOR</a> operation on each pair of corresponding bits. The result in each position is 1 if the two bits are different, and 0 if they are the same. For example:<br />
<code><br />
0101<br />
XOR 0011<br />
= 0110</code></p>
<p>In <a title="Java (programming language)" href="http://en.wikipedia.org/wiki/Java_%28programming_language%29">Java</a>, all integer types are signed, and the &#8220;<code>&lt;&lt;</code>&#8221; and &#8220;<code>&gt;&gt;</code>&#8221; operators perform arithmetic shifts. Java adds the operator &#8220;<code>&gt;&gt;&gt;</code>&#8221; to perform logical right shifts, but since the logical and arithmetic left-shift operations are identical, there is no &#8220;<code>&lt;&lt;&lt;</code>&#8221; operator in Java. These general rules are affected in several ways by the default <a class="new" title="Type promotion (page does not exist)" href="http://en.wikipedia.org/w/index.php?title=Type_promotion&amp;action=edit&amp;redlink=1">type promotions</a>; for example, since the eight-bit type <code>byte </code>is promoted to <code>int</code> in shift-expressions,<sup id="cite_ref-1" class="reference"><a href="http://en.wikipedia.org/wiki/Bitwise_operation#cite_note-1">[2]</a></sup> the expression &#8220;<code>b &gt;&gt;&gt; 2</code>&#8221; effectively performs an arithmetic shift of the byte value <code>b</code> instead of a logical shift. Such effects can be mitigated by judicious use of <a title="Type conversion" href="http://en.wikipedia.org/wiki/Type_conversion">casts</a> or <a class="mw-redirect" title="Bitmask" href="http://en.wikipedia.org/wiki/Bitmask">bitmasks</a>; for example, &#8220;<code>(b &amp; 0xFF) &gt;&gt;&gt; 2</code>&#8221; effectively results in a logical shift.<a href="http://www.goworkday.com/wp-content/uploads/2008/10/bitwise.gif"><img class="alignnone size-medium wp-image-33" title="bitwise" src="http://www.goworkday.com/wp-content/uploads/2008/10/bitwise.gif" alt="bitwise Bitwise Operations" width="277" height="133" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.goworkday.com/2008/10/09/bitwise-operations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>J2EE Development Environment</title>
		<link>http://www.goworkday.com/2008/06/08/j2ee-development-environment/</link>
		<comments>http://www.goworkday.com/2008/06/08/j2ee-development-environment/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 02:58:34 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[J2EE]]></category>

		<guid isPermaLink="false">http://www.goworkday.com/?p=4</guid>
		<description><![CDATA[<br/>Nowadays, modern web-based application development can&#8217;t exist without J2EE-based applications. These applications are built on a highly secure and powerful development platform. There are various Open Source applications that can help J2EE development a great deal. In this article, I would like to share with everyone an easy way to kick off your J2EE learning [...]]]></description>
			<content:encoded><![CDATA[<br/><p>Nowadays, modern web-based application development can&#8217;t exist without J2EE-based applications.  These applications are built on a highly secure and powerful development platform.  There are various Open Source applications that can help J2EE development a great deal.  In this article, I would like to share with everyone an easy way to kick off your J2EE learning for almost no cost to you.<span id="more-4"></span></p>
<p>Well, to run J2EE compliant web applications, one needs an application server to which one will want to deploy those applications.  There are plenty to choose from but I would recommend Apache TomCat 55x which is easy to use and is very reliable.  Tomcat is part of Apache&#8217;s Jakarta project which is a diverse set of open source Java solutions.</p>
<p>But what tool should you use to, actually, write your code in!  There are again a couple good open source IDEs, however the easiest and most robust one is Eclipse.  This IDE itself more than just an IDE, it is a development framework which allows developers to use various views and plug-ins to write and debug their code.</p>
<p>To write J2EE compliant web-based applications, MyEclipseIDE.com provides an excellent and inexpensive application which works as plug-in to Eclipse.</p>
<p>That is all.  Once you have all these in place, you are set for a good start in J2EE-based web development.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.goworkday.com/2008/06/08/j2ee-development-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

