<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Only my share</title>
	<atom:link href="http://adpjhype.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://adpjhype.wordpress.com</link>
	<description>Java , Groovy and others</description>
	<lastBuildDate>Sun, 07 Feb 2010 17:19:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='adpjhype.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/a9a8e151e2810231a1e0845673aff5a3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Only my share</title>
		<link>http://adpjhype.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://adpjhype.wordpress.com/osd.xml" title="Only my share" />
	<atom:link rel='hub' href='http://adpjhype.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Two big Projects</title>
		<link>http://adpjhype.wordpress.com/2010/02/07/two-big-projects/</link>
		<comments>http://adpjhype.wordpress.com/2010/02/07/two-big-projects/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 16:43:26 +0000</pubDate>
		<dc:creator>adpjhype</dc:creator>
				<category><![CDATA[OcS]]></category>
		<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://adpjhype.wordpress.com/?p=70</guid>
		<description><![CDATA[Started from middle of 2009, I was involved in two important consecutive big projects. The first is Network (Telco) Element Gateway with Service Oriented Architecture (SOA) methodology and the second one is Online Charging system (OCS) with HUAWEI as a third party. Actually it’s so amazing for me to be involved in those two projects [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=70&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">Started from middle of 2009, I was involved in two important consecutive big projects. The first is Network (Telco) Element Gateway with Service Oriented Architecture (SOA) methodology and the second one is Online Charging system (OCS) with HUAWEI as a third party.</div>
<div id="_mcePaste">Actually it’s so amazing for me to be involved in those two projects because of those two projects will boost the time to market of our services (Especially VAS services). So from today onward I would like to stay update my blog to share my experiences on those two projects. Start from how nice for me to create a new services using trio excellence technology called BPEL (Business Process Execution Language), Oracle Service Bus and Oracle Web Logic.</div>
<div id="_mcePaste">From OCS project I would like to share about attractive services like Parent &amp; Child, Collect call, FN and any others attractive services. Hopefully this new services will make our subscriber happy.</div>
<p><img class="size-full wp-image-76 alignleft" title="images" src="http://adpjhype.files.wordpress.com/2010/02/images1.jpg?w=700" alt=""   /><img class="size-full wp-image-75 alignleft" title="images (1)" src="http://adpjhype.files.wordpress.com/2010/02/images-1.jpg?w=700" alt=""   /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adpjhype.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adpjhype.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adpjhype.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adpjhype.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adpjhype.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adpjhype.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adpjhype.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adpjhype.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adpjhype.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adpjhype.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adpjhype.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adpjhype.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adpjhype.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adpjhype.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=70&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adpjhype.wordpress.com/2010/02/07/two-big-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3a88270492cc6353de1cfeb28e4fb1bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adpjhype</media:title>
		</media:content>

		<media:content url="http://adpjhype.files.wordpress.com/2010/02/images1.jpg" medium="image">
			<media:title type="html">images</media:title>
		</media:content>

		<media:content url="http://adpjhype.files.wordpress.com/2010/02/images-1.jpg" medium="image">
			<media:title type="html">images (1)</media:title>
		</media:content>
	</item>
		<item>
		<title>Our big Project</title>
		<link>http://adpjhype.wordpress.com/2009/08/18/our-big-project/</link>
		<comments>http://adpjhype.wordpress.com/2009/08/18/our-big-project/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 08:27:34 +0000</pubDate>
		<dc:creator>adpjhype</dc:creator>
				<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://adpjhype.wordpress.com/?p=63</guid>
		<description><![CDATA[Currently I&#8217;m working @Bakrie Telecom&#8211;a CDMA fixed wireless operator in Indonesia. My position is as an Engineer in IT Prepaid Development Department. Currently we&#8217;re running with Service Oriented Architecture Project which utilize Oracle SOA Suite as an implementation. Seriously, it is a big project. We have to integrate all variety of systems including Telecommunication Network [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=63&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Currently I&#8217;m working @Bakrie Telecom&#8211;a CDMA fixed wireless operator in Indonesia. My position is as an Engineer in IT Prepaid Development Department. Currently we&#8217;re running with Service Oriented Architecture Project which utilize Oracle SOA Suite as an implementation.</p>
<p>Seriously, it is a big project. We have to integrate all variety of systems including Telecommunication Network Element systems and then encapsulate those systems to Web Services using Service Oriented Architecture as the methodology.</p>
<p>I hope in this forum someone want to share his or her experiences when faced with the same kind of project.</p>
<div id="attachment_64" class="wp-caption aligncenter" style="width: 546px"><img class="size-full wp-image-64" title="professors" src="http://adpjhype.files.wordpress.com/2009/08/professors.jpg?w=700" alt="What a big project"   /><p class="wp-caption-text">What a big project</p></div>
<div id="attachment_67" class="wp-caption aligncenter" style="width: 675px"><img class="size-full wp-image-67" title="Goal" src="http://adpjhype.files.wordpress.com/2009/08/goal2.jpg?w=700" alt="The ultimate goal"   /><p class="wp-caption-text">The ultimate goal</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adpjhype.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adpjhype.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adpjhype.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adpjhype.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adpjhype.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adpjhype.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adpjhype.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adpjhype.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adpjhype.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adpjhype.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adpjhype.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adpjhype.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adpjhype.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adpjhype.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=63&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adpjhype.wordpress.com/2009/08/18/our-big-project/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3a88270492cc6353de1cfeb28e4fb1bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adpjhype</media:title>
		</media:content>

		<media:content url="http://adpjhype.files.wordpress.com/2009/08/professors.jpg" medium="image">
			<media:title type="html">professors</media:title>
		</media:content>

		<media:content url="http://adpjhype.files.wordpress.com/2009/08/goal2.jpg" medium="image">
			<media:title type="html">Goal</media:title>
		</media:content>
	</item>
		<item>
		<title>The beauty of Meta Object Programming in Groovy</title>
		<link>http://adpjhype.wordpress.com/2009/03/02/the-beauty-of-meta-object-programming-in-groovy/</link>
		<comments>http://adpjhype.wordpress.com/2009/03/02/the-beauty-of-meta-object-programming-in-groovy/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 12:38:48 +0000</pubDate>
		<dc:creator>adpjhype</dc:creator>
				<category><![CDATA[Groovy]]></category>
		<category><![CDATA[Groovy MOP]]></category>
		<category><![CDATA[Meta Object Programming in Groovy]]></category>

		<guid isPermaLink="false">http://adpjhype.wordpress.com/?p=56</guid>
		<description><![CDATA[Hello there, see you again. In this article I will show you how MOP programming will be easy when you implement it in Groovy. This simple way is achieved by strong expressiveness of Groovy language.  As you know, MOP or Meta Object Programming is one of good programming techniques that can change the behavior  of one object at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=56&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello there, see you again. In this article I will show you how MOP programming will be easy when you implement it in Groovy. This simple way is achieved by strong <span>expressiveness </span>of Groovy language. </p>
<p>As you know, MOP or Meta Object Programming is one of good programming techniques that can change the <span>behavior  </span>of one object at runtime. It is very different if you are as a Java Programmer where all of object is created by static type class and the <span>behavior </span>of the object of this class cannot be changed at run time.</p>
<p>In the following code I&#8217;ll show you how MOP enable us to change the behavior (add more method) to the Class / Object at runtime.</p>
<p><strong><em>String.metaClass.hitungPanjang = {<br />
         -&gt;<br />
              delegate.size()<br />
}</em></strong></p>
<p><strong><em>String test = &#8220;Aldry Deka Pratama&#8221;<br />
println &#8220;The number of character in string : &#8221; + test.hitungPanjang()</em></strong></p>
<div>In this code I define a new method called &#8220;hitungPanjang&#8221; that will count the size of the String. This method will be attached to existing String class. After you attached the method and make a new instance of this class, then you can call the method you already defined to the class  through its object</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adpjhype.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adpjhype.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adpjhype.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adpjhype.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adpjhype.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adpjhype.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adpjhype.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adpjhype.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adpjhype.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adpjhype.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adpjhype.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adpjhype.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adpjhype.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adpjhype.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=56&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adpjhype.wordpress.com/2009/03/02/the-beauty-of-meta-object-programming-in-groovy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3a88270492cc6353de1cfeb28e4fb1bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adpjhype</media:title>
		</media:content>
	</item>
		<item>
		<title>What the Heck Is a File Hole?</title>
		<link>http://adpjhype.wordpress.com/2009/01/27/what-the-heck-is-a-file-hole/</link>
		<comments>http://adpjhype.wordpress.com/2009/01/27/what-the-heck-is-a-file-hole/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 05:52:53 +0000</pubDate>
		<dc:creator>adpjhype</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[File]]></category>
		<category><![CDATA[File Hole]]></category>

		<guid isPermaLink="false">http://adpjhype.wordpress.com/?p=51</guid>
		<description><![CDATA[  A file hole occurs when the space on disk allocated for a file is less than the file size. Most modern filesystems provide for sparsely populated files, allocating space on disk only for the data actually written (more properly, allocating only those filesystem pages to which data was written). If data is written to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=51&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> </p>
<p align="left">A file hole occurs when the space on disk allocated for a file is less than the file size. Most modern filesystems provide for sparsely populated files, allocating space on disk only for the data actually written (more properly, allocating only those filesystem pages to which data was written). If data is written to the file in noncontiguous locations, this can result in areas of the file that logically contain no data (holes). For example, the following code might produce such kind of file:</p>
<p> </p>
<p align="left"><strong>import java.nio.ByteBuffer;<br />
import java.nio.channels.FileChannel;<br />
import java.io.File;<br />
import java.io.RandomAccessFile;<br />
import java.io.IOException;</strong></p>
<div><strong></strong></div>
<div><strong></strong></div>
<p> </p>
<p align="left"><strong>public class FileHole{<br />
     public static void main (String [] argv) throws IOException {<br />
             // Create a temp file, open for writing, and get      <br />
          // a FileChannel         <br />
         File temp = File.createTempFile(&#8220;holy&#8221;,null);<br />
        RandomAccessFile file = new RandomAccessFile (temp, &#8220;rw&#8221;);<br />
        FileChannel channel = file.getChannel( );<br />
<span style="font-weight:normal;">        <strong>ByteBuffer byteBuffer = ByteBuffer.allocateDirect (100);<br />
        putData (0, byteBuffer, channel);             <br />
        putData (5000000, byteBuffer, channel);<br />
        putData (50000, byteBuffer, channel); </strong></span></strong></p>
<div><span style="font-size:x-small;font-family:CourierNewPSMT;"><strong>        </strong><strong>  <strong>// Size will report the largest position written, but</strong></strong></span></div>
<p align="left"><strong>         // there are two holes in this file. This file will</strong></p>
<p align="left"><strong>         // not consume 5 MB on disk (unless the filesystem is</strong></p>
<p align="left"><strong>         // extremely brain-damaged)</strong></p>
<p align="left"><strong>         System.out.println (&#8220;Wrote temp file &#8216;&#8221; + temp.getPath( )<br />
                    + &#8220;&#8216;, size=&#8221; + channel.size( ));</strong></p>
<p align="left"><strong>         channel.close( );</strong></p>
<p align="left"><strong>        file.close( );</strong></p>
<p align="left"><strong>     }</strong></p>
<p align="left"><strong>private static void putData (int position, ByteBuffer buffer,<br />
     FileChannel channel) throws IOException {<br />
        <br />
          String string = &#8220;*&lt;&#8211; location &#8221; + position;<br />
          buffer.clear( );<br />
          buffer.put (string.getBytes (&#8220;US-ASCII&#8221;));<br />
          buffer.flip( );<br />
          channel.position (position);<br />
          channel.write (buffer);</strong></p>
<p align="left"><strong>      }<br />
}</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adpjhype.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adpjhype.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adpjhype.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adpjhype.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adpjhype.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adpjhype.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adpjhype.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adpjhype.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adpjhype.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adpjhype.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adpjhype.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adpjhype.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adpjhype.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adpjhype.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=51&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adpjhype.wordpress.com/2009/01/27/what-the-heck-is-a-file-hole/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3a88270492cc6353de1cfeb28e4fb1bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adpjhype</media:title>
		</media:content>
	</item>
		<item>
		<title>The beauty of SwingBuilder</title>
		<link>http://adpjhype.wordpress.com/2009/01/07/the-beauty-of-swingbuilder/</link>
		<comments>http://adpjhype.wordpress.com/2009/01/07/the-beauty-of-swingbuilder/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 15:47:58 +0000</pubDate>
		<dc:creator>adpjhype</dc:creator>
				<category><![CDATA[Groovy]]></category>
		<category><![CDATA[Groovy SwingBuilder]]></category>

		<guid isPermaLink="false">http://adpjhype.wordpress.com/?p=45</guid>
		<description><![CDATA[When I was in the University (STT TELKOM / IT TELKOM), I had a favorite text book as my Java reference. The book title is Core JAVA-Volume 1 and 2 written by Cay S Horstmann and Gary Cornell. In chapter 8 about Event Handling, the authors explained to the reader about basic event handling with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=45&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I was in the University (STT TELKOM / IT TELKOM), I had a favorite text book as my Java reference. The book title is <em><strong>Core JAVA-Volume 1 and 2</strong></em> written by Cay S Horstmann and Gary Cornell. In chapter 8 about Event Handling, the authors explained to the reader about basic event handling with one code example. The example will generate a Frame that consists of three buttons with the label &#8220;Yellow&#8221;, &#8220;Blue&#8221;, and &#8220;Red&#8221;. If one of its button is pressed the event will be triggered by each button to change the background color of the Frame. The following code is taken from their book:</p>
<p><strong>1. import java.awt.*;<br />
2. import java.awt.event.*;<br />
3. import javax.swing.*;<br />
4.<br />
5. public class ButtonTest<br />
6. {<br />
7.  public static void main(String[] args)<br />
8. {<br />
9. ButtonFrame frame = new ButtonFrame();<br />
10. frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);<br />
11. frame.show();<br />
12. }<br />
13. }<br />
14.<br />
15. /**<br />
16. A frame with a button panel<br />
17. */<br />
18. class ButtonFrame extends JFrame<br />
19. {<br />
20. public ButtonFrame()<br />
21. {<br />
22. setTitle(&#8220;ButtonTest&#8221;);<br />
23. setSize(WIDTH, HEIGHT);<br />
24.<br />
25. // add panel to frame<br />
26.<br />
27. ButtonPanel panel = new ButtonPanel();<br />
28. Container contentPane = getContentPane();<br />
29. contentPane.add(panel);<br />
30. }<br />
31.<br />
32. public static final int WIDTH = 300;<br />
33. public static final int HEIGHT = 200;<br />
34. }<br />
35.<br />
36. /**<br />
37. A panel with three buttons.<br />
38. */<br />
39. class ButtonPanel extends JPanel<br />
40. {<br />
41. public ButtonPanel()<br />
42. {<br />
43. // create buttons<br />
44.<br />
45. JButton yellowButton = new JButton(&#8220;Yellow&#8221;);<br />
46. JButton blueButton = new JButton(&#8220;Blue&#8221;);<br />
47. JButton redButton = new JButton(&#8220;Red&#8221;);<br />
48.<br />
49. // add buttons to panel<br />
50.<br />
51. add(yellowButton);<br />
52. add(blueButton);<br />
53. add(redButton);<br />
54.<br />
55. // create button actions<br />
56.<br />
57. ColorAction yellowAction = new ColorAction(Color.yellow);<br />
58. ColorAction blueAction = new ColorAction(Color.blue);<br />
59. ColorAction redAction = new ColorAction(Color.red);<br />
60.<br />
61. // associate actions with buttons<br />
62.<br />
63. yellowButton.addActionListener(yellowAction);<br />
64. blueButton.addActionListener(blueAction);<br />
65. redButton.addActionListener(redAction);<br />
66. }<br />
67.<br />
68. /**<br />
69. An action listener that sets the panel&#8217;s background color.<br />
70. */<br />
71. private class ColorAction implements ActionListener<br />
72. {<br />
73. public ColorAction(Color c)<br />
74. {<br />
75. backgroundColor = c;<br />
76. }<br />
77.<br />
78. public void actionPerformed(ActionEvent event)<br />
79. {<br />
80. setBackground(backgroundColor);<br />
81. repaint();<br />
82. }<br />
83.<br />
84. private Color backgroundColor;<br />
85. }<br />
86. }<br />
</strong></p>
<p>Now, I want to show you how Groovy will accomplish the same program with its SwingBuilder Power:</p>
<p><strong>import groovy.swing.SwingBuilder;</strong></p>
<p><strong>swing = new SwingBuilder()<br />
frame = swing.frame(size:[400,500], title:&#8217;Swing Demo&#8217;, defaultCloseOperation:javax.swing.JFrame.EXIT_ON_CLOSE){<br />
panel(id:&#8217;mainPanel&#8217;){<br />
button(&#8216;Red&#8217;, actionPerformed : {<br />
mainPanel.background = java.awt.Color.RED<br />
mainPanel.repaint()<br />
})<br />
button(&#8216;Yellow&#8217;,actionPerformed : {<br />
mainPanel.background = java.awt.Color.YELLOW<br />
mainPanel.repaint()<br />
})<br />
button(&#8216;Blue&#8217;, actionPerformed : {<br />
mainPanel.background = java.awt.Color.BLUE<br />
mainPanel.repaint()<br />
})<br />
}<br />
}<br />
frame.show()</strong></p>
<p>From this two code, we can make a conclution that groovy code especially in its Swing Framework support is more flexible and more intuitive for us to figure out the containtment structure of its GUI components. In Java languange Swing Framework code programming is very hard to be read and not easly show us the containtment structure of its GUI components.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adpjhype.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adpjhype.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adpjhype.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adpjhype.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adpjhype.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adpjhype.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adpjhype.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adpjhype.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adpjhype.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adpjhype.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adpjhype.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adpjhype.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adpjhype.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adpjhype.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=45&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adpjhype.wordpress.com/2009/01/07/the-beauty-of-swingbuilder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3a88270492cc6353de1cfeb28e4fb1bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adpjhype</media:title>
		</media:content>
	</item>
		<item>
		<title>Closure make File Access so Easy in Groovy</title>
		<link>http://adpjhype.wordpress.com/2009/01/05/closure-and-file-access-in-groovy/</link>
		<comments>http://adpjhype.wordpress.com/2009/01/05/closure-and-file-access-in-groovy/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 16:41:26 +0000</pubDate>
		<dc:creator>adpjhype</dc:creator>
				<category><![CDATA[Groovy]]></category>
		<category><![CDATA[File Access in Groovy]]></category>

		<guid isPermaLink="false">http://adpjhype.wordpress.com/?p=40</guid>
		<description><![CDATA[As we know in Groovy, Closure is a class that only contain a pieces of code. If you came from C/C++ Closure will be identical to function pointer, but Closure has more capability and better safety mechanism. In this article, I will show you how Closure support in groovy can make file access whether it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=40&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As we know in Groovy, Closure is a class that only contain a pieces of code. If you came from C/C++ Closure will be identical to function pointer, but Closure has more capability and better safety mechanism. In this article, I will show you how Closure support in groovy can make file access whether it is read or write operation so easy.</p>
<p>If you are a Java programmer, you will agree that this is very complex to do read or write to a File. There has to be a try-catch mechanism to catch all possible IO Exception that possibly occur in the code. In groovy, You can forget all of kind of messy mechanisms and you can only concentrate to what will you do with the file.</p>
<p><strong>/*<br />
* File Demo<br />
*/<br />
// writing some text to c:/mylovepoet.txt<br />
file = new File(&#8216;c:/mylovepoet.txt&#8217;)<br />
file.write(&#8220;oh my darling&#8221;)</strong></p>
<p><strong>// append some text to the same file<br />
file.append(&#8216;oh my darling oh my darling\n&#8217;)<br />
file.append(&#8216;please. stay away\n&#8217;)</strong></p>
<p><strong>//Create new file and write to it using withWriter method and with closure argument<br />
file2 = new File(&#8216;c:/mylovepoet2.txt&#8217;)<br />
file2.withWriter{<br />
writer -&gt;<br />
writer &lt;&lt; &#8216;oh my sweety\n&#8217;<br />
writer &lt;&lt;  &#8216;please come to me&#8217;<br />
}</strong></p>
<p><strong>// append some more text to the file using withWriter<br />
file2.withWriterAppend{<br />
writer -&gt;<br />
writer &lt;&lt; &#8216;oh oh.. don\&#8217;t go&#8217;<br />
}</strong></p>
<p><strong>// now we can read the content of the first file<br />
file.eachLine {<br />
line -&gt;<br />
println line</strong></p>
<p><strong>}<br />
</strong></p>
<p><strong>// now we will display all line started with &#8216;please&#8217;<br />
</strong></p>
<p><strong>print &#8220;\nLIne started with &#8216;please&#8217;:\n&#8221;<br />
file.eachLine {<br />
line -&gt;<br />
if(line =~ /^please/){<br />
println line<br />
}<br />
}</strong></p>
<p>We can make some raw conclution about File Access in groovy. It is more convenient and faster to create a code that access a file without any annoying error-handling mechanisms. All of error handling automatically handled by Groovy.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adpjhype.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adpjhype.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adpjhype.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adpjhype.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adpjhype.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adpjhype.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adpjhype.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adpjhype.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adpjhype.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adpjhype.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adpjhype.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adpjhype.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adpjhype.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adpjhype.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=40&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adpjhype.wordpress.com/2009/01/05/closure-and-file-access-in-groovy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3a88270492cc6353de1cfeb28e4fb1bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adpjhype</media:title>
		</media:content>
	</item>
		<item>
		<title>Running Groovy script from crontab in Linux</title>
		<link>http://adpjhype.wordpress.com/2009/01/02/running-groovy-script-from-crontab-in-linux/</link>
		<comments>http://adpjhype.wordpress.com/2009/01/02/running-groovy-script-from-crontab-in-linux/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 09:15:59 +0000</pubDate>
		<dc:creator>adpjhype</dc:creator>
				<category><![CDATA[Groovy]]></category>
		<category><![CDATA[Groovy and Crontab]]></category>

		<guid isPermaLink="false">http://adpjhype.wordpress.com/?p=31</guid>
		<description><![CDATA[I got a task to gather some log files into one single log file. What I was thinking about when I tried to implement this task using Groovy is my previous failure experiences to run it from crontab service in Linux. But now, I have a good steps to solve this problem. 1. Assume that our [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=31&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got a task to gather some log files into one single log file. What I was thinking about when I tried to implement this task using Groovy is my previous failure experiences to run it from crontab service in Linux.</p>
<p>But now, I have a good steps to solve this problem.</p>
<p>1. Assume that our Groovy script located at : /opt/btel/script/aldry/fnflog/fnfLogForDW.groovy<br />
2. create a bash script to be run withing crontab service:</p>
<p><strong>JAVA_HOME=your-java-home-directory<br />
GROOVY_HOME=your-groovy-home-directory<br />
export JAVA_HOME<br />
export GROOVY_HOME</strong></p>
<p><strong>PATH=$JAVA_HOME/bin:$GROOVY_HOME/bin:$PATH:.<br />
export PATH</strong></p>
<p><strong>cd /opt/btel/script/aldry/fnflog<br />
groovy -classpath /opt/btel/script/aldry/fnflog //opt/btel/script/aldry/fnflog/fnfLogForDW.groovy</strong></p>
<p> 3. Assume that we saved that bash script to the file : /opt/btel/script/aldry/fnflog/fnfLogForDW<br />
4. type the following command from the console to install your script in the crontab service<br />
                  <strong>shell&gt; crontab -e</strong><br />
5.Put the following line, assume that this script will be run every 1:00 AM :<br />
                   <strong>0 1 * * * /opt/btel/script/aldry/fnflog/fnfLogForDW</strong><br />
6. Restart crond service with the following command:<br />
                   <strong>service crond restart</strong><br />
7. Enjoy <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adpjhype.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adpjhype.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adpjhype.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adpjhype.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adpjhype.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adpjhype.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adpjhype.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adpjhype.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adpjhype.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adpjhype.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adpjhype.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adpjhype.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adpjhype.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adpjhype.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=31&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adpjhype.wordpress.com/2009/01/02/running-groovy-script-from-crontab-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3a88270492cc6353de1cfeb28e4fb1bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adpjhype</media:title>
		</media:content>
	</item>
		<item>
		<title>My Groovy Vs Perl</title>
		<link>http://adpjhype.wordpress.com/2008/12/21/my-groovy-vs-perl/</link>
		<comments>http://adpjhype.wordpress.com/2008/12/21/my-groovy-vs-perl/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 16:01:18 +0000</pubDate>
		<dc:creator>adpjhype</dc:creator>
				<category><![CDATA[Groovy]]></category>

		<guid isPermaLink="false">http://adpjhype.wordpress.com/?p=25</guid>
		<description><![CDATA[Currently I&#8217;m working at the Telecommunication Company (Bakrie Telecom). I’m a staff of IT Billing Prepaid Development Department. The main function of this department is to build a variety of interfaces between IT Application whether it is build by other IT teams or by the third party vendors, to Bakrie Telecom ‘s Network Element such [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=25&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">Currently I&#8217;m working at the Telecommunication Company (Bakrie Telecom). I’m a staff of IT Billing Prepaid Development Department. The main function of this department is to build a variety of interfaces between IT Application whether it is build by other IT teams or by the third party vendors, to Bakrie Telecom ‘s Network Element such as SMSC (Short Message Service Center), IN (Intelligent Network), HLR (Home Locator Register) and any others standard TELCO Network Element.</p>
<p class="MsoNormal">My Manager is a PERL Hacker. He can do his magic with just a few of key stroke to accomplish variety of job or script, for example to parse the large CDR files, make a network connection to the Network Elements (for provisioning process) or connect to the Database. So in my first career in this company, I have to read preexisting of codes and I’m sure I got a lot of thing from it. But I don’t know why something missing in my mine. PERL is not really comfortable to program with (for me). Maybe, this is because my strong background as a Java programmer. So after about six months working for this company, I decided to write some of my new development jobs using Java Technology.</p>
<p class="MsoNormal">But after some development job has been done using my favorite Java Technology, I became to realize that there are some difficulties when I had a kind of development jobs that has a lot of parsing tasks. As we know, it’s very hard or maybe complex to accomplish such a job in Java programming language because of the lack of expressiveness of this language.</p>
<p class="MsoNormal">But now, the situations are totally different, I got a Groovy Programming language as second standard programming language in Java platform. So with this language I can accomplish a lot of job that is hard to do with Java Programming language with more enjoyment and fun.</p>
<p class="MsoNormal">In this article I want to show some examples of how Groovy programming Language can be more expressive than PERL.</p>
<p class="MsoNormal">1. Read a text file</p>
<p class="MsoListParagraphCxSpMiddle">In this section assumed that we’re going to dump a text file located at local directory c:/mylovepoet.txt</p>
<p class="MsoListParagraphCxSpMiddle">This is my code in groovy:</p>
<p class="MsoListParagraphCxSpMiddle" style="text-align:left;"><strong>/**<br />
Reading a text file located at c:/mylovepoet.txt using Groovy<br />
*/<br />
new File(“c:/mylovepoet.txt”).eachLine{ line -&gt;<br />
println line<br />
}</strong></p>
<p class="MsoListParagraphCxSpMiddle" style="text-align:left;">
<p class="MsoListParagraphCxSpMiddle" style="text-align:left;">This is my code in PERL</p>
<p class="MsoListParagraphCxSpMiddle"><strong>/**</strong></p>
<p class="MsoListParagraphCxSpMiddle"><strong>Reading a text file located at c:/mylovepoet.txt using PERL</strong></p>
<p class="MsoListParagraphCxSpMiddle"><strong>*/<br />
open(INPUT, “c:/mylovepoet.txt”);</strong></p>
<p class="MsoListParagraphCxSpMiddle">
<p class="MsoListParagraphCxSpMiddle"><strong>while(&lt;INPUT&gt;) {<br />
$line<span> </span>= $_;<br />
$line =~ s/\r|\n//gi;<br />
print “$line\n”;<br />
}</strong></p>
<p class="MsoListParagraphCxSpMiddle"><strong>close(INPUT);</strong></p>
<p class="MsoListParagraphCxSpMiddle">2. List Manipulation</p>
<p class="MsoListParagraphCxSpMiddle">In this example we have the list of programming language names, from this list we want to extract the programming language name that contains special characters such as ‘+’ or ‘#’. We can accomplish this job by the following Groovy and PERL script:</p>
<p class="MsoListParagraphCxSpMiddle"><strong>/**<br />
List usage in Groovy<br />
*/</strong></p>
<p class="MsoListParagraphCxSpMiddle"><strong>pl_list = [‘B’, ‘C’, ‘C++’, ‘JAVA’, ‘C#’]<br />
pl_with_special_char_list = pl_list.grep(/^\w(\+|#)+\w*$/)</strong></p>
<p class="MsoListParagraphCxSpMiddle">
<p class="MsoListParagraphCxSpMiddle">and this is my script in PERL</p>
<p class="MsoListParagraphCxSpMiddle"><strong>/**<br />
List usage in PERL<br />
*/</strong></p>
<p class="MsoListParagraphCxSpMiddle"><strong>@pl_list = (‘B’, ‘C’, ‘C++’, ‘JAVA’, ‘C#’);<br />
@pl_with_special_char_list = ();<br />
$i = 0;</strong></p>
<p class="MsoListParagraphCxSpMiddle"><strong>for($pl (@pl_list)) {<br />
if($pl<span> </span>=~<span> </span>/^\w(\+|#)+\w*$/) {</strong></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:.5in;"><strong> $pl_with_special_char_list[$i] = $<br />
$i++;<br />
}<span> </span></strong></p>
<p class="MsoListParagraphCxSpLast"><strong>}</strong></p>
<p class="MsoNormal">This article have no intention to prove that Groovy is better<span> </span>than PERL, but this article just want to show us that Groovy can be more expressive than PERL.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adpjhype.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adpjhype.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adpjhype.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adpjhype.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adpjhype.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adpjhype.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adpjhype.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adpjhype.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adpjhype.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adpjhype.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adpjhype.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adpjhype.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adpjhype.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adpjhype.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=25&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adpjhype.wordpress.com/2008/12/21/my-groovy-vs-perl/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3a88270492cc6353de1cfeb28e4fb1bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adpjhype</media:title>
		</media:content>
	</item>
		<item>
		<title>The easiest way to install JDK in Linux</title>
		<link>http://adpjhype.wordpress.com/2008/12/18/the-easiest-way-to-install-jdk-in-linux/</link>
		<comments>http://adpjhype.wordpress.com/2008/12/18/the-easiest-way-to-install-jdk-in-linux/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 08:16:53 +0000</pubDate>
		<dc:creator>adpjhype</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://adpjhype.wordpress.com/2008/12/18/the-easiest-way-to-install-jdk-in-linux/</guid>
		<description><![CDATA[I have read lots of user posting at various pages and none of them would work. Finally, I found a way to do this correctly and hope this will help to some of you. Follow the simple steps: 1. To set the environment variables : echo ‘export JAVA_HOME=/opt/btel/java/jdk1.5.0_16&#8242; &#62; /etc/profile.d/jdk.sh echo ‘export PATH=$JAVA_HOME/bin:$PATH’ &#62;&#62; /etc/profile.d/jdk.sh [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=11&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have read lots of user posting at various pages and none of them would work.<br />
Finally, I found a way to do this correctly and hope this will help to some of you.</p>
<p>Follow the simple steps:</p>
<p>1. To set the environment variables :</p>
<p>echo ‘export JAVA_HOME=/opt/btel/java/jdk1.5.0_16&#8242; &gt; /etc/profile.d/jdk.sh</p>
<p>echo ‘export PATH=$JAVA_HOME/bin:$PATH’ &gt;&gt; /etc/profile.d/jdk.sh</p>
<p>2. You have to source the file you just created by typing:<br />
source /etc/profile.d/jdk.sh</p>
<p>3. Test if Java environment is successfully installed by typing in this in the shell:<br />
java -version</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adpjhype.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adpjhype.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adpjhype.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adpjhype.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adpjhype.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adpjhype.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adpjhype.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adpjhype.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adpjhype.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adpjhype.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adpjhype.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adpjhype.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adpjhype.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adpjhype.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=11&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adpjhype.wordpress.com/2008/12/18/the-easiest-way-to-install-jdk-in-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3a88270492cc6353de1cfeb28e4fb1bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adpjhype</media:title>
		</media:content>
	</item>
		<item>
		<title>The Story of Groovy</title>
		<link>http://adpjhype.wordpress.com/2008/12/18/the-history-of-groovy/</link>
		<comments>http://adpjhype.wordpress.com/2008/12/18/the-history-of-groovy/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 04:32:14 +0000</pubDate>
		<dc:creator>adpjhype</dc:creator>
				<category><![CDATA[Groovy]]></category>

		<guid isPermaLink="false">http://adpjhype.wordpress.com/2008/12/18/the-history-of-groovy/</guid>
		<description><![CDATA[James Strachan is the founder of the Groovy Project. His inspiration of this project was started when he and his wife were waiting for the late plane schedule at the airport. He decided to visit Internet Cafée at the Airport, while his wife was going for shopping. When he was browsing from one web page [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=10&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>James Strachan is the founder of the Groovy Project. His inspiration of this project was started when he and his wife were waiting for the late plane schedule at the airport. He decided to visit Internet Cafée at the Airport, while his wife was going for shopping. When he was browsing from one web page to the others web page he decided to visit Python official Web Site. When he learned this language, he realized that there is a large amount of beautiful language features in Python that do not exist in his beloved programming language and platform technology, Java.</p>
<p class="MsoNoSpacing">
<p class="MsoNoSpacing">James Strachan and Bob McWhirter founded the Groovy project in 2003, recognizing that application development in Java is characterized by using multiple frameworks and gluing them together to form a product. They designed Groovy to streamline exactly this kind of work. At the same time, Richard Monson-Haefel met James, who introduced him to Groovy. Richard immediately recognized Groovy’s potential and suggested the submission of a Java Specification Request (JSR-241).</p>
<p class="MsoNoSpacing">
<p class="MsoNoSpacing">But what is the reaction of Sun Microsystem about the born of this language? Do they feel it as the other Java language competitor? No Guys, <strong>They don’t see Groovy as Java’s rival but rather as a companion that attracts brilliant developers who might otherwise move to Ruby or Python and thus away from the Java platform</strong>. Since the JSR has been accepted, Groovy is the second standard language for the Java VM (besides the Java language itself).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adpjhype.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adpjhype.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adpjhype.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adpjhype.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adpjhype.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adpjhype.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adpjhype.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adpjhype.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adpjhype.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adpjhype.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adpjhype.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adpjhype.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adpjhype.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adpjhype.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adpjhype.wordpress.com&amp;blog=5881038&amp;post=10&amp;subd=adpjhype&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adpjhype.wordpress.com/2008/12/18/the-history-of-groovy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3a88270492cc6353de1cfeb28e4fb1bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adpjhype</media:title>
		</media:content>
	</item>
	</channel>
</rss>
