<?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-2424676658956539895</id><updated>2012-02-16T03:38:55.528-08:00</updated><category term='OutOfMemoryError'/><category term='WSLD to Service'/><category term='portal failed'/><category term='globus'/><category term='Java heap space'/><category term='maven'/><category term='php string concat with time'/><category term='unable to create dispacher'/><category term='php webservice client'/><category term='maven2'/><category term='service deployment Axis2'/><category term='archiva'/><category term='gridftp'/><category term='php soap examples'/><category term='Axis2'/><category term='repository'/><category term='Gridsphere'/><category term='Learning JSF'/><category term='examples'/><title type='text'>Raminder's Blog</title><subtitle type='html'>Knowledge is power, but enthusiasm pulls the switch. @Ivern Ball</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-4945839799928886526</id><published>2011-06-01T08:37:00.000-07:00</published><updated>2011-12-13T08:41:42.844-08:00</updated><title type='text'>Nagios on GW33 for Ultrascan</title><content type='html'>Nagios is used to monitor Ultrascan2 and 3 services running on GW33 VM. Here i have all the basic information about the setup and files i changed to monitor GFAC and REST services. All the documentation is available &lt;a href="http://nagios.sourceforge.net/docs/nagioscore/3/en/toc.html"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Install directory: /usr/local/nagios&lt;br /&gt;Apache server: /etc/httpd&lt;br /&gt;Apache service commands:  service httpd start/stop/restart/status (use one at a time)&lt;br /&gt;Nagios HTTP configuration: /etc/httpd/conf.d/nagios.conf&lt;br /&gt;Nagios kernel service: service nagios start/stop/restart/status (use one)&lt;br /&gt;&lt;br /&gt;Service Monitor Webpage: http://gw33.quarry.iu.teragrid.org:9090/nagios/&lt;br /&gt;Access information : ~/ogce-ultrascan-access file&lt;br /&gt;&lt;br /&gt;Here is a snapshot of services being monitored using nagios&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-VQHM6ErU9JY/Teagon-vBGI/AAAAAAAACIo/D29Kb-iPVGY/s1600/Screen%2Bshot%2B2011-06-01%2Bat%2B4.26.24%2BPM.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 354px; height: 148px;" src="http://2.bp.blogspot.com/-VQHM6ErU9JY/Teagon-vBGI/AAAAAAAACIo/D29Kb-iPVGY/s320/Screen%2Bshot%2B2011-06-01%2Bat%2B4.26.24%2BPM.png" alt="" id="BLOGGER_PHOTO_ID_5613350605351224418" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;Steps to Monitor GFAC (Web-Service) and REST Service&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;GFAC and REST service are running as http services so i decided to use check_http to monitor these services. i changed the arguments of standard check_http command to monitor these services. You need to make these changes in /usr/local/nagios/etc/objects/commands.cfg file&lt;/li&gt;&lt;br /&gt;&lt;pre style="font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;"&gt;&lt;code style="color:#000000;word-wrap:normal;"&gt; # 'check_gfac' command definition&lt;br /&gt;define command{&lt;br /&gt;command_name  check_gfac&lt;br /&gt;command_line  $USER1$/check_http -H $ARG1$ -p $ARG2$&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;li&gt;Next step is to provide arguments to check_gfac to monitor Ultrascan 2 and 3 gfac services and REST service in /usr/local/nagios/etc/objects/localhost.cfg.&lt;/li&gt;&lt;br /&gt;&lt;pre style="font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;"&gt;&lt;code style="color:#000000;word-wrap:normal;"&gt; # Ultrascan3 REST services&lt;br /&gt;define service{&lt;br /&gt;  use               local-service     ; Name of service template to use&lt;br /&gt;  host_name            localhost&lt;br /&gt;  service_description       US3-REST&lt;br /&gt;  check_command          check_gfac!gw33.quarry.iu.teragrid.org!8080&lt;br /&gt;  notifications_enabled      1&lt;br /&gt;  }&lt;br /&gt;# Define a service to check GFAC on the local machine.&lt;br /&gt;define service{&lt;br /&gt;  use               local-service     ; Name of service template to use&lt;br /&gt;  host_name            localhost&lt;br /&gt;  service_description       GFACService&lt;br /&gt;  check_command          check_gfac!gw33.quarry.iu.teragrid.org!5678&lt;br /&gt;  notifications_enabled      1&lt;br /&gt;  }&lt;br /&gt;# Define a service to check GFAC-ultrascan3 on the local machine.&lt;br /&gt;define service{&lt;br /&gt;  use               local-service     ; Name of service template to use&lt;br /&gt;  host_name            localhost&lt;br /&gt;  service_description       GFACService-US3&lt;br /&gt;  check_command          check_gfac!gw33.quarry.iu.teragrid.org!6789&lt;br /&gt;  notifications_enabled      1&lt;br /&gt;  }&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;You can configure Email notification contact information in /usr/local/nagios/etc/objects/contacts.cfg file. Notifications are sent when there is any problem with the service You can find more information to configure other notification modes on &lt;a href="http://nagios.sourceforge.net/docs/nagioscore/3/en/notifications.html"&gt;Nagios&lt;/a&gt; website&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;"&gt;&lt;code style="color:#000000;word-wrap:normal;"&gt; # Define contact information&lt;br /&gt;define contact{&lt;br /&gt;  contact_name          ultrascan           ; Short name of user&lt;br /&gt;  use               generic-contact          ; Inherit default values from generic-contact template (defined above)&lt;br /&gt;  alias              Ultrascan Developer      ; Full name of user&lt;br /&gt;  email              ultrascan developer email ; Notification Email&lt;br /&gt;  }&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-4945839799928886526?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/4945839799928886526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2011/06/nagios-on-gw33-for-ultrascan.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/4945839799928886526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/4945839799928886526'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2011/06/nagios-on-gw33-for-ultrascan.html' title='Nagios on GW33 for Ultrascan'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-VQHM6ErU9JY/Teagon-vBGI/AAAAAAAACIo/D29Kb-iPVGY/s72-c/Screen%2Bshot%2B2011-06-01%2Bat%2B4.26.24%2BPM.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-1711349926036389608</id><published>2011-05-06T08:57:00.000-07:00</published><updated>2011-05-06T08:57:39.105-07:00</updated><title type='text'>Opening up to OpenID with Spring Security | Packt Publishing Technical &amp; IT Book and eBook Store</title><content type='html'>&lt;a href="http://www.packtpub.com/article/opening-up-to-openid-with-spring-security?sms_ss=blogger&amp;amp;at_xt=4dc41a6b29c31580%2C0#more"&gt;Opening up to OpenID with Spring Security | Packt Publishing Technical &amp;amp; IT Book and eBook Store&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-1711349926036389608?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.packtpub.com/article/opening-up-to-openid-with-spring-security?sms_ss=blogger&amp;at_xt=4dc41a6b29c31580%2C0#more' title='Opening up to OpenID with Spring Security | Packt Publishing Technical &amp; IT Book and eBook Store'/><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/1711349926036389608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2011/05/opening-up-to-openid-with-spring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/1711349926036389608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/1711349926036389608'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2011/05/opening-up-to-openid-with-spring.html' title='Opening up to OpenID with Spring Security | Packt Publishing Technical &amp; IT Book and eBook Store'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-8613153041020287812</id><published>2011-02-10T07:11:00.000-08:00</published><updated>2011-02-10T07:15:16.781-08:00</updated><title type='text'>Online HTML Editor</title><content type='html'>&lt;a href="http://xinha.webfactional.com/"&gt;Xanha&lt;/a&gt; have a online HTML editor which you can add in your portal to allow user to create their own pages. I think its easy to use and will be good value add.&lt;br /&gt;&lt;br /&gt;Ty this &lt;a href="http://www.xinha.org/xinha-nightly/examples/ExtendedDemo.html"&gt;http://www.xinha.org/xinha-nightly/examples/ExtendedDemo.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-8613153041020287812?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/8613153041020287812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2011/02/online-html-editor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/8613153041020287812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/8613153041020287812'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2011/02/online-html-editor.html' title='Online HTML Editor'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-5740009827766304905</id><published>2010-08-24T08:01:00.000-07:00</published><updated>2010-08-24T08:33:33.291-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSLD to Service'/><category scheme='http://www.blogger.com/atom/ns#' term='service deployment Axis2'/><category scheme='http://www.blogger.com/atom/ns#' term='Axis2'/><title type='text'>Deploy Axis2 service using WSDL programatically</title><content type='html'>I was waiting for this from few months to get help from some Axis2 code commitors and finally Srinath helped me to get that inside code and i thought its worth sharing it with public.&lt;br /&gt;&lt;br /&gt;Here is the set of code which you have to use.&lt;br /&gt;&lt;br /&gt;AxisService axisService = new AxisService(serviceQname.getLocalPart());&lt;br /&gt;           axisService.addParameter(WSDLConstants.WSDL_4_J_DEFINITION, service.wsdlLocation());&lt;br /&gt;           axisService.addParameter("useOriginalwsdl", "true");&lt;br /&gt;        &lt;br /&gt;and the maven dependency you  need to run this code is&lt;br /&gt;&lt;br /&gt;    &lt;dependency&gt;&lt;br /&gt;           &lt;groupid&gt;&amp;lt;dependency&amp;gt;&lt;br /&gt;            &amp;lt;groupId&amp;gt;org.apache.axis2&amp;lt;/groupId&amp;gt;&lt;br /&gt;            &amp;lt;artifactId&amp;gt;axis2-kernel&amp;lt;/artifactId&amp;gt;&lt;br /&gt;            &amp;lt;version&amp;gt;1.5&amp;lt;/version&amp;gt;&lt;br /&gt;&amp;lt;/dependency&amp;gt;&lt;/groupid&gt;&lt;version&gt;&lt;/version&gt;&lt;br /&gt;       &lt;/dependency&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-5740009827766304905?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/5740009827766304905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2010/08/deploy-axis2-service-using-wsdl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/5740009827766304905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/5740009827766304905'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2010/08/deploy-axis2-service-using-wsdl.html' title='Deploy Axis2 service using WSDL programatically'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-1571749085787411995</id><published>2010-07-20T12:32:00.000-07:00</published><updated>2010-07-20T12:58:12.716-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gridftp'/><category scheme='http://www.blogger.com/atom/ns#' term='globus'/><title type='text'>GridFTP Client  java.lang.NumberFormatException: For input string</title><content type='html'>If you put the hostname in cog.property not the host ip then org.globus.ftp.GridFTPClient class gives java.lang.NumberFormatException: For input string "hostname...." it took me a while to debug this as file transfer from local machine to compute resource was working well. Problem come when you are transferring the output from the resource to your local machine. You need to have ip=....ip address in the ~/.globus/cog.propeties file to solve this problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-1571749085787411995?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/1571749085787411995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2010/07/gridftp-client-javalangnumberformatexce.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/1571749085787411995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/1571749085787411995'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2010/07/gridftp-client-javalangnumberformatexce.html' title='GridFTP Client  java.lang.NumberFormatException: For input string'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-325141585520681232</id><published>2010-04-07T10:38:00.000-07:00</published><updated>2010-04-07T10:47:02.822-07:00</updated><title type='text'>How to create myproxy user for GFAC</title><content type='html'>If you have your grid certificate set and grid-proxy-info command is showing your CA information. you can create your own myproxy user account. This will help you not to distribute your grid certificate to your gateway but dedicating user to have a user certificate to connect to teragrid resources. &lt;br /&gt;&lt;br /&gt;run following command to create new user&lt;br /&gt;&lt;br /&gt;$ myproxy-init -s myproxy.teragrid.org -l UserName&lt;br /&gt;&lt;br /&gt;Enter your grid certificate password and then enter a new password for myproxy server. This password you can use to get user certificate from myproxy and run jobs using GFAC using this myproxy client.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-325141585520681232?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/325141585520681232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2010/04/how-to-create-myproxy-user-for-gfac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/325141585520681232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/325141585520681232'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2010/04/how-to-create-myproxy-user-for-gfac.html' title='How to create myproxy user for GFAC'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-8464587099654116429</id><published>2010-04-05T10:29:00.000-07:00</published><updated>2010-04-05T10:44:32.400-07:00</updated><title type='text'>Unified xregistry client API</title><content type='html'>This code is to have single client for Xregistry interactions and expose all the client calls without worrying about core code of xregistry. This will simplify client intractions and GSI handle security needed for xregistry communications.&lt;br /&gt;&lt;br /&gt;SVN Access&lt;br /&gt;&lt;br /&gt;This will give you access to the current version of the code. Use "svn update" to get updates to the code.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;svn co https://ogce.svn.sourceforge.net/svnroot/ogce/ogce-gadget-interfaces/xregistryclient &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;config folder contain property for xregistry location and trusted ca location. &lt;span style="font-style:italic;"&gt;To run in eclipse add this folder to classpath.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;XregistryClient class have client method example to work with OGCE resource.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-8464587099654116429?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/8464587099654116429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2010/04/unified-xregistry-client-api.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/8464587099654116429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/8464587099654116429'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2010/04/unified-xregistry-client-api.html' title='Unified xregistry client API'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-8153540665619372993</id><published>2010-02-25T09:27:00.000-08:00</published><updated>2010-02-25T09:48:02.812-08:00</updated><title type='text'>Debugging IFrame page javascript became easier using Firebug</title><content type='html'>Debugging javascript was always painfull and can take hell amount of your time and some JS API can make your life miserable. But Firebug really help you through. Install firefox plugin for firebug which worked well for JSF and Portlet application. &lt;br /&gt;&lt;br /&gt;I wanted to debug problem getting data from a Iframe page which is google map. I wanted to get longitude and latitude values from that iframe Script looks like &lt;br /&gt;&lt;code&gt;&lt;br /&gt;if (gridConfigs[regionType].showMap) {&lt;br /&gt;  var iframeEl = document.getElementById("geoforecast");&lt;br /&gt;  var iframeWin;&lt;br /&gt;  if (iframeEl.contentWindow) { // IE and Safari require, works for Firefox too&lt;br /&gt;      iframeWin = iframeEl.contentWindow;&lt;br /&gt;  } else if (iframeEl.contentDocument) { // Works for Firefox, DOM Level 2 standard&lt;br /&gt;      iframeWin = iframeEl.contentDocument.defaultView;&lt;br /&gt;  }&lt;br /&gt; document.getElementById("grid_cLat").value = iframeWin.forecast.cLat;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I was not getting cLat value back. Then using firebig i can add debug point and look for the values and then put a watch on iframeWin.forecast.cLat which gave me real error. &lt;br /&gt;Error: Permission denied for .. to get property Window.forecast from ...&lt;br /&gt;&lt;br /&gt;Following snaphot will give you more idea.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XAafQd0Ux2M/S4a2TtTG4oI/AAAAAAAAB8U/lcFcTMng_mY/s1600-h/Screen+shot+2010-02-25+at+12.26.45+PM.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 171px;" src="http://1.bp.blogspot.com/_XAafQd0Ux2M/S4a2TtTG4oI/AAAAAAAAB8U/lcFcTMng_mY/s320/Screen+shot+2010-02-25+at+12.26.45+PM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5442237649417331330" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-8153540665619372993?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/8153540665619372993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2010/02/debugging-javascript-became-easier-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/8153540665619372993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/8153540665619372993'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2010/02/debugging-javascript-became-easier-with.html' title='Debugging IFrame page javascript became easier using Firebug'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XAafQd0Ux2M/S4a2TtTG4oI/AAAAAAAAB8U/lcFcTMng_mY/s72-c/Screen+shot+2010-02-25+at+12.26.45+PM.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-4120413544577365524</id><published>2009-09-29T12:02:00.000-07:00</published><updated>2009-09-29T12:49:41.023-07:00</updated><title type='text'>How a Gadget can break igoogle?</title><content type='html'>I was trying to create a gadget where you can provide your html page link in User Preferences of gadget and you can see your HTML page in gadget container like igoogle. I wrote the following code to do that&lt;br /&gt;&lt;br /&gt;&amp;lt;Module&amp;gt;&lt;br /&gt;&amp;lt;ModulePrefs &lt;br /&gt;        title=&amp;quot;Add Prefered URL&amp;quot; &lt;br /&gt;        description=&amp;quot;Add your Website URL to expose that as Gadget&amp;quot; &lt;br /&gt;        author_email=&amp;quot;rsandhu1@gmail.com&amp;quot;&lt;br /&gt;        scrolling=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;Require feature=&amp;quot;opensocial-0.8&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;Require feature=&amp;quot;dynamic-height&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/ModulePrefs&amp;gt;&lt;br /&gt;&amp;lt;UserPref name=&amp;quot;WebURL&amp;quot; display_name=&amp;quot;HTML Page URL&amp;quot; datatype=&amp;quot;string&amp;quot; required=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;Content type=&amp;quot;url&amp;quot; href=&amp;quot;__UP_WebURL__&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;/Module&amp;gt;&lt;br /&gt;&lt;br /&gt;Then i thought i should give some default URL also to UserPref so i added following attribute. When i deployed this Gadget on igoogle its redirecting my igoogle to given URL. &lt;br /&gt;default_value="http://www.collab-ogce.org/ogce/index.php/Main_Page"&lt;br /&gt;&lt;br /&gt;I dont have any idea how to fix this problem. Please try this at your own risk and you may be where i am right now. I may find a solution soon but its always fun to see working things broken and find a solution for those problems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-4120413544577365524?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/4120413544577365524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/09/how-gadget-can-break-igoogle.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/4120413544577365524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/4120413544577365524'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/09/how-gadget-can-break-igoogle.html' title='How a Gadget can break igoogle?'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-6544097805262497849</id><published>2009-07-20T14:18:00.001-07:00</published><updated>2009-07-20T14:18:10.021-07:00</updated><title type='text'>Open Social Frameworks</title><content type='html'>Check out this SlideShare Presentation: &lt;div style="width:425px;text-align:left" id="__ss_1744348"&gt;&lt;a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/rsandhu1/open-social-frameworks" title="Open Social Frameworks"&gt;Open Social Frameworks&lt;/a&gt;&lt;object style="margin:0px" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=opensocialframeworks-090720110907-phpapp01&amp;stripped_title=open-social-frameworks" /&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=opensocialframeworks-090720110907-phpapp01&amp;stripped_title=open-social-frameworks" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;"&gt;View more &lt;a style="text-decoration:underline;" href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a style="text-decoration:underline;" href="http://www.slideshare.net/rsandhu1"&gt;rsandhu1&lt;/a&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/2424676658956539895-6544097805262497849?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/6544097805262497849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/07/open-social-frameworks_20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/6544097805262497849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/6544097805262497849'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/07/open-social-frameworks_20.html' title='Open Social Frameworks'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-6779322944412653328</id><published>2009-07-14T07:31:00.000-07:00</published><updated>2009-07-14T07:38:20.985-07:00</updated><title type='text'>Sakai and OpenSocial</title><content type='html'>OpenSocial specification is evolving and Gadgets, Widgets and Ajax are becoming popular in web applications. Sakai also developed REST API's to communicate with application layer.   &lt;br /&gt;&lt;br /&gt;Read following 2 links to get some idea&lt;br /&gt;&lt;a href="http://mfeldstein.com/sakai-and-opensocial-a-different-approach-to-distributed-learning-applications/"&gt;http://mfeldstein.com/sakai-and-opensocial-a-different-approach-to-distributed-learning-applications/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://nicolaasmatthijs.wordpress.com/2008/01/10/sdata-10-january-2008/"&gt;&lt;br /&gt;http://nicolaasmatthijs.wordpress.com/2008/01/10/sdata-10-january-2008/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-6779322944412653328?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/6779322944412653328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/07/sakai-and-opensocial.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/6779322944412653328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/6779322944412653328'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/07/sakai-and-opensocial.html' title='Sakai and OpenSocial'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-7207855076045633272</id><published>2009-07-10T13:32:00.000-07:00</published><updated>2009-12-10T09:37:26.259-08:00</updated><title type='text'>Setup Sakai 3</title><content type='html'>After checkout the project you will run into Jave heap size issue while running maven&lt;br /&gt;&lt;br /&gt;http://communitygrids-raman.blogspot.com/2009/07/maven2-install-error.html&lt;br /&gt;&lt;br /&gt;export JAVA_OPTS="-server -Xmx1024m -XX:MaxNewSize=256m -XX:MaxPermSize=256m -Dsakai.demo=true"&lt;br /&gt;&lt;br /&gt;export CATALINA_OPTS="-server -Xmx1024m -XX:MaxNewSize=256m -XX:MaxPermSize=256m -Dsakai.demo=true"&lt;br /&gt;&lt;br /&gt;This link have all other details&lt;br /&gt;&lt;a href="http://confluence.sakaiproject.org/display/DOC/3akai"&gt;http://confluence.sakaiproject.org/display/DOC/3akai&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This code base is broken so Sakai have moved to new code base.. i just wrote above steps as Sakai team want every one to experience the pain and then find right code base and i feel they are not sure about their GIT choice :)&lt;br /&gt;&lt;br /&gt;Please forgive me for above instruction but right location to setup Sakai 3 is&lt;br /&gt;&lt;a href="http://confluence.sakaiproject.org/display/KERNDOC/Kernel+-+K2+-+Documentation"&gt;&lt;br /&gt;http://confluence.sakaiproject.org/display/KERNDOC/Kernel+-+K2+-+Documentation&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-7207855076045633272?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/7207855076045633272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/07/setup-sakai-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/7207855076045633272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/7207855076045633272'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/07/setup-sakai-3.html' title='Setup Sakai 3'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-7744093143370727615</id><published>2009-07-10T13:29:00.000-07:00</published><updated>2009-07-15T10:49:35.919-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OutOfMemoryError'/><category scheme='http://www.blogger.com/atom/ns#' term='maven2'/><category scheme='http://www.blogger.com/atom/ns#' term='Java heap space'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>Maven2 Install Error: java.lang.OutOfMemoryError: Java heap space</title><content type='html'>If you ever run the maven command “maven install” and you run into the following error:&lt;br /&gt;&lt;br /&gt;[INFO] ------------------------------------------------------------------------&lt;br /&gt;[ERROR] FATAL ERROR&lt;br /&gt;[INFO] ------------------------------------------------------------------------&lt;br /&gt;[INFO] Java heap space&lt;br /&gt;[INFO] ------------------------------------------------------------------------&lt;br /&gt;[INFO] Trace&lt;br /&gt;java.lang.OutOfMemoryError: Java heap space&lt;br /&gt;&lt;br /&gt;$ export MAVEN_OPTS=-Xmx1024m&lt;br /&gt;or the better option is &lt;br /&gt;$export MAVEN_OPTS='-Xms512m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=128m'&lt;br /&gt;then&lt;br /&gt;$ mvn clean install&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-7744093143370727615?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/7744093143370727615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/07/maven2-install-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/7744093143370727615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/7744093143370727615'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/07/maven2-install-error.html' title='Maven2 Install Error: java.lang.OutOfMemoryError: Java heap space'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-4009534643228086043</id><published>2009-07-05T11:34:00.000-07:00</published><updated>2009-07-05T11:40:52.141-07:00</updated><title type='text'>Avoid a Proliferation of Singletons</title><content type='html'>Read on page 29 of following scribd. We all do these common coding mistakes and then are not happy with them.&lt;br /&gt;&lt;br /&gt;&lt;a title="View J2EE Desing and Development on Scribd" href="http://www.scribd.com/doc/10207294/J2EE-Desing-and-Development" style="margin: 12px auto 6px auto; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; display: block; text-decoration: underline;"&gt;J2EE Desing and Development&lt;/a&gt; &lt;object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" id="doc_205187846194448" name="doc_205187846194448" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" align="middle" height="500" width="100%" rel="media:document" resource="http://d.scribd.com/ScribdViewer.swf?document_id=10207294&amp;access_key=key-t3g6myg5vj587otolej&amp;page=1&amp;version=1&amp;viewMode=" xmlns:media="http://search.yahoo.com/searchmonkey/media/" xmlns:dc="http://purl.org/dc/terms/" &gt;  &lt;param name="movie" value="http://d.scribd.com/ScribdViewer.swf?document_id=10207294&amp;access_key=key-t3g6myg5vj587otolej&amp;page=1&amp;version=1&amp;viewMode="&gt;   &lt;param name="quality" value="high"&gt;   &lt;param name="play" value="true"&gt;  &lt;param name="loop" value="true"&gt;   &lt;param name="scale" value="showall"&gt;  &lt;param name="wmode" value="opaque"&gt;   &lt;param name="devicefont" value="false"&gt;  &lt;param name="bgcolor" value="#ffffff"&gt;   &lt;param name="menu" value="true"&gt;  &lt;param name="allowFullScreen" value="true"&gt;   &lt;param name="allowScriptAccess" value="always"&gt;   &lt;param name="salign" value=""&gt;        &lt;embed src="http://d.scribd.com/ScribdViewer.swf?document_id=10207294&amp;access_key=key-t3g6myg5vj587otolej&amp;page=1&amp;version=1&amp;viewMode=" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="opaque" devicefont="false" bgcolor="#ffffff" name="doc_205187846194448_object" menu="true" allowfullscreen="true" allowscriptaccess="always" salign="" type="application/x-shockwave-flash" align="middle"  height="500" width="100%"&gt;&lt;/embed&gt; &lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-4009534643228086043?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/4009534643228086043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/07/avoid-proliferation-of-singletons.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/4009534643228086043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/4009534643228086043'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/07/avoid-proliferation-of-singletons.html' title='Avoid a Proliferation of Singletons'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-5775780896800761951</id><published>2009-06-11T13:11:00.000-07:00</published><updated>2009-06-30T14:24:31.203-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php soap examples'/><category scheme='http://www.blogger.com/atom/ns#' term='php webservice client'/><category scheme='http://www.blogger.com/atom/ns#' term='php string concat with time'/><category scheme='http://www.blogger.com/atom/ns#' term='examples'/><title type='text'>PHP WebService Client</title><content type='html'>I need to call WebService from a PHP page and was trying to find easy program.&lt;br /&gt;&lt;br /&gt;There is a &lt;a href="http://sourceforge.net/projects/nusoap/"&gt;nusoap&lt;/a&gt; PHP library you can download to make your life very easy.&lt;br /&gt;&lt;br /&gt;Then you need to write following set of code&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;/** Make sure you move lib folder to your current directory or change following path**/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;require_once('lib/nusoap.php');&lt;br /&gt;&lt;br /&gt;/** false is to make request sync. If you make parameter true it will submit Async request. **/&lt;br /&gt;&lt;br /&gt;$client = new soapclient("&amp;lt;wsdl http="" url=""&amp;gt;",false);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/** To concat string with current time **/&lt;br /&gt;&lt;br /&gt;$timeStamp = time();&lt;br /&gt;&lt;br /&gt;$imgCons = 'output';&lt;br /&gt;&lt;br /&gt;$imageName = $imgCons.$timeStamp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/** Parameter of webserive request **/&lt;br /&gt;&lt;br /&gt;$parameters = array&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160; ('matlabLocation'=&amp;gt;'/opt/MATLAB/MATLAB_Compiler_Runtime/v710/',&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;'dataName'=&amp;gt;'helheim',&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;'filterName'=&amp;gt;'wiener',&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;'filterParam'=&amp;gt;'[20,20]',&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;'outputDir'=&amp;gt;'~/apache-tomcat-5.5.27/webapps/webdav/',&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;'imageSize'=&amp;gt;'[800,640]',&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;'imageName'=&amp;gt;$imageName&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160; );&lt;br /&gt;&lt;br /&gt;/** Calling the webservice method **/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;$result = $client-&amp;gt;call('Run_InputParams',$parameters,'namespace');&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/** If webservice fault will come then it will come into this loop&amp;#160;&amp;#160;**/&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160; if ($client-&amp;gt;fault){&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; echo '&amp;lt;/wsdl&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;h2&amp;gt;Fault&amp;lt;/h2&amp;gt;&amp;lt;pre&amp;gt;';&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; print_r($result);&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; echo '&amp;lt;/pre&amp;gt;';&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160; }&lt;br /&gt;&lt;br /&gt;/** This will print the output parameter value on consol**/&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160; print_r($result);&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160;&lt;br /&gt;&lt;br /&gt;/** To display request and response messages**/&amp;#160;&amp;#160; &lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160; echo '&amp;lt;h2&amp;gt;Request&amp;lt;/h2&amp;gt;';&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160; echo '&amp;lt;pre&amp;gt;' . htmlspecialchars($client-&amp;gt;request, ENT_QUOTES) .&lt;br /&gt;&lt;br /&gt;'&amp;lt;/pre&amp;gt;';&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160; echo '&amp;lt;h2&amp;gt;Response&amp;lt;/h2&amp;gt;';&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160; echo '&amp;lt;pre&amp;gt;' . htmlspecialchars($client-&amp;gt;response,ENT_QUOTES) .&lt;br /&gt;&lt;br /&gt;'&amp;lt;/pre&amp;gt;';&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;You can call this php program using shell command like&lt;br /&gt;$ php webservice.php&lt;br /&gt;&lt;br /&gt;There are more client examples available in samples folder of nusoap.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-5775780896800761951?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/5775780896800761951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/06/php-webservice-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/5775780896800761951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/5775780896800761951'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/06/php-webservice-client.html' title='PHP WebService Client'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-6045949241798476107</id><published>2009-06-09T05:55:00.000-07:00</published><updated>2009-07-07T09:21:48.602-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='unable to create dispacher'/><category scheme='http://www.blogger.com/atom/ns#' term='Gridsphere'/><category scheme='http://www.blogger.com/atom/ns#' term='portal failed'/><title type='text'>GridSphere portal failed to initialize!</title><content type='html'>While deploying my JSF 1.0 application as portlets on Gridsphere 2.1.5, You may face following error. Error log will not point you to any useful reason.  &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XAafQd0Ux2M/Si_7sRHg54I/AAAAAAAABWk/x2CsWok4SyY/s1600-h/PortalError.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XAafQd0Ux2M/Si_7sRHg54I/AAAAAAAABWk/x2CsWok4SyY/s320/PortalError.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5345768020639803266" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Possible reasons you can think&lt;br /&gt;1. web.xml structure is not correct&lt;br /&gt;2. Other Xmls in WEB-INF is not proper for Gridsphere.&lt;br /&gt;3. Jar version of portal-bridge.&lt;br /&gt;4. Missing gridsphere-ui-tags jar in war.&lt;br /&gt;&lt;br /&gt;Actual reason of this error was wrong version of tomahawk jar. I updated my pom to use tomahawk12-1.1.8.jar which caused all this problem. &lt;br /&gt;&lt;br /&gt;Solution is use tomahawk-1.1.8.jar.&lt;br /&gt;&lt;br /&gt;This error took a whole day to figure out what is going wrong with my project war.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-6045949241798476107?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/6045949241798476107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/06/gridsphere-portal-failed-to-initialize.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/6045949241798476107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/6045949241798476107'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/06/gridsphere-portal-failed-to-initialize.html' title='GridSphere portal failed to initialize!'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XAafQd0Ux2M/Si_7sRHg54I/AAAAAAAABWk/x2CsWok4SyY/s72-c/PortalError.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-4984473593666542532</id><published>2009-06-02T07:59:00.000-07:00</published><updated>2009-07-16T11:39:32.714-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='archiva'/><category scheme='http://www.blogger.com/atom/ns#' term='repository'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>Using Apache Archiva as Maven repository</title><content type='html'>&lt;blockquote&gt;&lt;br /&gt;Archiva is good to create your Maven repository based on your project. &lt;br /&gt;&lt;br /&gt;1. Setup archiva using install steps. &lt;br /&gt;&lt;br /&gt;2. Add user by going to User Management. To upload jar to Archiva you need admin rights.  &lt;br /&gt;&lt;br /&gt;3. Create a repository directory based on use.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XAafQd0Ux2M/SlN0MedmezI/AAAAAAAABXM/nspbF3aOIvA/s1600-h/SetupDir.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XAafQd0Ux2M/SlN0MedmezI/AAAAAAAABXM/nspbF3aOIvA/s320/SetupDir.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5355752139558124338" /&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;4. Go to Upload Artifact to upload Jars. Also check create Maven 2 pom to create a pom which you can add in your pom file to pull this jar.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XAafQd0Ux2M/SlN0aaC-eyI/AAAAAAAABXU/Pa1NpkVbL78/s1600-h/UploadJar.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XAafQd0Ux2M/SlN0aaC-eyI/AAAAAAAABXU/Pa1NpkVbL78/s320/UploadJar.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5355752378890877730" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5. Go to Repository Groups and create a group based on your project.Add repositories to your project. The group path need to be added to pom.xml as Repository location to download Jars.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XAafQd0Ux2M/SlN0j-j1mwI/AAAAAAAABXc/i7VwB5qKQ4Q/s1600-h/CreateGroup.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XAafQd0Ux2M/SlN0j-j1mwI/AAAAAAAABXc/i7VwB5qKQ4Q/s320/CreateGroup.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5355752543311207170" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6. Add Archiva repository location provided in Repository Groups to project pom&lt;br /&gt;&lt;br /&gt;Browse Repository will show you added jars in particular project.&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-4984473593666542532?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/4984473593666542532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/06/using-apache-archiva-as-maven.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/4984473593666542532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/4984473593666542532'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/06/using-apache-archiva-as-maven.html' title='Using Apache Archiva as Maven repository'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XAafQd0Ux2M/SlN0MedmezI/AAAAAAAABXM/nspbF3aOIvA/s72-c/SetupDir.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-6739825440486852601</id><published>2009-04-16T08:35:00.000-07:00</published><updated>2009-04-16T08:37:38.351-07:00</updated><title type='text'>MTOM Guide -Sending Binary Data with SOAP</title><content type='html'>Following link will help you sending data as attachment in Axis2&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ws.apache.org/axis2/1_0/mtom-guide.html"&gt;&lt;br /&gt;http://ws.apache.org/axis2/1_0/mtom-guide.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Will add more after tying this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-6739825440486852601?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/6739825440486852601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/04/mtom-guide-sending-binary-data-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/6739825440486852601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/6739825440486852601'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/04/mtom-guide-sending-binary-data-with.html' title='MTOM Guide -Sending Binary Data with SOAP'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-3145996722047720550</id><published>2009-03-24T07:21:00.000-07:00</published><updated>2009-03-24T07:27:57.410-07:00</updated><title type='text'>JSF for non-believers</title><content type='html'>Read articles on following link to understand life cycle of JSF&lt;br /&gt;&lt;br /&gt;&lt;a href=" http://www.ibm.com/developerworks/views/java/libraryview.jsp?search_by=nonbelievers:"&gt;&lt;br /&gt;http://www.ibm.com/developerworks/views/java/libraryview.jsp?search_by=nonbelievers:&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-3145996722047720550?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/3145996722047720550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/03/jsf-for-non-believers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/3145996722047720550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/3145996722047720550'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/03/jsf-for-non-believers.html' title='JSF for non-believers'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-1309425289640076725</id><published>2009-03-24T06:26:00.000-07:00</published><updated>2009-03-24T06:29:16.918-07:00</updated><title type='text'>Object Model Design Best Practices</title><content type='html'>-Always prefer delegation over inheritance.&lt;br /&gt;-Avoid “Premature Generalization”. Create abstractions only when the intent is   understood. &lt;br /&gt;-Do the simplest thing that works, then re-factor as time permits.&lt;br /&gt;-Always make object-behavior transparent to API consumers.&lt;br /&gt;-Always separate presentation layer from business logic. &lt;br /&gt;-Always prefer interfaces over abstract classes.&lt;br /&gt;-Try to append the design-pattern name to class names where appropriate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-1309425289640076725?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/1309425289640076725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/03/object-model-design-best-practices.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/1309425289640076725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/1309425289640076725'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/03/object-model-design-best-practices.html' title='Object Model Design Best Practices'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-8188111331527908214</id><published>2009-01-20T07:12:00.000-08:00</published><updated>2009-03-02T14:01:38.960-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Learning JSF'/><title type='text'>Learning JSF and MyFaces</title><content type='html'>Following are the links you can use to learn JSF (if you already understand JSP and web Applications)&lt;br /&gt;&lt;br /&gt;Read Chapter 17 and 18th to understand JSF (http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html) or follow &lt;br /&gt;&lt;br /&gt;http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFIntro.html&lt;br /&gt;&lt;br /&gt;Venket has written some cool things on his blog&lt;br /&gt;&lt;br /&gt;http://venkatsadasivam.wordpress.com/2008/05/20/jsf-best-practices/&lt;br /&gt;&lt;br /&gt;To go into MyFaces direction must read following links&lt;br /&gt;&lt;br /&gt;http://myfaces.apache.org/gettingstarted.html&lt;br /&gt;http://www.coreservlets.com/JSF-Tutorial/&lt;br /&gt;&lt;br /&gt;All you need related to MyFaces is here&lt;br /&gt;&lt;br /&gt;http://wiki.apache.org/myfaces/FrontPage&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-8188111331527908214?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/8188111331527908214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/01/learning-jsf-and-myfaces.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/8188111331527908214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/8188111331527908214'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/01/learning-jsf-and-myfaces.html' title='Learning JSF and MyFaces'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-8603531656691515955</id><published>2009-01-09T09:36:00.000-08:00</published><updated>2009-03-30T07:19:57.157-07:00</updated><title type='text'>Install GCC on MAC</title><content type='html'>&lt;a href="http://www.tech-recipes.com/rx/726/mac-os-x-install-gcc-compiler/"&gt;&lt;br /&gt;http://www.tech-recipes.com/rx/726/mac-os-x-install-gcc-compiler/&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-8603531656691515955?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/8603531656691515955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/01/install-gcc-on-mac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/8603531656691515955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/8603531656691515955'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/01/install-gcc-on-mac.html' title='Install GCC on MAC'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2424676658956539895.post-8976883864670285497</id><published>2009-01-08T11:39:00.000-08:00</published><updated>2009-01-08T11:48:28.035-08:00</updated><title type='text'>Setup MySql Server and Security on Unix/Mac</title><content type='html'>Open the terminal and first set password of root user using following commends&lt;br /&gt;&lt;br /&gt;&lt;pre class="programlisting"&gt;shell&gt; &lt;strong class="userinput"&gt;&lt;code&gt;mysql -u root&lt;/code&gt;&lt;/strong&gt;&lt;br /&gt;mysql&gt; &lt;strong class="userinput"&gt;&lt;code&gt;SET PASSWORD FOR 'root'@'localhost' = PASSWORD('&lt;em class="replaceable"&gt;&lt;code&gt;newpwd&lt;/code&gt;&lt;/em&gt;');&lt;/code&gt;&lt;/strong&gt;&lt;br /&gt;mysql&gt; &lt;strong class="userinput"&gt;&lt;code&gt;SET PASSWORD FOR 'root'@'&lt;em class="replaceable"&gt;&lt;code&gt;host_name&lt;/code&gt;&lt;/em&gt;' = PASSWORD('&lt;em class="replaceable"&gt;&lt;code&gt;newpwd&lt;/code&gt;&lt;/em&gt;');&lt;/code&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Following is a useful link for MySQL Security setup&lt;br /&gt;&lt;br /&gt;&lt;a href='http://dev.mysql.com/doc/refman/5.1/en/default-privileges.html'&gt;http://dev.mysql.com/doc/refman/5.1/en/default-privileges.html &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424676658956539895-8976883864670285497?l=communitygrids-raman.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://communitygrids-raman.blogspot.com/feeds/8976883864670285497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/01/setup-mysql-server-and-security-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/8976883864670285497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2424676658956539895/posts/default/8976883864670285497'/><link rel='alternate' type='text/html' href='http://communitygrids-raman.blogspot.com/2009/01/setup-mysql-server-and-security-on.html' title='Setup MySql Server and Security on Unix/Mac'/><author><name>Raminder Singh</name><uri>http://www.blogger.com/profile/02193418231867817290</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_XAafQd0Ux2M/SjLCbLKkaXI/AAAAAAAABWs/8GvU4l2ADvY/S220/sandhu_raman1%27s+Webcam+1.png'/></author><thr:total>0</thr:total></entry></feed>
