<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7326292</id><updated>2011-12-15T08:29:14.303+05:30</updated><category term='Habitat loss'/><category term='Birch Aquariun'/><category term='Scripps Aquarium'/><category term='Chula Vista nature centre'/><category term='San Diego Aquarium'/><category term='Maven CXF JAXB JAX-WS Spring web services'/><title type='text'>Victor blogs</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7326292.post-5141755606576560497</id><published>2009-01-25T07:36:00.003+05:30</published><updated>2009-01-25T07:41:50.633+05:30</updated><title type='text'>3 must have apps on your windows mobile phone</title><content type='html'>If you are a windows mobile phone user, I'd recommend the following apps.&lt;br /&gt;&lt;br /&gt;1) &lt;a href="http://fring.com"&gt;Fring&lt;/a&gt; - A swiss army knife for your IM and call needs.&lt;br /&gt;2) &lt;a href="http://torchmobile.com"&gt;IRIS Browser&lt;/a&gt; - A Webkit based browser from WM. Far advanced than IE from first impressions.&lt;br /&gt;3) &lt;a href="http://m.google.com/maps"&gt;Google maps &lt;/a&gt;- Simply great, if you have a GPS embedded on your phone.&lt;br /&gt;&lt;br /&gt;I upgraded my Samsung BlackJack 2 to WM 6.1 today and installed these apps , I love the phone once again :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-5141755606576560497?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/5141755606576560497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=5141755606576560497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/5141755606576560497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/5141755606576560497'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2009/01/3-must-have-apps-on-your-windows-mobile.html' title='3 must have apps on your windows mobile phone'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-6026255303177578365</id><published>2008-10-21T00:47:00.005+05:30</published><updated>2008-10-21T00:54:30.833+05:30</updated><title type='text'>Why nature photography rocks</title><content type='html'>Just a passing thought.. Landscape photography is so much better because you don't need anyone's 'permission' to shoot a picture. Go to a beach you cannot touch your camera b'coz its infested with kids running in their undies. Go to a public park you have kids again in baseball attires .. so don't even think of touching your camera.&lt;br /&gt;&lt;br /&gt;I just wonder if people are so conscious about their privacy what happens to all the videos that get taken when one goes to a office / grocer/ bank or gas station. I guess they are just being touchy for the sake of it. RANT.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-6026255303177578365?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/6026255303177578365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=6026255303177578365' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/6026255303177578365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/6026255303177578365'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/10/why-nature-photography-rocks.html' title='Why nature photography rocks'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-6796523489426158196</id><published>2008-09-21T00:00:00.023+05:30</published><updated>2008-09-23T11:27:48.391+05:30</updated><title type='text'>Harbor seals at danger in La Jolla, California</title><content type='html'>Casa Beach, also known as the Children's Pool, is a tiny beach in La Jolla, California that is famous for its colony of harbor seals that rest and give birth there. Unfortunately, there is a recent move to dredge the beach and make it into a “bathing pool” thereby leading to the habitat loss of harbor seals that live there. The approximately 200 strong harbor seal colony at this site is the only one of its kind in Southern California. This beach is a rookery where pups are born on the beach every year. If this dredging plan goes ahead we will no more see the seals on the beach.&lt;br /&gt;&lt;br /&gt;The threats that these seals face are multi pronged. Local fishermen feel that the seals feeding on the fish affect their catch, and there are instances where these fishermen kill the seals. In addition to this, there are reports of hobby hunters who derive pleasure in killing or maiming the seals.&lt;br /&gt;&lt;br /&gt;Finally we have some wealthy and influential local residents who do not like the seals being there for reasons such as the odor caused by the excretion, higher traffic because of the people coming to see the seals and they would like to have the luxury their own private sun bathe beach&lt;br /&gt;without the crowds.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bBsQS5Z3ts4/SNVCV2Lg_UI/AAAAAAAADsg/4a_GMdbzGxA/s1600-h/DSC_0058.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 314px; height: 255px;" src="http://3.bp.blogspot.com/_bBsQS5Z3ts4/SNVCV2Lg_UI/AAAAAAAADsg/4a_GMdbzGxA/s320/DSC_0058.jpg" alt="" id="BLOGGER_PHOTO_ID_5248173883858681154" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;font-size:78%;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Uncertain times ahead: &lt;/span&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;Harbor seals resting at Casa Beach, La Jolla California.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I happened to speak with Marjanne Alam a member of a group called APRL(Animal Protection and Rescue League) who was doing a night‐watch to try prevent and document any harassment of these helpless creatures. In what she describes as a ‘scandalous’ turn of event, the concerned authorities have approved dredging of the beach immediately, not even waiting for the permits to be issued by the local governmental, military and environmental authorities.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bBsQS5Z3ts4/SNVEilAxveI/AAAAAAAADsw/nOweqCnrmh4/s1600-h/DSC_0061.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_bBsQS5Z3ts4/SNVEilAxveI/AAAAAAAADsw/nOweqCnrmh4/s320/DSC_0061.jpg" alt="" id="BLOGGER_PHOTO_ID_5248176301611793890" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;font-size:78%;" &gt;&lt;br /&gt;&lt;br /&gt;A voice for the voiceless: &lt;/span&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;Marjanne explains the plight of seals.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Marjanne who works for the United Nations Environmental program says that there is a blatant disregard for the habitat of these  creatures. She cites the example of how the kelp forests in the seas are under severe threat as a result of unchecked otter and sea urchin  populations, which was in turn caused by the killing of sea lions.&lt;br /&gt;&lt;br /&gt;Marjanne also narrated incidents to me, which describe pressure tactics and harassment by the civic authorities towards APRL volunteers, because the people who oppose the seals being at the cove are rich and influential. The most evident example of this is the fact that two lifeguards were placed under restraint order because of their involvement in harassment of ARPL volunteers.&lt;br /&gt;&lt;br /&gt;The problem here is that despite of having a federal law that prohibits interfering with the habitat, the city of San Diego has favored the opening up of this tiny strip of sand beach to human use, whereby jeopardizing the home of these seals which are very shy in nature. This move apparently is in contradiction with the federal law.&lt;br /&gt;&lt;br /&gt;Harbor seals must haul‐out (come out of the water onto dry land) each day in order to survive. Between 30% and 40% of their time is spent in this way. Harbor seals spend their entire lives along the same stretch of coastline. If the proposed drudging plan goes ahead we will see the habitat loss of these helpless animals, and in the near future we would also see how the eco‐system gets affected.&lt;br /&gt;&lt;br /&gt;As a parting thought we need to understand that we need respect for the environment that we live in. The present day that we live in is not inherited by us, but our children lease it to us.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-6796523489426158196?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/6796523489426158196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=6796523489426158196' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/6796523489426158196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/6796523489426158196'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/09/harbor-seals-at-danger-in-la-jolla.html' title='Harbor seals at danger in La Jolla, California'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_bBsQS5Z3ts4/SNVCV2Lg_UI/AAAAAAAADsg/4a_GMdbzGxA/s72-c/DSC_0058.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-8283499949194902719</id><published>2008-09-09T09:30:00.011+05:30</published><updated>2008-09-10T11:53:20.818+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Maven CXF JAXB JAX-WS Spring web services'/><title type='text'>Build contract first web services using CXF+JAXWS+JAXB &amp; Spring</title><content type='html'>Today at work, I had to port a spring web services based application into using CXF. I found that the documentation of apache CXF is scattered all over the place and so I decided to write this one place stop to get one running . We will develop a &amp;#39;complex&amp;#39; webservice that takes in the first name and last name of a person and returns it in the format lastname, firstname&lt;br /&gt;&lt;br /&gt;Assumptions&lt;br /&gt;&lt;br /&gt;1) You are familiar with the basics of Maven.&lt;br /&gt;2) The steps outlined will have a affinity to use Eclipse as the IDE.&lt;br /&gt;3) You will need JDK 1.5 or higher coz we will be using annotations.&lt;br /&gt;&lt;br /&gt;The first step in developing the web service is to get your build system up.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Task 1: Setup the project in Eclipse.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Issue the command&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mvn archetype:create -DgroupId=com.cxftest -DartifactId=CXFTest&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This creates the basic skeleton of the project. Next, cd in to the cxftest directory and issue the following commands&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mkdir src/main/webapp&lt;br /&gt;&lt;br /&gt;mkdir src/main/resources&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Next  run&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mvn eclipse:clean eclipse:eclipse -Dwtpversion=1.5&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This creates the basic structure of your eclipse project.&lt;br /&gt;&lt;br /&gt;Now lets add the dependencies needed by the project&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;properties&amp;gt;&lt;br /&gt;        &amp;lt;cxf.version&amp;gt;2.1&amp;lt;/cxf.version&amp;gt;&lt;br /&gt;        &amp;lt;spring.version&amp;gt;2.5&amp;lt;/spring.version&amp;gt;&lt;br /&gt;    &amp;lt;/properties&amp;gt;&lt;br /&gt;    &amp;lt;dependencies&amp;gt;&lt;br /&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;org.apache.cxf&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;cxf-rt-core&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;${cxf.version}&amp;lt;/version&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;org.apache.cxf&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;cxf-rt-frontend-jaxws&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;${cxf.version}&amp;lt;/version&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;org.apache.cxf&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;cxf-rt-transports-http&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;${cxf.version}&amp;lt;/version&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;org.apache.cxf&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;cxf-common-utilities&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;${cxf.version}&amp;lt;/version&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;org.springframework&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;spring-core&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;${spring.version}&amp;lt;/version&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;junit&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;junit&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;4.4&amp;lt;/version&amp;gt;&lt;br /&gt;            &amp;lt;scope&amp;gt;test&amp;lt;/scope&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;    &amp;lt;/dependencies&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Task 2 :Define the contract&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Define the schema / contract for communication.&lt;br /&gt;a) Define the xsd schema for communication; lets call it NameFormat.xsd. This file will define both the input that the system expects as well as the expected output from the system. In other words this XML document defines the contract of the system.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;xs:schema xmlns:xs=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&lt;br /&gt;    targetNamespace=&amp;quot;http://www.cxftest.org&amp;quot; elementFormDefault=&amp;quot;qualified&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;!--  Define the request --&amp;gt;&lt;br /&gt;    &amp;lt;xs:complexType name=&amp;quot;FormatRequest&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;            &amp;lt;xs:element name=&amp;quot;firstName&amp;quot; type=&amp;quot;xs:string&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;xs:element name=&amp;quot;lastName&amp;quot; type=&amp;quot;xs:string&amp;quot; /&amp;gt;&lt;br /&gt;        &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;    &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;   &lt;br /&gt;        &amp;lt;!--  Define the response --&amp;gt;&lt;br /&gt;    &amp;lt;xs:complexType name=&amp;quot;FormatResponse&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;            &amp;lt;xs:element name=&amp;quot;formattedName&amp;quot; type=&amp;quot;xs:string&amp;quot; /&amp;gt;&lt;br /&gt;        &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;    &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;&amp;lt;/xs:schema&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Save this file under src/main/resources&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Task 3: Automate all the mundane stuff.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; Maven pitches in here to save a lot of time here so that we need to only concentrate on building our business logic.&lt;br /&gt;&lt;br /&gt;First we need to setup JAXB, to execute the xjc task so that it generates Java classes from the XSD that we defined earlier.&lt;br /&gt;&lt;br /&gt;for that add the following code to your POM.xml under the plugins section&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;plugin&amp;gt;&lt;br /&gt;                &amp;lt;groupId&amp;gt;org.codehaus.mojo&amp;lt;/groupId&amp;gt;&lt;br /&gt;                &amp;lt;artifactId&amp;gt;jaxb2-maven-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;                &amp;lt;executions&amp;gt;&lt;br /&gt;                    &amp;lt;execution&amp;gt;&lt;br /&gt;                        &amp;lt;goals&amp;gt;&lt;br /&gt;                            &amp;lt;goal&amp;gt;xjc&amp;lt;/goal&amp;gt;&lt;br /&gt;                        &amp;lt;/goals&amp;gt;&lt;br /&gt;                    &amp;lt;/execution&amp;gt;&lt;br /&gt;               &amp;lt;/executions&amp;gt;&lt;br /&gt;               &amp;lt;configuration&amp;gt;&lt;br /&gt;                    &amp;lt;packageName&amp;gt;com.cxftest.model&amp;lt;/packageName&amp;gt; &amp;lt;!-- The name of your source package under which the source classes get generated --&amp;gt;&lt;br /&gt;           &amp;lt;schemaDirectory&amp;gt;src/main/resources&amp;lt;/schemaDirectory&amp;gt; &amp;lt;!-- The path where you have placed the XSD --&amp;gt;&lt;br /&gt;               &amp;lt;/configuration&amp;gt;&lt;br /&gt;           &amp;lt;/plugin&amp;gt;&lt;br /&gt;&lt;br /&gt;     &amp;lt;plugin&amp;gt;&lt;br /&gt;               &amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;&lt;br /&gt;               &amp;lt;artifactId&amp;gt;maven-compiler-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;               &amp;lt;configuration&amp;gt;&lt;br /&gt;                   &amp;lt;source&amp;gt;1.5&amp;lt;/source&amp;gt;&lt;br /&gt;                   &amp;lt;target&amp;gt;1.5&amp;lt;/target&amp;gt;&lt;br /&gt;               &amp;lt;/configuration&amp;gt;&lt;br /&gt;           &amp;lt;/plugin&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;These two plugins will read the XSD and generate the source code of the expected inputs and output objects.&lt;br /&gt;&lt;br /&gt;This is how the final POM will look&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;project xmlns=&amp;quot;http://maven.apache.org/POM/4.0.0&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;    xsi:schemaLocation=&amp;quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;modelVersion&amp;gt;4.0.0&amp;lt;/modelVersion&amp;gt;&lt;br /&gt;    &amp;lt;groupId&amp;gt;com.cxftest&amp;lt;/groupId&amp;gt;&lt;br /&gt;    &amp;lt;artifactId&amp;gt;CXFTest&amp;lt;/artifactId&amp;gt;&lt;br /&gt;    &amp;lt;packaging&amp;gt;war&amp;lt;/packaging&amp;gt;&lt;br /&gt;    &amp;lt;version&amp;gt;1.0-SNAPSHOT&amp;lt;/version&amp;gt;&lt;br /&gt;    &amp;lt;name&amp;gt;CXFTest&amp;lt;/name&amp;gt;&lt;br /&gt;    &amp;lt;url&amp;gt;http://maven.apache.org&amp;lt;/url&amp;gt;&lt;br /&gt;    &amp;lt;properties&amp;gt;&lt;br /&gt;        &amp;lt;cxf.version&amp;gt;2.1&amp;lt;/cxf.version&amp;gt;&lt;br /&gt;        &amp;lt;spring.version&amp;gt;2.5&amp;lt;/spring.version&amp;gt;&lt;br /&gt;    &amp;lt;/properties&amp;gt;&lt;br /&gt;    &amp;lt;dependencies&amp;gt;&lt;br /&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;org.apache.cxf&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;cxf-rt-core&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;${cxf.version}&amp;lt;/version&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;org.apache.cxf&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;cxf-rt-frontend-jaxws&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;${cxf.version}&amp;lt;/version&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;org.apache.cxf&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;cxf-rt-transports-http&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;${cxf.version}&amp;lt;/version&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;org.apache.cxf&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;cxf-common-utilities&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;${cxf.version}&amp;lt;/version&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;org.springframework&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;spring-core&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;${spring.version}&amp;lt;/version&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;junit&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;junit&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;4.4&amp;lt;/version&amp;gt;&lt;br /&gt;            &amp;lt;scope&amp;gt;test&amp;lt;/scope&amp;gt;&lt;br /&gt;        &amp;lt;/dependency&amp;gt;&lt;br /&gt;    &amp;lt;/dependencies&amp;gt;&lt;br /&gt;    &amp;lt;build&amp;gt;&lt;br /&gt;        &amp;lt;plugins&amp;gt;&lt;br /&gt;            &amp;lt;plugin&amp;gt;&lt;br /&gt;                &amp;lt;groupId&amp;gt;org.codehaus.mojo&amp;lt;/groupId&amp;gt;&lt;br /&gt;                &amp;lt;artifactId&amp;gt;jaxb2-maven-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;                &amp;lt;executions&amp;gt;&lt;br /&gt;                    &amp;lt;execution&amp;gt;&lt;br /&gt;                        &amp;lt;goals&amp;gt;&lt;br /&gt;                            &amp;lt;goal&amp;gt;xjc&amp;lt;/goal&amp;gt;&lt;br /&gt;                        &amp;lt;/goals&amp;gt;&lt;br /&gt;                    &amp;lt;/execution&amp;gt;&lt;br /&gt;                &amp;lt;/executions&amp;gt;&lt;br /&gt;                &amp;lt;configuration&amp;gt;&lt;br /&gt;                    &amp;lt;!--&lt;br /&gt;                        The name of your source package under which the source classes get&lt;br /&gt;                        generated&lt;br /&gt;                    --&amp;gt;&lt;br /&gt;                    &amp;lt;packageName&amp;gt;com.cxftest.model&amp;lt;/packageName&amp;gt;&lt;br /&gt;                    &amp;lt;!--&lt;br /&gt;                        The path where you have placed the XSD from which the code needs&lt;br /&gt;                        to generated&lt;br /&gt;                    --&amp;gt;&lt;br /&gt;                    &amp;lt;schemaDirectory&amp;gt;src/main/resources&amp;lt;/schemaDirectory&amp;gt;&lt;br /&gt;                &amp;lt;/configuration&amp;gt;&lt;br /&gt;            &amp;lt;/plugin&amp;gt;&lt;br /&gt;            &amp;lt;plugin&amp;gt;&lt;br /&gt;                &amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;&lt;br /&gt;                &amp;lt;artifactId&amp;gt;maven-compiler-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;                &amp;lt;configuration&amp;gt;&lt;br /&gt;                    &amp;lt;source&amp;gt;1.5&amp;lt;/source&amp;gt;&lt;br /&gt;                    &amp;lt;target&amp;gt;1.5&amp;lt;/target&amp;gt;&lt;br /&gt;                &amp;lt;/configuration&amp;gt;&lt;br /&gt;            &amp;lt;/plugin&amp;gt;&lt;br /&gt;           &lt;br /&gt;        &amp;lt;/plugins&amp;gt;&lt;br /&gt;    &amp;lt;/build&amp;gt;&lt;br /&gt;&amp;lt;/project&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Task 4: Code the web service.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now code the implementation of the web services. Following the grand tradition of coding to interfaces lets define the interface for the web service as shown below.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;package com.cxftest.service;&lt;br /&gt;&lt;br /&gt;import javax.jws.WebMethod;&lt;br /&gt;import javax.jws.WebService;&lt;br /&gt;&lt;br /&gt;import com.cxftest.model.FormatRequest;&lt;br /&gt;import com.cxftest.model.FormatResponse;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;@WebService(targetNamespace=&amp;quot;http://www.cxftest.org&amp;quot;)&lt;br /&gt;public interface NameFormatterService {&lt;br /&gt;    @WebMethod&lt;br /&gt;    public abstract FormatResponse formatName(FormatRequest request);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After this is done, lets Code the implementation of what our web service is supposed to do.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;/**&lt;br /&gt; *&lt;br /&gt; */&lt;br /&gt;package com.cxftest.service;&lt;br /&gt;&lt;br /&gt;import javax.jws.WebMethod;&lt;br /&gt;import javax.jws.WebService;&lt;br /&gt;&lt;br /&gt;import com.cxftest.model.FormatRequest;&lt;br /&gt;import com.cxftest.model.FormatResponse;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt; * @author jvictor&lt;br /&gt; *&lt;br /&gt; */&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;@WebService (targetNamespace=&amp;quot;http://www.cxftest.org&amp;quot;,  endpointInterface=&amp;quot;com.cxftest.service.NameFormatterService&amp;quot;)&lt;br /&gt;public class NameFormatterServiceImpl implements NameFormatterService {&lt;br /&gt;   &lt;br /&gt;    /* (non-Javadoc)&lt;br /&gt;     * @see com.cxftest.service.NameFormatterService#formatName(com.cxftest.model.FormatRequest)&lt;br /&gt;     */&lt;br /&gt;   &lt;br /&gt;    @WebMethod&lt;br /&gt;    public FormatResponse formatName(FormatRequest request){&lt;br /&gt;        FormatResponse response = new FormatResponse();&lt;br /&gt;        response.setFormattedName(request.getLastName() &amp;quot;,&amp;quot; request.getFirstName());&lt;br /&gt;        return response;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Task 5: Wire up everything &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The first thing that we need to do is to declare a servlet in our web.xml and configure it to receive all incoming requests. My web .xml looks like this&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;web-app id=&amp;quot;WebApp_9&amp;quot; version=&amp;quot;2.4&amp;quot; xmlns=&amp;quot;http://java.sun.com/xml/ns/j2ee&amp;quot;&lt;br /&gt;    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;    xsi:schemaLocation=&amp;quot;http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;context-param&amp;gt;&lt;br /&gt;        &amp;lt;param-name&amp;gt;contextConfigLocation&amp;lt;/param-name&amp;gt;&lt;br /&gt;        &amp;lt;param-value&amp;gt;classpath:appContext.xml&amp;lt;/param-value&amp;gt;&lt;br /&gt;    &amp;lt;/context-param&amp;gt;&lt;br /&gt;    &amp;lt;listener&amp;gt;&lt;br /&gt;        &amp;lt;listener-class&amp;gt; org.springframework.web.context.ContextLoaderListener&lt;br /&gt;        &amp;lt;/listener-class&amp;gt;&lt;br /&gt;    &amp;lt;/listener&amp;gt;&lt;br /&gt;    &amp;lt;servlet&amp;gt;&lt;br /&gt;        &amp;lt;servlet-name&amp;gt;dispatcher&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;        &amp;lt;servlet-class&amp;gt;&lt;br /&gt;             org.apache.cxf.transport.servlet.CXFServlet&lt;br /&gt;        &amp;lt;/servlet-class&amp;gt;&lt;br /&gt;        &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;&lt;br /&gt;    &amp;lt;/servlet&amp;gt;&lt;br /&gt;    &amp;lt;servlet-mapping&amp;gt;&lt;br /&gt;        &amp;lt;servlet-name&amp;gt;dispatcher&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;        &amp;lt;url-pattern&amp;gt;/*&amp;lt;/url-pattern&amp;gt;&lt;br /&gt;    &amp;lt;/servlet-mapping&amp;gt;&lt;br /&gt;&amp;lt;/web-app&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Note the &amp;lt;context-param&amp;gt; and &amp;lt;listener&amp;gt; are being defined in the web.xml, this is how we bootstrap spring.&lt;br /&gt; Also note how an instance of  org.apache.cxf.transport.servlet.CXFServlet is used to service all requests.&lt;br /&gt;&lt;br /&gt;The final part in the JIGSAW is the spring application context xml definition for spring.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;beans xmlns=&amp;quot;http://www.springframework.org/schema/beans&amp;quot;&lt;br /&gt;    xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:context=&amp;quot;http://www.springframework.org/schema/context&amp;quot;&lt;br /&gt;    xmlns:jee=&amp;quot;http://www.springframework.org/schema/jee&amp;quot; xmlns:jaxws=&amp;quot;http://cxf.apache.org/jaxws&amp;quot;&lt;br /&gt;    xsi:schemaLocation=&amp;quot;http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd&lt;br /&gt;           http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd&lt;br /&gt;           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd&lt;br /&gt;           http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd&amp;quot;&lt;br /&gt;    default-dependency-check=&amp;quot;none&amp;quot; default-lazy-init=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;   &lt;br /&gt;    &amp;lt;!-- Load the needed resources that are present in the cxf* jars --&amp;gt;&lt;br /&gt;    &amp;lt;import resource=&amp;quot;classpath:META-INF/cxf/cxf.xml&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;import resource=&amp;quot;classpath:META-INF/cxf/cxf-extension-soap.xml&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;import resource=&amp;quot;classpath:META-INF/cxf/cxf-servlet.xml&amp;quot; /&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;!--  Hook up the web service --&amp;gt;&lt;br /&gt;    &amp;lt;jaxws:endpoint&lt;br /&gt;      id=&amp;quot;formatterService&amp;quot;&lt;br /&gt;      implementor=&amp;quot;com.cxftest.service.NameFormatterServiceImpl&amp;quot;&lt;br /&gt;      address=&amp;quot;/format&amp;quot; /&amp;gt;&lt;br /&gt;   &lt;br /&gt;&amp;lt;/beans&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Task 6:&lt;/span&gt;&lt;br /&gt;Finally run&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mvn eclipse:clean eclipse:eclipse -Dwtpversion=1.5&lt;br /&gt;mvn clean compile&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Refresh the project and fire up the webservice   !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-8283499949194902719?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/8283499949194902719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=8283499949194902719' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/8283499949194902719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/8283499949194902719'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/09/build-contract-first-web-services-using.html' title='Build contract first web services using CXF+JAXWS+JAXB &amp; Spring'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-5614322372227655785</id><published>2008-09-08T06:19:00.006+05:30</published><updated>2008-09-08T06:42:29.685+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Chula Vista nature centre'/><category scheme='http://www.blogger.com/atom/ns#' term='Habitat loss'/><title type='text'>Chula Vista nature centre</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bBsQS5Z3ts4/SMR35Da-LlI/AAAAAAAADqw/2nbIj-jHLaU/s1600-h/DSC_0005.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_bBsQS5Z3ts4/SMR35Da-LlI/AAAAAAAADqw/2nbIj-jHLaU/s400/DSC_0005.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5243447688220782162" /&gt;&lt;/a&gt;&lt;br /&gt;Today I took time off to visit the Chula Vista Nature centre close to San Diego. The nature centre is located just off the San diego bay and the major part of it is comprised of a marsh. There is a shuttle bus that operates every 30 minutes ( I guess). On reaching the parking lot, you will be picked up by the bus.  A 2-3 minutes drive through the marsh puts you at the centre where you checkin by buying a ticket.(Adult tickets are 6 $)&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It was a 25x2 mile drive , and I guess was not worth it in terms of photographic opportunities. However I did manage to get some snaps of the Great American Bald Eagle. That was the only thing I could find interesting enough to aim the camera at.. Nevertheless I was lucky enough to be there on feeding time to see some pretty "gory" scenes of how the eagle feeds.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In addition to the birds, there  is also a small aquarium which keeps sharks and rays , people   are welcome to interact and touch the sting rays  and learn about their feeding patterns and habitat.  Overall I think its a place that kids will like because they can physically interact with sharks and rays. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt; From what I saw, the centre stresses on habitat loss of animals and plants that are local to California, and they are trying to push the message to save the habitat. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;When I boarded the shuttle bus  to return, I had this thought echoing in my mind, have we humans infested this planet ? Are we taking away the right of other species to exist ?. Don't animals too have the same right as we do have to live on this planet ? Will be too late to realize this ? The plain truth is that we cannot survive single handedly on this planet.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-5614322372227655785?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/5614322372227655785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=5614322372227655785' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/5614322372227655785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/5614322372227655785'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/09/chula-vista-nature-centre.html' title='Chula Vista nature centre'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_bBsQS5Z3ts4/SMR35Da-LlI/AAAAAAAADqw/2nbIj-jHLaU/s72-c/DSC_0005.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-9031198424629244025</id><published>2008-08-17T11:17:00.019+05:30</published><updated>2008-08-31T23:32:38.819+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Birch Aquariun'/><category scheme='http://www.blogger.com/atom/ns#' term='San Diego Aquarium'/><category scheme='http://www.blogger.com/atom/ns#' term='Scripps Aquarium'/><title type='text'>A visit to Birch aquarium, San Diego</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bBsQS5Z3ts4/SLmLYlOw8NI/AAAAAAAADpg/k588hHoJQes/s1600-h/DSC_0235.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_bBsQS5Z3ts4/SLmLYlOw8NI/AAAAAAAADpg/k588hHoJQes/s400/DSC_0235.jpg" alt="" id="BLOGGER_PHOTO_ID_5240372895849443538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is my first in the series of blogs that deal with an issue that is close to my heart, nature. As my first step I decided to visit Birch Aquarium at San Diego. Birch Aquarium lies nestled against the pacific Ocean at La Jolla. The aquarium founded in 1905, is a pioneer in oceanography and states it primary goals as spread awareness about the oceans through creative exhibits, programs, and activities designed to help people use critical thinking, and to make science relevant to their daily lives.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you ask me I would say that the size of the exhibit area is modest, with maybe 20- 30 tanks in total , but the work that goes behind the scenes is tremendous with data oceanic data collection centres spread over 100 countries and various points in the international waters. In fact there are some robots designed that submerge in the oceans for a months time, collect data, pop up and then relay the data over to satellites collecting and collating them.&lt;br /&gt;&lt;br /&gt;The exhibits involve anything from Jelly fishes to Sharks, with explanations including their habitat, the various challenges they are facing to exist and so on.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bBsQS5Z3ts4/SLmUjbOSp3I/AAAAAAAADqo/gmILo9ScWw0/s1600-h/Jelly.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_bBsQS5Z3ts4/SLmUjbOSp3I/AAAAAAAADqo/gmILo9ScWw0/s400/Jelly.jpg" alt="" id="BLOGGER_PHOTO_ID_5240382977746315122" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I found that the visitor population was mainly consisted of kids and families, and the aquarium   indeed provides ample opportunity for photography. The best thing  I found about the aquarium is that they are eager to share the information that they are collecting and have a lot of interactive programs. Which makes it a highly desirable place for an inquisitive mind.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bBsQS5Z3ts4/SLmQLMHJmXI/AAAAAAAADpo/s_-LSz6OZU4/s1600-h/DSC_0197.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_bBsQS5Z3ts4/SLmQLMHJmXI/AAAAAAAADpo/s_-LSz6OZU4/s400/DSC_0197.jpg" alt="" id="BLOGGER_PHOTO_ID_5240378163326458226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There is an opportunity to interact with the research scholars and scientists on every third Saturday of the month. I was not aware of this and reached late. I plan to attend the interaction program next month though. (Hopefully)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Overall the staff are very knowledgeable and are patient enough to explain things over and over to each one visiting the place. I plan to visit Birch aquarium in the near future and follow up on this blog series soon.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-9031198424629244025?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/9031198424629244025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=9031198424629244025' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/9031198424629244025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/9031198424629244025'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/08/visit-to-birch-aquarium-san-diego.html' title='A visit to Birch aquarium, San Diego'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_bBsQS5Z3ts4/SLmLYlOw8NI/AAAAAAAADpg/k588hHoJQes/s72-c/DSC_0235.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-869618232408350657</id><published>2008-07-10T09:32:00.008+05:30</published><updated>2008-07-12T03:45:56.814+05:30</updated><title type='text'>The real curse that India faces today</title><content type='html'>India is once again going through a phase of political volatility on account of the Indo-US nuclear deal. From a neutral stand point the deal is good for both countries in the context of business as well as bilateral ties and energy security for the country in the long term, however there exists one big problem that India faces in going ahead with the deal - The filthy political situation that the country is in.&lt;br /&gt;&lt;br /&gt;We have a bunch of opposition parties that have made up their mind that no matter what the govt proposes ; we will oppose it.  That is the stand that they take. National interest doesn't matter to them. The final nail on the coffin is a bunch of concrete headed communists who are supporting the govt from 'outside'.&lt;br /&gt;&lt;br /&gt;The whole principle of supporting from outside is the most easy way of getting around, wherein they don't want to take any responsibilities but enjoy a clout in everything that the govt has to do. They can stand out and criticize the govt for everything and if needed can  distance themselves from anything un-favorable. To be bluntly put its power without responsibility.&lt;br /&gt;&lt;br /&gt;This typically reminds me of the state that I come from -'Kerala'. The state has the name 'God's own country' but I would like to rename it to 'God's DISowned country'. For the records this is the state which has 100% literacy, and one of the states with the highest life expectancy.  Ironically this is the state that has the highest unemployment, highest suicide rate and highest per-capita alcohol consumption in India.&lt;br /&gt;&lt;br /&gt;There is an underlying reason for all this. The state has a communist work force, A work force that is interested in double the wages for no job done.Can you believe that if a truck carrying cement to a construction site comes, the person doing the construction has no authority  on whom to hire to unload the materials, and has to pay the laborers who 'watch' the unload of the materials if it is a automated tipper truck?&lt;br /&gt;&lt;br /&gt;Any industry that has dared to venture into the state has been brought to its knees by the labo(u)r unions and the strikes that they initiate. Everyone is aware of their rights but not their duties.&lt;br /&gt;&lt;br /&gt;The industries cannot be sure that they can even operate for 150 days in a year in the state, everyday there is some reason or the other for a 'strike'/ lockout. You cannot be sure of making it to the airport or railway station because a strike may come up that fast. The basic equation of industries = jobs = money = better living conditions have never seemed to dawn on these people.&lt;br /&gt;&lt;br /&gt;The children that grow up in the state are constantly bombarded with these antics right from school, once they enter college there is another face of the communists that are there to feed on the raging hormones of teenagers, called the Students Federation of India, If you are a member of that political party you can be sure of two things , 1) You can beat up anyone and there will be a big bunch of goons to do that and support you. 2) You will get beaten up someday by the someone you beat up earlier or just because someone feels that you deserve a few blows.&lt;br /&gt;&lt;br /&gt;This vicious cycle goes on, and the number of lives lost in campuses are far too many to be counted. Is this how we are bringing forth the next generation who have to shape the country ?&lt;br /&gt;&lt;br /&gt;Yet another choice that a college student has is- to be a part of a communalist student party called ABVP, the aforesaid rules of the game apply to you if you are in this party too.&lt;br /&gt;&lt;br /&gt;Finally if you believe in non-violence ( in other words - only wanted to get beaten up) you can join the KSU. You can be sure that if you are a member of this party you can get beaten up by SFI as well as ABVP goons, so its a win-win situation for them.&lt;br /&gt;&lt;br /&gt;This entire gamut of beating , getting beaten up with the surplus mix of strikes and lockouts results in exodus of educated minds from the state, which is finally left with 'political thinkers', jobless youth,  govt employees who have a high sense of entitlement and retired parents whose children are abroad / out of the state earning their living. In fact around 25 % of the states GDP comes from remittances from abroad. The most funniest part is that the same union leaders who go abroad or to other states, work really hard without any complains.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Coming back to the core of the issue, The SFI portrays the image of a rebel , a leftist wing that roots itself on Marxist and Leninist ideologies and opposes anything that comes their way. This is the mindset that the communists who were supporting the central govt took, they have no mature leader who knows how to run a portfolio in the govt, the only qualification they have is that they are communists, and they will oppose anything that they get to know. They effectively managed to stranglehold the govt and thwart many reforms that would've been good for the people in the long run.&lt;br /&gt;&lt;br /&gt;Basically they have aged in their views about India and the world around them, but they still believe that they are the young rebels who can set things right. Unfortunately India has gone much farther than they have realized, there is a burgeoning middle class that is enthusiastic about a better tomorrow, a 300 million and daily growing band of people who want to live a better life than what they have today.&lt;br /&gt;&lt;br /&gt;The communists have not learned from the lessons the world has taught them. They are not ready to learn the results from communism in Europe / Russia or for that matter even China !. They seem to have forgot the fact that they got 50 odd seats in the parliament due to some miracle and they will never again have that number , specially because of the arrogant, ignorant and anti national stand they have taken. They are talking of buying oil from Iran when the whole world is trying to seek cleaner sources of energy. This typically highlights their ignorance on global issues like climate change and global warming, and also their straight jacketed logic that anything that has the word "USA" is bad.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Anyone sensible understands that BJP is opposing the deal just because of sore grapes syndrome and the greed to get to power asap, it is quite politically 'acceptable' that they being the largest opposition party should create a ruckus for everything. Hence the stand on the issue would not surprise anyone.&lt;br /&gt;&lt;br /&gt;While the political drama of getting a 'vote of trust' unfolds in the following weeks, the commies have exposed themselves and stand isolated than ever before, holding on to their obsolete principles that were developed during the time of Karl Marx and Lenin , God save the country from these loonies !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What India needs today is a bi-polar democracy that can complete 5 years in power uninterrupted, that way the country can focus on having a brighter future than worrying how to be in power for another day.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-869618232408350657?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/869618232408350657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=869618232408350657' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/869618232408350657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/869618232408350657'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/07/real-curse-that-india-faces-today.html' title='The real curse that India faces today'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-6816746145235831222</id><published>2008-06-27T10:04:00.004+05:30</published><updated>2008-06-27T23:46:33.912+05:30</updated><title type='text'>LCD brightness on ubuntu (hardy) partial solution</title><content type='html'>I have been trying to fiddle around with ubuntu to try the system to set my LCD brightness to minimum when the machine boots up, so far I've been able to partially fix the problem by adding a script that looks like this into the gnome sessions by adding the command&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;gksudo /home/jvictor/.bright/set_brightness.sh&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is the content of the script&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;echo 10 &gt; /proc/acpi/video/GFX0/LCD/brightness&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I guess that &lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;echo 10 &gt; /sys/class/backlight/acpi_video0/brightness&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;should also work&lt;br /&gt;&lt;br /&gt;Now edit the sudoers file to have an entry&lt;br /&gt;&lt;code&gt;&lt;br /&gt;jvictor ALL = (ALL) NOPASSWD: /home/jvictor/.bright/set_brightness.sh&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This ensures that the script is run as root without bugging me for a password.&lt;br /&gt;&lt;br /&gt;This solution works when I log in after a reboot. However it fails when the system resumes from sleep or hibernate.&lt;br /&gt;&lt;br /&gt;I tried putting in scripts in /etc/init.d etc /usr/lib/pm-utils/sleep.d but it does not help the cause, maybe I need to spend a few more hours on this.. &lt;br /&gt;&lt;br /&gt;IF anyone has any idea on how to get this working it'll be very helpful and I can save a few hours of time !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-6816746145235831222?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/6816746145235831222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=6816746145235831222' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/6816746145235831222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/6816746145235831222'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/06/lcd-brightness-on-ubuntu-hardy-partial.html' title='LCD brightness on ubuntu (hardy) partial solution'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-6447009587383329355</id><published>2008-05-14T02:55:00.002+05:30</published><updated>2008-05-14T10:56:16.576+05:30</updated><title type='text'>java.lang.DAMMException</title><content type='html'>I had to debug some code at work today and this is the actual content from the log file...&lt;br /&gt;&lt;br /&gt;INFO   | jvm 1    | 2008/05/13 22:24:22 | ADMIN : Initiating OTSAdmin&lt;br /&gt;INFO   | jvm 1    | 2008/05/13 22:24:22 | DAMM EXCEPTION --com.ots.admin.err.OtsException&lt;br /&gt;INFO   | jvm 1    | 2008/05/13 22:24:22 | INIT EXCEPTION --com.ots.admin.err.OtsException&lt;br /&gt;INFO   | jvm 1    | 2008/05/13 22:24:22 | ADMIN : ERR: SYSTEM ERROR..Shutting Down...for Error &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have nothing more to say ! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-6447009587383329355?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/6447009587383329355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=6447009587383329355' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/6447009587383329355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/6447009587383329355'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/05/best-exception-you-can-throw.html' title='java.lang.DAMMException'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-8566395068480593644</id><published>2008-04-03T04:19:00.004+05:30</published><updated>2008-04-03T04:25:32.395+05:30</updated><title type='text'>Vis(hi)ta , mysql and all the crap...</title><content type='html'>I have been trying to setup my dev: env on my high horse riding windows vista and its just not possible to install mysql on the damn OS.. Either it is MySQL's fault that they dont test the installation on a vista machine OR its M$'s fault that they have this bloody access control that prevents one from using his computer.  There are some posts on the mysql forms that suggest you to install some shareware to hack the exe .. but I am not willing to do it.. Whatever it is, it is me the end user who has to go thru the entire frustration !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-8566395068480593644?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/8566395068480593644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=8566395068480593644' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/8566395068480593644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/8566395068480593644'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/04/vishita-mysql-and-all-crap.html' title='Vis(hi)ta , mysql and all the crap...'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-1539545549375523248</id><published>2008-03-15T11:12:00.004+05:30</published><updated>2008-03-17T08:09:40.756+05:30</updated><title type='text'>Pizza place at San Diego</title><content type='html'>BJ's Pizza and brewery is a great place to have Chicago style pizzas. The service is good, the pizza is excellent,and the ambiance is also warm, If you ever happen to be there dont forget to wash the pizza down with one of the home brewed beers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-1539545549375523248?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/1539545549375523248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=1539545549375523248' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/1539545549375523248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/1539545549375523248'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/03/pizza-place-at-san-diego.html' title='Pizza place at San Diego'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-998790611907243494</id><published>2008-03-04T23:43:00.004+05:30</published><updated>2008-03-05T03:15:16.331+05:30</updated><title type='text'>A must watch movie.. Taare Zameen par.</title><content type='html'>I'm not a movie person in general but catch a movie here and there.. This weekend I happened to watch "Taare Zameen Par", a Hindi movie that tells the story of a boy affected by dyslexia, and the internal struggles he faces. The movie leaves a strong impact on you, making you to think. It presents a real world problem with zero fluff and a clear solution to the problem. IMHO I feel that anyone who is a parent or who is 'planning' to be a parent should watch this movie. Basically the movie takes you back to the days when you were in school , so you are able to relate to the entire story. &lt;br /&gt;&lt;br /&gt;The 'hero' a kid who is 8-9 years of age, has done a stunning job and Aamir khan  has also done a great job in directing the movie. However I feel that the camera work has not been on par with the brilliant story line &amp; direction. It *could* have been way better.&lt;br /&gt;&lt;br /&gt;Overall its one of the movies you will never forget in your life.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-998790611907243494?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/998790611907243494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=998790611907243494' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/998790611907243494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/998790611907243494'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/03/must-watch-movie-taare-zameen-par.html' title='A must watch movie.. Taare Zameen par.'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-1551872741263298112</id><published>2008-02-07T13:42:00.002+05:30</published><updated>2008-03-02T06:01:46.825+05:30</updated><title type='text'>Linux shell for windows in 5 easy steps</title><content type='html'>A common source of annoyance in windows is that the shell aka cmd sucks. One of the best features I like in Linux is the shell, so I came up with the following way to setup a shell on Vista&lt;br /&gt;&lt;br /&gt;1) Get the fonts right&lt;br /&gt;&lt;br /&gt;Download all the 6 fonts from &lt;a href="http://www.hassings.dk/lars/fonts.html"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Copy them into c:\windows\fonts&lt;br /&gt;&lt;br /&gt;open terminal, click on left top icon, properties , fonts , choose Raster fonts, select 6 x 13, &lt;br /&gt;&lt;br /&gt;select layout enter window size as 80 and height as 20.&lt;br /&gt;&lt;br /&gt;make sure the screen buffer size is also 80.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Get UNIX command implementations&lt;br /&gt;&lt;br /&gt;Get the bundle &lt;a href="http://unxutils.sourceforge.net/"&gt;here&lt;/a&gt;, extract it into some directory of your choice and add the /usr/local/wbin to your PATH variable&lt;br /&gt;&lt;br /&gt;3) Get BASH&lt;br /&gt;&lt;br /&gt;Get the BASH shell for windows from &lt;a href="http://www.steve.org.uk/Software/bash/"&gt;here &lt;/a&gt;, and copy bash.exe and bash.dll into the directory where unxutils were extracted. &lt;br /&gt;&lt;br /&gt;4) Set your HOME variable to point to you home directory and copy .bashrc into it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5) Create a shortcut with the following command to be run&lt;br /&gt;&lt;br /&gt;cmd.exe /K bash&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thats it ! Enjoy :)&lt;br /&gt;&lt;br /&gt;Binil, heres the screenshot :)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bBsQS5Z3ts4/R6yIBRJIcTI/AAAAAAAADe4/7KcWzliFGEA/s1600-h/Untitledzu.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_bBsQS5Z3ts4/R6yIBRJIcTI/AAAAAAAADe4/7KcWzliFGEA/s200/UntitledU.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5164652428050067762" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-1551872741263298112?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/1551872741263298112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=1551872741263298112' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/1551872741263298112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/1551872741263298112'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/02/linux-shell-for-windows-in-5-easy-steps.html' title='Linux shell for windows in 5 easy steps'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_bBsQS5Z3ts4/R6yIBRJIcTI/AAAAAAAADe4/7KcWzliFGEA/s72-c/UntitledU.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-2803473023828721682</id><published>2008-01-09T21:51:00.000+05:30</published><updated>2008-01-09T21:58:08.177+05:30</updated><title type='text'>My new year resolutions for '08</title><content type='html'>Yet another year is here, and I plan to accomplish the following this year&lt;br /&gt;&lt;br /&gt;1) Learn a Scripting language , perhaps Ruby&lt;br /&gt;&lt;br /&gt;2) Supplement the scripting language knowledge by mastering RoR (is there something called mastery ?)&lt;br /&gt;&lt;br /&gt;3) Dont waste time by switching between Operating Systems ( Windows vs Linux).. stick with one :)&lt;br /&gt;&lt;br /&gt;4) This is the BIGGEST one... get my tummy flat :).. theres around an inch of fat there...lets see how that goes. P.S (I've already broke the gym schedule yesterday..)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-2803473023828721682?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/2803473023828721682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=2803473023828721682' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/2803473023828721682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/2803473023828721682'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2008/01/my-new-year-resolutions-for-08.html' title='My new year resolutions for &apos;08'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-1944386381698057788</id><published>2007-04-08T02:58:00.000+05:30</published><updated>2007-04-08T03:06:42.701+05:30</updated><title type='text'>TPTP Eclipse setup</title><content type='html'>Disclaimer-: I am no expert in TPTP, and you cannot take me to a court of law if things go haywire.&lt;br /&gt;&lt;br /&gt;I decided to write this blog because most of the information around is bit scattered and time consuming to figure out.&lt;br /&gt;&lt;br /&gt;This blog *may* help you in setting up your TPTP environment on eclipse.&lt;br /&gt;&lt;br /&gt;Install JDK 1.5. ; JDK 1.6 will _NOT_ work&lt;br /&gt;&lt;br /&gt;First of all download version 3.2.2 of eclipse.&lt;br /&gt;&lt;br /&gt;Using your software update manager, install WTP(1.5.3) and its pre-requisites like GEF EMF etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Download Agent controller from&lt;br /&gt;http://archive.eclipse.org/tptp/4.2.0/TPTP-4.2.0-200606190100A/agntctrl.win_ia32-TPTP-4.2.0.zip&lt;br /&gt;&lt;br /&gt;Unzip and put it in a folder of your choice&lt;br /&gt;&lt;br /&gt;Go into the bin directory within the agent controller&lt;br /&gt;&lt;br /&gt;Run the file SetConfig.bat from a command prompt/shell.&lt;br /&gt;&lt;br /&gt;Next copy the path to this (bin) folder, and add it to your PATH variable.(doubt if this is really needed)&lt;br /&gt;&lt;br /&gt;Start the application called RAServer.exe&lt;br /&gt;&lt;br /&gt;Run eclipse.&lt;br /&gt;&lt;br /&gt;Create a new JBOSS runtime if it does not exist,&lt;br /&gt;&lt;br /&gt;In the VM arguments for the server add this to the end of the existing argument list&lt;br /&gt;&lt;br /&gt;-XrunpiAgent:server=enabled&lt;br /&gt;&lt;br /&gt;Apply the changes&lt;br /&gt;&lt;br /&gt;Start the server&lt;br /&gt;&lt;br /&gt;Go to Run &gt; profile &gt; Attach -Java process&lt;br /&gt;&lt;br /&gt;Double click it to create a new configuration&lt;br /&gt;&lt;br /&gt;Select localhost:10002  (and test the connection, make sure you get a success).&lt;br /&gt;&lt;br /&gt;Go to the agents tab(If you dont find, make sure RAServer.exe is running and you have JBoss also working)&lt;br /&gt;&lt;br /&gt;There should be one agent on the left side.&lt;br /&gt;&lt;br /&gt;Add it to the list of selected agents.&lt;br /&gt;&lt;br /&gt;Go to the monitor tab and select the ones you need.(I use Memory &amp;amp; Execution time)&lt;br /&gt;&lt;br /&gt;Click Apply , Profile&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This should open the profile perspective&lt;br /&gt;&lt;br /&gt;Right click on the node that says &lt;attached&gt; and select the option start monitoring.. that should set you up and running.&lt;br /&gt;&lt;br /&gt;Now you can access your application and see how things are going.&lt;br /&gt;&lt;br /&gt;Dont forget to change the filters to monitor classes relevant to your environment&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-1944386381698057788?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/1944386381698057788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=1944386381698057788' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/1944386381698057788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/1944386381698057788'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2007/04/tptp-eclipse-setup.html' title='TPTP Eclipse setup'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-116807352389741019</id><published>2007-01-06T14:16:00.000+05:30</published><updated>2007-01-06T14:22:03.906+05:30</updated><title type='text'>Oracle XE | HTTP login issue | workaround</title><content type='html'>When i tried out Oracle XE Edgy eft, I found that there seems to be a bug in the linux install (.deb) file that doesnt allow you to login to the http interface after installation.. if you select some other port than 8080..  to over come this you need to  run this small script ..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt;  begin&lt;br /&gt;  2  dbms_xdb.sethttpport('9090');&lt;br /&gt;  3  end;&lt;br /&gt;  4  /&lt;br /&gt;&lt;br /&gt;This was needed for me coz most of my java appservers worked on 8080 and i was too lazy to change all of them :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-116807352389741019?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/116807352389741019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=116807352389741019' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/116807352389741019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/116807352389741019'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2007/01/oracle-xe-http-login-issue-workaround.html' title='Oracle XE | HTTP login issue | workaround'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7326292.post-115002440142753672</id><published>2006-06-11T16:40:00.000+05:30</published><updated>2006-06-11T20:20:24.246+05:30</updated><title type='text'>Spring MVC or Webwork ?</title><content type='html'>Disclaimer::&lt;br /&gt;To start with, I'm new to both of these frameworks  and am looking at both of them with a fresh pair of eyes. And these are the first impressions I get when I look at both these frameworks. I dont have anything against or for the developers of both these frameworks.&lt;br /&gt;&lt;br /&gt;It all started with a session that I attended at Thoughtworks on 'Spring Experiences'. Eventhough I'd heard of the name 'webwork' a trillion times, I never bothered to look at it bcoz of the 'pre-notion' :- Why another MVC framework ?&lt;br /&gt;&lt;br /&gt;I'm on the way of developing an open-src j2ee based elementary school information mgmt system. Now this needs to be a web-app and nothing more than that. I dont expect and foresee other EJB clients / Web Services clients /PDAs accessing this app b'coz its completely going to be on the administrative side of a school; only used by the admin, office staff and (rarely) prinicipal of the school. This is the 'domain' and scope of the problem at hand.&lt;br /&gt;&lt;br /&gt;Initially I planned to do this using Spring MVC+ Hibernate + MySQL. However when I started to use  Spring MVC it didnt look very sweet to me because of two reasons&lt;br /&gt;&lt;br /&gt;1) Lack of books that cover Spring MVC; Maybe this is because of the fact that Spring is 'vast' and each area that it covers needs a separate book I guess...and also due to the time &amp;amp; 'space' constraints imposed on authors.&lt;br /&gt;&lt;br /&gt;2) I did not find Spring MVCs view part that elegant, specially the bind tag.&lt;br /&gt;&lt;br /&gt;At this juncture I was fortunate enough to attend a session on Spring MVC at TW India where some of thier developers explained the 'experiences' they had with Spring and which was very much in tally with my 'experience' too.&lt;br /&gt;&lt;br /&gt;At the end of the session there came in a discussion where webwork was discussed for a couple of minutes.. I thought 'Ok let me see what this is all about.." I picked up the book "Webwork in Action" and started off rightaway,  I must admit that this is one of the best books I've read anywhere in the past 6 months. The presentation is excellent and has the look and feel of a step -by - step tutorial that starts simple and moves to more complex topics, and shows how easily WW handles it.&lt;br /&gt;&lt;br /&gt;(In fact I'd almost lost hope on these kind of books after reading some recent books on popular IOC based frameworks. WW-I-A is definitely a welcome change to it and I would highly recommend having a copy of it..)&lt;br /&gt;&lt;br /&gt;4 hrs down I was left thinking "should I use Spring MVC for my project  ?" WW  is essentialy quick to pick up if you know Struts and is undoubtedly one of the best successors to Struts.&lt;br /&gt;&lt;br /&gt;The tag libraries are pretty easy to follow.&lt;br /&gt;&lt;br /&gt;Looks easier than struts&lt;br /&gt;&lt;br /&gt;In general it looks like WW has learned from the pitfalls / grey areas of struts and corrected them.&lt;br /&gt;&lt;br /&gt;I also just glanced thru the topics that were illustrating use of IOC in WW. Ivent wrote code usings WW's IOC implementation so I am **not** qualified enough to comment on it at this point of time.&lt;br /&gt;&lt;br /&gt;In overall webwork looks a bit more 'friendly and familiar' to me than S-MVC when we have a web-app and nothing more than that in hand.&lt;br /&gt;&lt;br /&gt;So here I am thinking of replacing Spring MVC to adopt WW.  I need to complete the book b4 I make a final decision, but I must say:- 'now' WW looks closer to adopt than Spring MVC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7326292-115002440142753672?l=jubyvictor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jubyvictor.blogspot.com/feeds/115002440142753672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7326292&amp;postID=115002440142753672' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/115002440142753672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7326292/posts/default/115002440142753672'/><link rel='alternate' type='text/html' href='http://jubyvictor.blogspot.com/2006/06/spring-mvc-or-webwork.html' title='Spring MVC or Webwork ?'/><author><name>Victor, Juby</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry></feed>
