<?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>Thayanithy Jegan &#124; Micro Circle &#124; OMNI Portal</title>
	<atom:link href="http://thajegan76.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thajegan76.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 08 Jan 2012 07:35:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='thajegan76.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Thayanithy Jegan &#124; Micro Circle &#124; OMNI Portal</title>
		<link>http://thajegan76.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://thajegan76.wordpress.com/osd.xml" title="Thayanithy Jegan &#124; Micro Circle &#124; OMNI Portal" />
	<atom:link rel='hub' href='http://thajegan76.wordpress.com/?pushpress=hub'/>
		<item>
		<title>OMNI 3.0 Portal on Tomcat 7.x.x</title>
		<link>http://thajegan76.wordpress.com/2012/01/08/omni-3-0-portal-on-tomcat-7-x-x/</link>
		<comments>http://thajegan76.wordpress.com/2012/01/08/omni-3-0-portal-on-tomcat-7-x-x/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 07:33:52 +0000</pubDate>
		<dc:creator>thajegan76</dc:creator>
				<category><![CDATA[OMNI Installation]]></category>

		<guid isPermaLink="false">http://thajegan76.wordpress.com/?p=68</guid>
		<description><![CDATA[Environment Setup Prerequisite In order to deploy OMNI on Tomcat 6.x.x and above, have to do the following steps Create sub-folder shared under CATALINA_HOME folder Create sub-folder lib under CATALINA_HOME\shared folder Create sub-folder Catalina under CATALINA_HOME\conf Open the file catalina.properties under CATALINA_HOME\conf and look for the line shared.loader. Replace that paricular line with shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/\*.jar Its [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=68&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Environment Setup</h3>
<p>Prerequisite</p>
<p>In order to deploy OMNI on Tomcat 6.x.x and above, have to do the following steps</p>
<ol>
<li>Create sub-folder shared under CATALINA_HOME folder</li>
<li>Create sub-folder lib under CATALINA_HOME\shared folder</li>
<li>Create sub-folder Catalina under CATALINA_HOME\conf</li>
<li>Open the file catalina.properties under CATALINA_HOME\conf and look for the line shared.loader. Replace that paricular line with shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/\*.jar</li>
</ol>
<p>Its done. Now can do ant clean / ant install and deploy OMNI portal.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thajegan76.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thajegan76.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thajegan76.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thajegan76.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thajegan76.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thajegan76.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thajegan76.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thajegan76.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thajegan76.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thajegan76.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thajegan76.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thajegan76.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thajegan76.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thajegan76.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=68&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thajegan76.wordpress.com/2012/01/08/omni-3-0-portal-on-tomcat-7-x-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f6a0a436a0933edd60ecfefc164ed41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thajegan76</media:title>
		</media:content>
	</item>
		<item>
		<title>OMNI 3.0 Portal on TOMCAT 7 with Apache as webserver</title>
		<link>http://thajegan76.wordpress.com/2012/01/08/omni-3-0-portal-on-tomcat-7-with-apache-as-webserver/</link>
		<comments>http://thajegan76.wordpress.com/2012/01/08/omni-3-0-portal-on-tomcat-7-with-apache-as-webserver/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 03:59:08 +0000</pubDate>
		<dc:creator>thajegan76</dc:creator>
				<category><![CDATA[OMNI Installation]]></category>

		<guid isPermaLink="false">http://thajegan76.wordpress.com/?p=62</guid>
		<description><![CDATA[Redirect Apache 2.x Request to Tomcat 7.x.x using mod_proxy Module After installing Linux by default make Apache 2.x to run on port 80 and run Tomcat 7.x.x on port 8080 Now go to Apche2 installation folder\Apache2.2\conf folder. Open httpd.conf to Uncomment the following three lines, LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so Look [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=62&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Redirect Apache 2.x Request to Tomcat 7.x.x using mod_proxy Module</h3>
<p>After installing Linux by default make Apache 2.x to run on port 80 and run Tomcat 7.x.x on port 8080</p>
<p>Now go to Apche2 installation folder\Apache2.2\conf folder. Open httpd.conf to Uncomment the following three lines,</p>
<ol>
<li>LoadModule proxy_module modules/mod_proxy.so</li>
<li>LoadModule proxy_ajp_module modules/mod_proxy_ajp.so</li>
<li>LoadModule proxy_balancer_module modules/mod_proxy_balancer.so</li>
</ol>
<p>Look for the lineand uncomment it.</p>
<p>Add the following entry into the above section of httpd.conf file</p>
<p>ProxyRequests Off<br />
ProxyPreserveHost On<br />
&lt;Proxy *&gt;<br />
Order deny,allow<br />
Allow from all<br />
&lt;/Proxy&gt;</p>
<p>ProxyPass / ajp://localhost:8009/<br />
ProxyPassReverse / ajp://localhost:8009/</p>
<p>&lt;Location / &gt;<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Location&gt;</p>
<p>It&#8217;s Done. Now by typing http://localhost; tomcat default page will come up.</p>
<p>What is Proxy ?</p>
<p>Benefits of using Apache as Proxy</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thajegan76.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thajegan76.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thajegan76.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thajegan76.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thajegan76.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thajegan76.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thajegan76.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thajegan76.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thajegan76.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thajegan76.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thajegan76.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thajegan76.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thajegan76.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thajegan76.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=62&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thajegan76.wordpress.com/2012/01/08/omni-3-0-portal-on-tomcat-7-with-apache-as-webserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f6a0a436a0933edd60ecfefc164ed41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thajegan76</media:title>
		</media:content>
	</item>
		<item>
		<title>General SQL Statements</title>
		<link>http://thajegan76.wordpress.com/2011/07/18/general-sql-statements/</link>
		<comments>http://thajegan76.wordpress.com/2011/07/18/general-sql-statements/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 03:11:41 +0000</pubDate>
		<dc:creator>thajegan76</dc:creator>
		
		<guid isPermaLink="false">http://thajegan76.wordpress.com/?p=54</guid>
		<description><![CDATA[To get the list of Marital Status SELECT PSK_STAT_KAHWIN, PSK_KTRGN_ST_KAHWIN FROM SN_KD_ST_KAHWIN<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=54&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To get the list of Marital Status</p>
<p>SELECT PSK_STAT_KAHWIN, PSK_KTRGN_ST_KAHWIN FROM SN_KD_ST_KAHWIN</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thajegan76.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thajegan76.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thajegan76.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thajegan76.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thajegan76.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thajegan76.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thajegan76.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thajegan76.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thajegan76.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thajegan76.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thajegan76.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thajegan76.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thajegan76.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thajegan76.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=54&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thajegan76.wordpress.com/2011/07/18/general-sql-statements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f6a0a436a0933edd60ecfefc164ed41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thajegan76</media:title>
		</media:content>
	</item>
		<item>
		<title>Staff related SQL Statements</title>
		<link>http://thajegan76.wordpress.com/2011/07/18/staff-related-sql-statements/</link>
		<comments>http://thajegan76.wordpress.com/2011/07/18/staff-related-sql-statements/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 03:09:29 +0000</pubDate>
		<dc:creator>thajegan76</dc:creator>
		
		<guid isPermaLink="false">http://thajegan76.wordpress.com/?p=51</guid>
		<description><![CDATA[To identify the staff&#8217;s PTJ SELECT KODPTJ_POHON, PTJ_POHON FROM SN_VW_ATT_STAF WHERE NOGAJI_POHON = &#8216;XXXXXX&#8217; To identify the staff&#8217;s JABATAN SELECT KODJABATAN_POHON, JABATAN_POHON FROM SN_VW_ATT_STAF WHERE NOGAJI_POHON = &#8216;XXXXXX&#8217;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=51&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>To identify the staff&#8217;s PTJ<br />
</strong>SELECT KODPTJ_POHON, PTJ_POHON FROM SN_VW_ATT_STAF WHERE NOGAJI_POHON = &#8216;XXXXXX&#8217;</p>
<p><strong>To identify the staff&#8217;s JABATAN<br />
</strong>SELECT KODJABATAN_POHON, JABATAN_POHON FROM SN_VW_ATT_STAF WHERE NOGAJI_POHON = &#8216;XXXXXX&#8217;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thajegan76.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thajegan76.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thajegan76.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thajegan76.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thajegan76.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thajegan76.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thajegan76.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thajegan76.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thajegan76.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thajegan76.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thajegan76.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thajegan76.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thajegan76.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thajegan76.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=51&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thajegan76.wordpress.com/2011/07/18/staff-related-sql-statements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f6a0a436a0933edd60ecfefc164ed41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thajegan76</media:title>
		</media:content>
	</item>
		<item>
		<title>Enabling the PHP OCI8 Extension on Linux</title>
		<link>http://thajegan76.wordpress.com/2010/07/21/enabling-the-php-oci8-extension-on-linux/</link>
		<comments>http://thajegan76.wordpress.com/2010/07/21/enabling-the-php-oci8-extension-on-linux/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 05:37:41 +0000</pubDate>
		<dc:creator>thajegan76</dc:creator>
				<category><![CDATA[Installations]]></category>

		<guid isPermaLink="false">http://thajegan76.wordpress.com/?p=46</guid>
		<description><![CDATA[Install PHP and Apache. Check that PHP is working. Download the Basic and the SDK Instant Client packages from the OTN Instant Client page. Install the RPMs as the root user: rpm -Uvh oracle-instantclient11.1-basic-11.1.0.7.0-1.i386.rpm rpm -Uvh oracle-instantclient11.1-devel-11.1.0.7.0-1.i386.rpm The first RPM puts the Oracle libraries in /usr/lib/oracle/11.1/client/lib The second creates headers in /usr/include/oracle/11.1/client The latest OCI8 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=46&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ol>
<li>Install PHP and Apache. Check that PHP is working.</li>
<li>Download the Basic and the SDK Instant Client packages from the <a href="http://www.oracle.com/technology/tech/oci/instantclient/index.html">OTN Instant Client page</a>. Install the RPMs as the root user:<br />
<strong>rpm -Uvh oracle-instantclient11.1-basic-11.1.0.7.0-1.i386.rpm<br />
rpm -Uvh oracle-instantclient11.1-devel-11.1.0.7.0-1.i386.rpm<br />
</strong>The first RPM puts the Oracle libraries in /usr/lib/oracle/11.1/client/lib<br />
The second creates headers in /usr/include/oracle/11.1/client</li>
<li>The latest OCI8 1.3 extension from PECL supercedes the default version in the PHP 5.2 source code. This can be downloaded manually and installed with:<br />
<strong>pecl install oci8-1.3.5.tgz</strong></li>
<li>This gives:<br />
downloading oci8-1.3.5.tgz &#8230;<br />
Starting to download oci8-1.3.5.tgz (137,987 bytes) &#8230;..done: 137,987 bytes<br />
10 source files, building running: phpize<br />
Configuring for:<br />
PHP Api Version:         20041225<br />
Zend Module Api No:      20060613<br />
Zend Extension Api No:   220060519<br />
Please provide the path to the ORACLE_HOME directory. Use &#8216;instantclient,/path/to/instant/client/lib&#8217; if you&#8217;re compiling with Oracle Instant Client : autodetect 1-1, &#8216;all&#8217;, &#8216;abort&#8217;, or Enter to continue:</li>
<li>Since we have installed the Instant Client RPMs, <strong>hit Enter</strong> and PECL will automatically locate the RPMs and build and install an oci8.so shared library.</li>
<li>In php.ini, enable the OCI8 extension with: <strong>extension=oci8.so</strong></li>
<li>Verifying the Extension is Installed</li>
<li>To check the extension is configured, create a simple PHP script phpinfo.php in the Apache document root:<br />
&lt;?php<br />
phpinfo();<br />
?&gt;</li>
<li>Load the script into a browser using the appropriate URL, e.g. &#8220;http://localhost/phpinfo.php&#8221;. The browser page will contain an &#8220;oci8&#8243; section saying &#8220;OCI8 Support enabled&#8221;. The OCI8 options that can be configured in your php.ini file are shown.﻿</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thajegan76.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thajegan76.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thajegan76.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thajegan76.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thajegan76.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thajegan76.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thajegan76.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thajegan76.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thajegan76.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thajegan76.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thajegan76.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thajegan76.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thajegan76.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thajegan76.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=46&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thajegan76.wordpress.com/2010/07/21/enabling-the-php-oci8-extension-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f6a0a436a0933edd60ecfefc164ed41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thajegan76</media:title>
		</media:content>
	</item>
		<item>
		<title>Backup to Local server</title>
		<link>http://thajegan76.wordpress.com/2010/03/09/omni-installation/</link>
		<comments>http://thajegan76.wordpress.com/2010/03/09/omni-installation/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 10:20:58 +0000</pubDate>
		<dc:creator>thajegan76</dc:creator>
				<category><![CDATA[OMNI Installation]]></category>

		<guid isPermaLink="false">http://thajegan76.wordpress.com/?p=33</guid>
		<description><![CDATA[SSH Security Step 1 Identify the server that initially contains the files (we will call this the SOURCE server), and the serverto which you want to transfer the files (we will call this the TARGET server). Confirm that you can log in to the SOURCE server, that you can log in to the TARGET server, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=33&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>SSH Security</strong></p>
<p><strong>Step 1</strong></p>
<p>Identify the server that initially contains the files (we will call this the SOURCE server), and the serverto which you want to transfer the files (we will call this the TARGET server). Confirm that you can log in to the SOURCE server, that you can log in to the TARGET server, and that while logged into the TARGET server, you can use ssh to login to the SOURCE server using your password.</p>
<p><strong>Step 2</strong></p>
<p>Log into the TARGET server. Execute the command</p>
<p>[mikeular@targethost~]$ ssh-keygen -t dsa</p>
<p>ssh-keygen will ask you where you want to save the key. Accept the default directory, which will be ~/.ssh/id_dsa . Next it will ask you for a passphrase, leave this entry blank.</p>
<p>Your private key file will be saved to ~/.ssh/id_dsa and your public key will be saved to ~/.ssh/id_dsa.pub. Careful! Anyone who obtains a copy of your id_dsa file will be able to login to the SOURCE server as you, without authenticating themselves. Make sure that it&#8217;s stored securely!</p>
<p><strong>Step 3</strong></p>
<p>Now you will configure the SOURCE server to accept the key. Once this step is complete, anyone with the id_dsa file will be able to log into the SOURCE server without providing a password. Log into the SOURCE server and create the ssh directory:</p>
<p>[mikeular@sourcehost~]$ mkdir ~/.ssh<br />
[mikeular@sourcehost~]$ cd ~/.ssh</p>
<p>Using vi or another text editor, create a file in ~/.ssh named authorized_keys2 . Now switch over to the TARGET server and copy the contents of the file id_dsa.pub and paste them into authorized_keys2 on the SOURCE server. Save the text file.</p>
<p><strong>Step 4</strong></p>
<p>Make sure that the authorized_keys2 cannot be changed by other users on the SOURCE server:</p>
<p>[mikeular@sourcehost~]$ chmod 644 ~/.ssh/authorized_keys2</p>
<p><strong>Step 5</strong></p>
<p>Now you can test your setup. Go back to the TARGET server and connect to the source.</p>
<p>[mikeular@targethost~]$ ssh username@sourcehost.com<br />
[mikeular@sourcehost~]</p>
<p>Your ssh connection is now working correctly.</p>
<p><strong>Step 6</strong></p>
<p>Test your rsync over ssh connection by copying a file from SOURCE to TARGET. Enter the following command all on one line, being sure to substitute in the correct pathnames, username, and hostname.</p>
<p>[mikeular@targethost~]$ rsync -avz -e/usr/bin/ssh username@sourcehost.com:/home/username/testfile /home/mikeular/</p>
<p>This should copy the file &#8220;testfile&#8221; from your home directory on sourcehost to your home directory on targethost.</p>
<p><strong>Step 7</strong></p>
<p>All that&#8217;s left is to setup your cron job. Plenty of documentation is available online.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thajegan76.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thajegan76.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thajegan76.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thajegan76.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thajegan76.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thajegan76.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thajegan76.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thajegan76.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thajegan76.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thajegan76.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thajegan76.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thajegan76.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thajegan76.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thajegan76.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=33&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thajegan76.wordpress.com/2010/03/09/omni-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f6a0a436a0933edd60ecfefc164ed41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thajegan76</media:title>
		</media:content>
	</item>
		<item>
		<title>Hot Air Balloon in Melaka, Malaysia</title>
		<link>http://thajegan76.wordpress.com/2009/11/30/hot-air-balloon-in-melaka-malaysia/</link>
		<comments>http://thajegan76.wordpress.com/2009/11/30/hot-air-balloon-in-melaka-malaysia/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 10:42:27 +0000</pubDate>
		<dc:creator>thajegan76</dc:creator>
				<category><![CDATA[OMNI Portlet Projects]]></category>

		<guid isPermaLink="false">http://thajegan76.wordpress.com/?p=29</guid>
		<description><![CDATA[Come fly with us in Melaka, the world heritage city. Now at Dataran Pahlawan, Melaka, Malaysia. http://www.aeronazballoons.com Now Aeronaz Balloons is using OMNI, a JSR168 compliant Portal.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=29&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Come fly with us in Melaka, the world heritage city. Now at Dataran Pahlawan, Melaka, Malaysia.</p>
<p><a href="http://www.aeronazballoons.com/omni/omni/portal/aeronaz-hot-air-balloon-melaka-malaysia/r/">http://www.aeronazballoons.com</a></p>
<p>Now Aeronaz Balloons is using OMNI, a JSR168 compliant Portal.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thajegan76.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thajegan76.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thajegan76.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thajegan76.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thajegan76.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thajegan76.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thajegan76.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thajegan76.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thajegan76.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thajegan76.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thajegan76.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thajegan76.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thajegan76.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thajegan76.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=29&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thajegan76.wordpress.com/2009/11/30/hot-air-balloon-in-melaka-malaysia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f6a0a436a0933edd60ecfefc164ed41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thajegan76</media:title>
		</media:content>
	</item>
		<item>
		<title>Malaysian Hindu Temple Directory &#8211; myhindutemples.com</title>
		<link>http://thajegan76.wordpress.com/2009/10/10/malaysian-hindu-temple-directory-myhindutemples-com/</link>
		<comments>http://thajegan76.wordpress.com/2009/10/10/malaysian-hindu-temple-directory-myhindutemples-com/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 13:03:44 +0000</pubDate>
		<dc:creator>thajegan76</dc:creator>
				<category><![CDATA[OMNI Portlet Projects]]></category>

		<guid isPermaLink="false">http://thajegan76.wordpress.com/?p=25</guid>
		<description><![CDATA[Listing of Hindu Worship Places  in Malaysia &#8211; A Database Project    After 52 years of Independence, the actual number of Hindu places of worship (temples, shrines, etc) in Malaysia are not known. Different groups, from politicians to NGOs, offer different figures ranging from 10,000 to 20,000; researchers from State governments, MIC, MHS and other NGOs have undertaken [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=25&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td colspan="2"><span style="font-weight:bold;">Listing of Hindu Worship Places  in Malaysia &#8211; A Database Project</span></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"> After 52 years of Independence, the actual number of Hindu places of worship (temples, shrines, etc) in Malaysia are not known. Different groups, from politicians to NGOs, offer different figures ranging from 10,000 to 20,000; researchers from State governments, MIC, MHS and other NGOs have undertaken data-collection projects at various times for this purpose, but there is still no composite available.Without availability of such data, it has proven difficult to develop strategies on the future of Hindu places of worship in Malaysia, especially on matters related to the defending against demolitions of Hindu places of worship.As such, the Temple Committee of the Malaysia Hindu Sangam (MHS), as the committee under the national Hindu body that coordinates the interests and activities of temples in the context of looking out for the needs of Hindus in Malaysia has now initiated a community-based nationwide project to collect data on Hindu places of worship in the country.  To develop a truly comprehensive database, we invite ALL Hindus in Malaysia, (including NGOs) to participate in this initiative ? all one would have to do is to visit this website: <a href="http://www.myhindutemples.com/">www.myhindutemples.com</a> and complete a survey online after interviewing the person in charge at the temple that is to be included in the database. We believe that a web-based platform will be able to achieve what previous initiatives could not, particularly so due to the renewed strength many of us have gained from recent events.</p>
<p>This is how we seek your assistance, if you wish to volunteer :</p>
<p>1.      Volunteer intending to complete the survey goes to the website and places the cursor on the Temple Database tab.</p>
<p>2.      Placing the cursor on the tab releases a drop-down menu, from which the volunteer is to select Registration Form ? Hardcopy.</p>
<p>3.      This should bring the volunteer to a page where the form is available for download. Following the instructions on the page, the volunteer can download the form, print it, and visit the temple at the appropriate time to interview the person-in-charge. Considering the value of this project, it would be both practical and understandable to request a little verification on the spot for some of the information requested.</p>
<p>4.      Upon getting the complete details, the volunteer can then return to the computer and select the Registration Form ? Online option to key in the details online immediately. The volunteer may wish to download and read the Guide to Completing the Form before doing so.</p>
<p>5.      Once these details are keyed in, please give us 3 -5 working days before checking the Approved Temples Listing to confirm whether the record keyed in has accepted by the system. Get back to the website again.</p>
<p>We thank you once again for your kindness, support and participation. AUM.</td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thajegan76.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thajegan76.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thajegan76.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thajegan76.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thajegan76.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thajegan76.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thajegan76.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thajegan76.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thajegan76.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thajegan76.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thajegan76.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thajegan76.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thajegan76.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thajegan76.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=25&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thajegan76.wordpress.com/2009/10/10/malaysian-hindu-temple-directory-myhindutemples-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f6a0a436a0933edd60ecfefc164ed41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thajegan76</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding resources to a portlet meaning</title>
		<link>http://thajegan76.wordpress.com/2008/10/22/adding-resources-to-a-portlet-meaning/</link>
		<comments>http://thajegan76.wordpress.com/2008/10/22/adding-resources-to-a-portlet-meaning/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 08:24:25 +0000</pubDate>
		<dc:creator>thajegan76</dc:creator>
				<category><![CDATA[Portlet Development]]></category>
		<category><![CDATA[Micro Circle]]></category>
		<category><![CDATA[OMNI]]></category>
		<category><![CDATA[Portal]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://thajegan76.wordpress.com/?p=14</guid>
		<description><![CDATA[First step is creating a POJO that has the following fields Resouce file name &#8211; The values for this field will be &#8220;test.txt, baby.jpg, video.flv&#8221;. This field is compulsory, meaning you must validate. Resource descrption &#8211; The values for this field will be &#8220;nice pic&#8221;. This field is optional, meaning no need to validate. User [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=14&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>First step is creating a POJO that has the following fields</p>
<p><em>Resouce file name</em> &#8211; The values for this field will be &#8220;test.txt, baby.jpg, video.flv&#8221;. This field is compulsory, meaning you must validate.<br />
<em>Resource descrption</em> &#8211; The values for this field will be &#8220;nice pic&#8221;. This field is optional, meaning no need to validate. User may leave it blank<br />
<em>Resource type</em> &#8211; This field is used by the developer in the programming. When the user upload a resource the program identifies its type and update this field automatically. The values for this field will be </p>
<ul>
<li>&#8220;Image&#8221; if the file type is jpeg, jpg, png, gif</li>
<li>&#8220;Audio&#8221; if the file type is mp3</li>
<li>&#8220;video&#8221; if the file type is flv</li>
<li>&#8220;Document&#8221; if the file type is txt, zip and all other</li>
</ul>
<p>Second step is creating the services</p>
<p>Third step is creating the portlets</p>
<p>And the final step is creating the View Manager Portlet. While doing the view manager portlet retrieve the resources and display them, order by Resource Types. Meaning all Images listed first, followed by Audio files, then Video Files and finally other Documents.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thajegan76.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thajegan76.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thajegan76.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thajegan76.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thajegan76.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thajegan76.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thajegan76.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thajegan76.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thajegan76.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thajegan76.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thajegan76.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thajegan76.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thajegan76.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thajegan76.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=14&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thajegan76.wordpress.com/2008/10/22/adding-resources-to-a-portlet-meaning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f6a0a436a0933edd60ecfefc164ed41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thajegan76</media:title>
		</media:content>
	</item>
		<item>
		<title>First step &#8211; Persistence in OMNI Portal</title>
		<link>http://thajegan76.wordpress.com/2008/06/26/persistence-in-omni-portal/</link>
		<comments>http://thajegan76.wordpress.com/2008/06/26/persistence-in-omni-portal/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 09:44:43 +0000</pubDate>
		<dc:creator>thajegan76</dc:creator>
				<category><![CDATA[Portlet Development]]></category>
		<category><![CDATA[Micro Circle]]></category>
		<category><![CDATA[OMNI]]></category>
		<category><![CDATA[Persistence]]></category>
		<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://thajegan76.wordpress.com/?p=12</guid>
		<description><![CDATA[Every application requires lookup(s). In computing terms &#8220;Lookup&#8221; is an array of data, eventually that will be used by most of the applications. One good example is list of Countries. Let us create necessary POJI and POJO classes. A simple country object requires country id and country name. Country Id is normally used a primary key to identify and pick [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=12&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Every application requires lookup(s). In computing terms &#8220;Lookup&#8221; is an array of data, eventually that will be used by most of the applications. One good example is list of Countries. Let us create necessary POJI and POJO classes. A simple country object requires country id and country name. Country Id is normally used a primary key to identify and pick the specific country. Let us create our Country POJI.</p>
<p>package com.omni.services.country;<br />
public interface Country {<br />
     public String getCountryId();<br />
     public void setCountryId(String countryId);<br />
     public String getCountryName();<br />
     public void setCountryName(String countryName);<br />
}</p>
<p>Let us start creating Country POJO which is the implementation of Country POJI</p>
<p>package com.omni.services.country.impl;<br />
import com.omni.services.country.Country;<br />
import java.io.*;<br />
public class CountryImpl implements Country, Serializable {<br />
         private String countryId = &#8220;&#8221;;<br />
         private String countryName = &#8220;&#8221;;<br />
         public String getCountryId() {<br />
                   return countryId;<br />
         }<br />
         public void setCountryId(String countryId) {<br />
                   this.countryId = countryId;<br />
         }<br />
         public String getCountryName() {<br />
                  return countryName;<br />
         }<br />
         public void setCountryName_en(String countryName_en) {<br />
                 this.countryName_en = countryName_en;<br />
         }<br />
}</p>
<p>This POJO needs to be mapped with a hibernate mapping file. Following code represents Hibernate mapping file.</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;!DOCTYPE hibernate-mapping PUBLIC &#8220;-//Hibernate/Hibernate Mapping DTD 2.0//EN&#8221;  &#8220;<a href="http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd</a>&#8220;&gt;<br />
&lt;hibernate-mapping&gt;<br />
     &lt;class name=&#8221;com.omni.services.country.impl.CountryImpl&#8221; table=&#8221;CountryImpl&#8221;&gt;<br />
     &lt;id name=&#8221;countryId&#8221; column = &#8220;countryId&#8221; type=&#8221;java.lang.String&#8221; length=&#8221;32&#8243;&gt;<br />
                 &lt;generator class=&#8221;uuid.hex&#8221;/&gt;<br />
     &lt;/id&gt;<br />
     &lt;property name=&#8221;countryShortDesc&#8221; type=&#8221;string&#8221; column=&#8221;countryShortDesc&#8221;/&gt;<br />
     &lt;property name=&#8221;countryLongDesc&#8221; type=&#8221;string&#8221; column=&#8221;countryLongDesc&#8221;/&gt;<br />
     &lt;/class&gt;<br />
&lt;/hibernate-mapping&gt; </p>
<p>Hibernate mapping documents are straight forward. The &lt;class&gt; element maps a table with corresponding class. The &lt;id&gt; element represents the primary key column, and its associated attribute in the domain object. The &lt;property&gt; elements represent all other attributes available in the domain object</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thajegan76.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thajegan76.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thajegan76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thajegan76.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thajegan76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thajegan76.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thajegan76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thajegan76.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thajegan76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thajegan76.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thajegan76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thajegan76.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thajegan76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thajegan76.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thajegan76.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thajegan76.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thajegan76.wordpress.com&amp;blog=3895387&amp;post=12&amp;subd=thajegan76&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thajegan76.wordpress.com/2008/06/26/persistence-in-omni-portal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f6a0a436a0933edd60ecfefc164ed41?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thajegan76</media:title>
		</media:content>
	</item>
	</channel>
</rss>
