<?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:blogger='http://schemas.google.com/blogger/2008' 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-2859304543308190020</id><updated>2025-02-07T11:53:10.366+05:30</updated><category term="java"/><category term="struts2"/><category term="Spring"/><category term="indicthreads conference java"/><category term="Hibernate"/><category term="eclipse"/><category term="indic"/><category term="springboot"/><category term="GoDaddy"/><category term="HTTPS"/><category term="NoSuchMethodError"/><category term="REST"/><category term="SSL"/><category term="SVN"/><category term="Web Services"/><category term="action error"/><category term="action message"/><category term="ajax"/><category term="ajax dropdown"/><category term="angularjs"/><category term="apache shutdown error"/><category term="augmented reality"/><category term="bitcoic"/><category term="blockchain"/><category term="blogger"/><category term="bluemix"/><category term="ca bundle"/><category term="certificate"/><category term="error"/><category term="event"/><category term="freemarker"/><category term="functional programming"/><category term="go"/><category term="http/2"/><category term="ibm cloud"/><category term="image height width"/><category term="input tag"/><category term="interceptor"/><category term="iot"/><category term="java 8"/><category term="java code name"/><category term="jets3t"/><category term="jks"/><category term="junit"/><category term="ldap"/><category term="maven"/><category term="microservices"/><category term="oracle"/><category term="pattern"/><category term="performance"/><category term="pkcs12"/><category term="reactive"/><category term="resolved"/><category term="rxjava"/><category term="s3"/><category term="session check"/><category term="singleton"/><category term="streams"/><category term="struts2 hello world example"/><category term="sts"/><category term="war"/><category term="war file"/><category term="weblogic portal example"/><title type='text'>Java,Java,Java</title><subtitle type='html'>A blog about Java and related Technologies</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.javachamp.in/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-3958115875239142745</id><published>2019-12-03T13:14:00.001+05:30</published><updated>2019-12-03T13:19:55.930+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ca bundle"/><category scheme="http://www.blogger.com/atom/ns#" term="certificate"/><category scheme="http://www.blogger.com/atom/ns#" term="GoDaddy"/><category scheme="http://www.blogger.com/atom/ns#" term="HTTPS"/><category scheme="http://www.blogger.com/atom/ns#" term="jks"/><category scheme="http://www.blogger.com/atom/ns#" term="pkcs12"/><category scheme="http://www.blogger.com/atom/ns#" term="Spring"/><category scheme="http://www.blogger.com/atom/ns#" term="springboot"/><category scheme="http://www.blogger.com/atom/ns#" term="SSL"/><title type='text'>SSL in Spring Boot using GoDaddy certificate on EC2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqwry40RDRyofjTxmCOlICrhYX0lcmbPZqNue0e-jPs605dicY8C4hR1SHBGUTcJoFXQhZxlZ1BYywiQOS-nh_iNT08I_Ml5RC6uHYeTGBV2qRv5U4SAAiGk6szKgYZQ22CbMrrjv-5lI6/s1600/ssl-in-spring-boot-using-godaddy.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;853&quot; data-original-width=&quot;1280&quot; height=&quot;425&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqwry40RDRyofjTxmCOlICrhYX0lcmbPZqNue0e-jPs605dicY8C4hR1SHBGUTcJoFXQhZxlZ1BYywiQOS-nh_iNT08I_Ml5RC6uHYeTGBV2qRv5U4SAAiGk6szKgYZQ22CbMrrjv-5lI6/s640/ssl-in-spring-boot-using-godaddy.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
In this article, we will be going to see how we can achieve the &lt;b&gt;HTTPS in the spring boot application&lt;/b&gt;. You will get lots of items on how to use the self-generated certificate with Spring Boot. But today we are going to use the &lt;b&gt;CA generated certificates with the Spring Boot&lt;/b&gt; so that our application will work on HTTPS.&lt;br /&gt;
&lt;br /&gt;
We need the following things to work:&lt;/div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;CA certificates including, private key and certificate. In this article, we are using the GoDaddy wild card certificate.&lt;/li&gt;
&lt;li&gt;Spring Boot application&lt;/li&gt;
&lt;li&gt;&lt;b&gt;OpenSSL &lt;/b&gt;library&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;Convert the certificate and private key to PKCS 12&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
First of all, we need to &lt;b&gt;convert the CA certificate to .p12 format&lt;/b&gt;. We need to have OpenSSL on the system to work with command. Also, we need to have all files in the same directory where we are running this command. The command required to covert the same:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;openssl pkcs12 -export -in [ceritificate-name] -inkey [private-key] -name [host] -out [new-file.p12]&lt;/i&gt;&lt;/blockquote&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Here replace the values:&lt;/div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;[ceritificate-name] with the name of the certificate&lt;/li&gt;
&lt;li&gt;[private-key] with the private key file&lt;/li&gt;
&lt;li&gt;[host] with the name of the host&lt;/li&gt;
&lt;li&gt;[new-file.p12] with any name of your choice with extension .p12&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;Import the certificate to the key store&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Now, we have generated our .p12 file next step is to convert this file to jks format. We need to do this in 2 steps. For this command to work, we need to have a Java home set environment.&lt;/div&gt;
1. First, &lt;b&gt;import the PKCS 12 certificate&lt;/b&gt; by executing the following command:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;keytool -importkeystore -deststorepass [password] -destkeystore [new-keystore.jks] -srckeystore [new-file.p12] -srcstoretype PKCS12&lt;/i&gt;&lt;/blockquote&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
where:&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;[password] is the password you create while creating the private key&lt;/li&gt;
&lt;li&gt;[new-keystore.jks] the name you have defined earlier&lt;/li&gt;
&lt;li&gt;[new-file.p12] is the name of the .p12 file you defined earlier&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
2. Secondly,&lt;b&gt; import the CA bundle file&lt;/b&gt; by executing the following command:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;keytool -import -alias tomcat -trustcacerts -file [ca-bundle-file] -keystore [new-keystore.jks]&lt;/i&gt;&lt;/blockquote&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
where:&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;[ca-bundle-file] is the name of the ca certificate&lt;/li&gt;
&lt;li&gt;[new-keystore.jks] the name you have defined earlier&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
That&#39;s it. We have converted the CA certificate, (GoDaddy in our case) to jks format which will be used by the Spring Boot application.&lt;br /&gt;
&lt;br /&gt;
Let&#39;s now do some &lt;b&gt;configurations in Spring Boot application &lt;/b&gt;to run in HTTPS.&lt;br /&gt;
Paste the below lines in your &lt;b&gt;application.yml&lt;/b&gt;:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;server:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ssl:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; key-password: your-password&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; key-store-password: your-password&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; key-store: classpath:name-of-file.jks&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; key-store-type: JKS&lt;/i&gt;&lt;/blockquote&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
or in the &lt;b&gt;application.properties &lt;/b&gt;file:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;server.ssl.key-password=your-password&lt;br /&gt;server.ssl.key-store-password=your-password&lt;br /&gt;server.ssl.key-store: classpath=name-of-file.jks&lt;br /&gt;server.ssl.key-store-type=JKS&lt;/i&gt;&lt;/blockquote&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
That&#39;s all we need to do. Now we are ready to run our application in HTTPS mode on EC2 instance with GoDaddy certificates.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/3958115875239142745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2019/12/ssl-in-spring-boot-using-godaddy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/3958115875239142745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/3958115875239142745'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2019/12/ssl-in-spring-boot-using-godaddy.html' title='SSL in Spring Boot using GoDaddy certificate on EC2'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqwry40RDRyofjTxmCOlICrhYX0lcmbPZqNue0e-jPs605dicY8C4hR1SHBGUTcJoFXQhZxlZ1BYywiQOS-nh_iNT08I_Ml5RC6uHYeTGBV2qRv5U4SAAiGk6szKgYZQ22CbMrrjv-5lI6/s72-c/ssl-in-spring-boot-using-godaddy.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-1017631644945691471</id><published>2018-01-01T17:48:00.000+05:30</published><updated>2018-01-01T17:49:31.066+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="bluemix"/><category scheme="http://www.blogger.com/atom/ns#" term="ibm cloud"/><category scheme="http://www.blogger.com/atom/ns#" term="Spring"/><category scheme="http://www.blogger.com/atom/ns#" term="springboot"/><category scheme="http://www.blogger.com/atom/ns#" term="war"/><category scheme="http://www.blogger.com/atom/ns#" term="war file"/><title type='text'>First Time Deployment of war file to IBM Cloud</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this post, I will put a very basic deployment of Java war file on the &lt;b&gt;IBM Cloud&lt;/b&gt;. Previously, IBM Cloud was known as &lt;b&gt;IBM Bluemix&lt;/b&gt;. But in this post, I will prefer using the IBM Cloud and not the bluemix. I was facing problem while deploying the war file on the IBM Cloud for the first time. I am not a DevOps person who knows about the servers as well. But my job was to deploy the application on the IBM Cloud I need to do it. So, I tried googling around but have no idea about how to do it. There are some examples are given but they are not so basic to be understood by a developer who wants to deploy the application in Cloud.&lt;br /&gt;
&lt;br /&gt;
But I manage to do it. And I will explain all the steps that are needed to deploy the application to the Cloud. The application I am going to deploy is the Spring Boot application.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Requirements&lt;/b&gt;&lt;/h2&gt;
1. &lt;a href=&quot;http://www.ibm.com/cloud&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;IBM Cloud&lt;/a&gt; account.&lt;br /&gt;
2. &lt;a href=&quot;https://clis.ng.bluemix.net/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;IBM Bluemix CLI&lt;/a&gt;&lt;br /&gt;
3. war file (spring-boot application)&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;IBM Cloud&amp;nbsp;&lt;/b&gt;Setup&lt;/h2&gt;
After signing for IBM Cloud, go to the IBM Cloud Dashboard. IBM Cloud provides you with some free applications to test your application. From there select the &lt;i&gt;filter:lite&lt;/i&gt;. You will see some of the free applications provided by the IBM.&lt;br /&gt;
&lt;br /&gt;
Since we are using the Java we will select the &lt;i&gt;liberty-for-java&lt;/i&gt; from there.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglMtL0DZbFjBTsCFVx0AxiivGGMuPEOixmH0HMh0vDAzNN2iTImhlIGvjNRJgNRCT9rEjHOcO0rviP6afCptBfQX34_7_JgC-Zjm73zXMiQu1u3G7YPaKvHUJsmpSQSKbAo60AHL2CMtwP/s1600/liberty-for-java.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;582&quot; data-original-width=&quot;1600&quot; height=&quot;232&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglMtL0DZbFjBTsCFVx0AxiivGGMuPEOixmH0HMh0vDAzNN2iTImhlIGvjNRJgNRCT9rEjHOcO0rviP6afCptBfQX34_7_JgC-Zjm73zXMiQu1u3G7YPaKvHUJsmpSQSKbAo60AHL2CMtwP/s640/liberty-for-java.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, it will ask for the name and other information. Enter the required one and it will create a Java profile in the cloud for you. Your Java environment is ready to be used by your application. You will see your dashboard as shown below after you have created a &lt;i&gt;liberty-for-java&lt;/i&gt; app.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNwwg1pJ5hJ2U2OZAc2INDOrsYx10-XxOEfNcVfYy0wHdesyrFF4buAiKsM1lnkT8w-Y9mD63d52FpaZRSybgL82N-oCTMifOFo9y6KG3bzyzX2iLFEOfqh4gbB0v4bAxrZMJiUzdBtc5p/s1600/ibm-cloud-dashboard.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;370&quot; data-original-width=&quot;1600&quot; height=&quot;145&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNwwg1pJ5hJ2U2OZAc2INDOrsYx10-XxOEfNcVfYy0wHdesyrFF4buAiKsM1lnkT8w-Y9mD63d52FpaZRSybgL82N-oCTMifOFo9y6KG3bzyzX2iLFEOfqh4gbB0v4bAxrZMJiUzdBtc5p/s640/ibm-cloud-dashboard.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Yes, that&#39;s it. No other requirement is there. Now download the &lt;a href=&quot;https://clis.ng.bluemix.net/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;IBM Bluemix CLI&lt;/a&gt; client and setup it. It is a simple command line tool for interacting with the cloud.&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;War file Deployment on IBM Cloud&lt;/h2&gt;
Go to the directory where your war file is kept and follow the below steps to deploy your application on cloud.&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Enter &lt;i&gt;&lt;b&gt;bluemix api https://api.xx-xx.bluemix.net&lt;/b&gt;&lt;/i&gt; on command. Here &lt;i&gt;xx-xx&lt;/i&gt; is specific to the user. You have to see what your server is providing you.&lt;/li&gt;
&lt;li&gt;Then login to bluemix using the below command.&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&amp;nbsp;&lt;i&gt;&lt;b&gt;bluemix login -u &amp;lt;username&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;/i&gt;&amp;nbsp;-o&amp;nbsp;&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&amp;lt;&lt;/b&gt;&lt;/i&gt;organization&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;/i&gt;&lt;/b&gt;&lt;/i&gt;&amp;nbsp;-s&amp;nbsp;&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&amp;lt;&lt;/b&gt;&lt;/i&gt;space&lt;/b&gt;&lt;i&gt;&lt;b&gt;&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;/i&gt;&lt;/b&gt;&lt;/i&gt;&amp;nbsp;&lt;/i&gt;Here:&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt;username&lt;/b&gt; is mostly email id&lt;span style=&quot;font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;the &lt;b&gt;organization&lt;/b&gt; is also your email id until and unless you have paid account and created other.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;space &lt;/b&gt;is mostly dev unless otherwise created a new one&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;li&gt;Then enter the final command that will upload the war file to the cloud.&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;i&gt;&lt;b&gt;bluemix app push&amp;nbsp;&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&amp;lt;&lt;/b&gt;&lt;/i&gt;appname&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;/i&gt;&lt;/b&gt;&lt;/i&gt;&amp;nbsp;-b&amp;nbsp;&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&amp;lt;&lt;/b&gt;&lt;/i&gt;buildpack&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;/i&gt;&lt;/b&gt;&lt;/i&gt;&amp;nbsp;-p&amp;nbsp;&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&amp;lt;&lt;/b&gt;&lt;/i&gt;war file&lt;/b&gt;&lt;i&gt;&lt;b&gt;&lt;i style=&quot;font-weight: 400;&quot;&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;/i&gt;&lt;/b&gt;&lt;/i&gt;&amp;nbsp;&lt;/i&gt;Here:&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt;appname &lt;/b&gt;is the name of the application you have created when you create a liberty for Java profile.&lt;/li&gt;
&lt;li&gt;for &lt;b&gt;buildpack&lt;/b&gt;, we will be using &lt;i&gt;liberty-for-java&lt;/i&gt;, as our application is Java based.&lt;/li&gt;
&lt;li&gt;In the end, the name of the war file.&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div&gt;
After deployment, you will see that your instance is up and running. Your application is deployed successfully in the cloud.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyrgdGFxGZXFimMrPNczn54r3CGnwFVuui7zRUoZ-87GjejMaHWNu1MKQYHKS-LcrytR1fmU9TxngmYJMCQt0X-HtyefCxmg5gOOPqt18-OUlFmw6OXvoMSfVVxOqV_8-kOAgGBaHjJLaU/s1600/liberty-for-java-dashboard.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;513&quot; data-original-width=&quot;1600&quot; height=&quot;204&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyrgdGFxGZXFimMrPNczn54r3CGnwFVuui7zRUoZ-87GjejMaHWNu1MKQYHKS-LcrytR1fmU9TxngmYJMCQt0X-HtyefCxmg5gOOPqt18-OUlFmw6OXvoMSfVVxOqV_8-kOAgGBaHjJLaU/s640/liberty-for-java-dashboard.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
You can visit your application by clicking the &lt;b&gt;Visit Your URL&lt;/b&gt; link.&amp;nbsp;Hope it helps some of my fellow friends struggling with deployment on IBM Cloud&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/1017631644945691471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2018/01/first-time-deployment-of-war-file-to.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/1017631644945691471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/1017631644945691471'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2018/01/first-time-deployment-of-war-file-to.html' title='First Time Deployment of war file to IBM Cloud'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglMtL0DZbFjBTsCFVx0AxiivGGMuPEOixmH0HMh0vDAzNN2iTImhlIGvjNRJgNRCT9rEjHOcO0rviP6afCptBfQX34_7_JgC-Zjm73zXMiQu1u3G7YPaKvHUJsmpSQSKbAo60AHL2CMtwP/s72-c/liberty-for-java.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-3859590935366565658</id><published>2017-06-20T19:59:00.001+05:30</published><updated>2017-06-20T20:00:25.108+05:30</updated><title type='text'>My JUnit Write Ups</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I haven&#39;t written to my blog for a long time. There are times when you are busy and didn&#39;t get the time to work on the blogs.&lt;br /&gt;
&lt;br /&gt;
I am writing for &lt;a href=&quot;https://examples.javacodegeeks.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;Java Code Geeks&lt;/b&gt;&lt;/a&gt; for some time and busy with one of the projects that I was building for a client.&lt;br /&gt;
&lt;br /&gt;
Most of the blogs that I am writing was on JUnit. If you like this blogs do follow me on the Java Code Geeks at my &lt;a href=&quot;https://examples.javacodegeeks.com/author/vinod-kashyap/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;author page&lt;/b&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Also, if possible do upvote my links on &lt;b&gt;&lt;a href=&quot;https://dzone.com/users/207111/vinod.kashyap12.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;DZone&lt;/a&gt;.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
I will be regularly&amp;nbsp;writing&amp;nbsp;on JUnit there. Hope you like those.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/3859590935366565658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2017/06/i-havent-written-to-my-blog-for-long.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/3859590935366565658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/3859590935366565658'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2017/06/i-havent-written-to-my-blog-for-long.html' title='My JUnit Write Ups'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-2562315974140347740</id><published>2017-03-09T20:20:00.000+05:30</published><updated>2017-04-12T08:52:19.670+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hibernate"/><title type='text'>Hibernate Tips - a must have book</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Recently one of my friend&amp;nbsp;&lt;a href=&quot;http://thoughts-on-java.org/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Thorben Janssen&lt;/a&gt; started working on Hibernate Tips book. He is awesome and write wonderful blogs about &lt;a href=&quot;http://hibernate.org/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Hibernate&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
He is well known for his blogs about Hibernate. You can read him on &lt;a href=&quot;http://www.thoughts-on-java.org/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;thoughts-on-java.org&lt;/a&gt;.&lt;br /&gt;
He had completed the book and soon it will be available on Amazon for buying.&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;a href=&quot;https://www.amazon.in/gp/product/1544869177/ref=as_li_tl?ie=UTF8&amp;amp;camp=3638&amp;amp;creative=24630&amp;amp;creativeASIN=1544869177&amp;amp;linkCode=as2&amp;amp;tag=vinodkashyap-21&amp;amp;linkId=f538de099a9fcee01a9a9ed0ba4866f8&quot; target=&quot;_blank&quot;&gt;Hibernate Tips: More than 70 solutions to common Hibernate problems&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;//ir-in.amazon-adsystem.com/e/ir?t=vinodkashyap-21&amp;amp;l=am2&amp;amp;o=31&amp;amp;a=1544869177&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;
&lt;/div&gt;
&lt;br /&gt;
Share maximum. Enjoy reading the Hibernate Tips.&lt;br /&gt;
Congratulates to Thorben.&lt;br /&gt;
You can reach him&amp;nbsp;@thjanssen123 on twitter.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/2562315974140347740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2017/03/hibernate-tips-must-have-book.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/2562315974140347740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/2562315974140347740'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2017/03/hibernate-tips-must-have-book.html' title='Hibernate Tips - a must have book'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-3730607925658830615</id><published>2017-02-02T19:12:00.001+05:30</published><updated>2017-04-12T08:50:03.967+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="freemarker"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="NoSuchMethodError"/><category scheme="http://www.blogger.com/atom/ns#" term="Spring"/><title type='text'>Error while configuring Spring with FreeMarker</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today I got a strange problem while configuring &lt;a href=&quot;http://freemarker.org/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;FreeMarker&lt;/a&gt; with &lt;a href=&quot;https://projects.spring.io/spring-framework/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Spring&lt;/a&gt;. The project compiles well without any error. All seems to be fine. When I tried to run the application strangely I got following error:&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;a href=&quot;https://www.amazon.in/gp/product/9351197999/ref=as_li_tl?ie=UTF8&amp;amp;camp=3638&amp;amp;creative=24630&amp;amp;creativeASIN=9351197999&amp;amp;linkCode=as2&amp;amp;tag=vinodkashyap-21&amp;amp;linkId=454a7e082113158711542fdd398ab28a&quot; target=&quot;_blank&quot;&gt;Spring in Action, 4ed (Manning)&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;//ir-in.amazon-adsystem.com/e/ir?t=vinodkashyap-21&amp;amp;l=am2&amp;amp;o=31&amp;amp;a=9351197999&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;color: red;&quot;&gt;java.lang.NoSuchMethodError: freemarker.template.Configuration.&lt;init&gt; Lfreemarker/template/Version;)V&lt;/init&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
Now for struggling and googling for around one hour I got the answer :)&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;a href=&quot;https://www.amazon.in/gp/product/1782163824/ref=as_li_tl?ie=UTF8&amp;amp;camp=3638&amp;amp;creative=24630&amp;amp;creativeASIN=1782163824&amp;amp;linkCode=as2&amp;amp;tag=vinodkashyap-21&amp;amp;linkId=850e7ab3dcb3192fdd7fe3879058d242&quot; target=&quot;_blank&quot;&gt;Instant FreeMarker Starter&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;//ir-in.amazon-adsystem.com/e/ir?t=vinodkashyap-21&amp;amp;l=am2&amp;amp;o=31&amp;amp;a=1782163824&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
I am using &lt;b&gt;Spring&amp;nbsp;4.3.5.RELEASE&lt;/b&gt; and &lt;b&gt;FreeMarker&amp;nbsp;2.3.20 &lt;/b&gt;before I found the answer. This isstrange but the actual problem lies with the version compatibility of &lt;i&gt;FreeMarker &lt;/i&gt;with &lt;i&gt;Spring&lt;/i&gt;. It seems that &lt;i&gt;Spring&lt;/i&gt; had some issues with &lt;i&gt;FreeMarker&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
After changing the &lt;i&gt;FreeMarker&lt;/i&gt; version from &lt;b style=&quot;background-color: yellow;&quot;&gt;2.3.20&lt;/b&gt; to &lt;b&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;2.3.23&lt;/span&gt; &lt;/b&gt;all works fine.&lt;br /&gt;
Hope this solution help the developers out there configuring &lt;i&gt;FreeMarker &lt;/i&gt;with &lt;i&gt;Spring.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
Enjoy coding!&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/3730607925658830615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2017/02/error-while-configuring-spring-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/3730607925658830615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/3730607925658830615'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2017/02/error-while-configuring-spring-with.html' title='Error while configuring Spring with FreeMarker'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-6812489495694798040</id><published>2016-10-03T13:27:00.000+05:30</published><updated>2017-04-12T08:46:36.096+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="jets3t"/><category scheme="http://www.blogger.com/atom/ns#" term="s3"/><title type='text'>AWS S3 processing with JetS3t library</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this post we will see how we can use the Amazon AWS S3 to store objects. We will be using the JetS3t library to process our objects.&amp;nbsp;&lt;a href=&quot;http://www.jets3t.org/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;JetS3t&lt;/a&gt;&amp;nbsp;library also known as Jet Set, is widely used for processing the AWS S3 i.e. &lt;b&gt;Amazon Web Services, Simple Storage Service&lt;/b&gt;.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Before working on AWS S3, you need to have a valid account on AWS with S3 key and S3 password. You can register &lt;a href=&quot;https://aws.amazon.com/s3/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&amp;nbsp;free of cost.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;a href=&quot;https://www.amazon.in/gp/product/9351198758/ref=as_li_tl?ie=UTF8&amp;amp;camp=3638&amp;amp;creative=24630&amp;amp;creativeASIN=9351198758&amp;amp;linkCode=as2&amp;amp;tag=vinodkashyap-21&amp;amp;linkId=56627ff1d274cfc44906201f903f2ad3&quot; target=&quot;_blank&quot;&gt;Amazon Web Services in Action (MANNING)&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;//ir-in.amazon-adsystem.com/e/ir?t=vinodkashyap-21&amp;amp;l=am2&amp;amp;o=31&amp;amp;a=9351198758&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Here we will using 4 API of jets3t i.e.&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Upload a document&lt;/li&gt;
&lt;li&gt;Download a document&lt;/li&gt;
&lt;li&gt;Listing of documents&lt;/li&gt;
&lt;li&gt;Delete a document&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
We will upload images of user on S3 and then process them as specified above.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt;Upload&lt;/b&gt;: to upload image to the S3 we will be using &lt;i&gt;putObject&lt;/i&gt;() method of the &lt;b&gt;S3Service &lt;/b&gt;class.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Download&lt;/b&gt;: To download image we will be using &lt;i&gt;getObject&lt;/i&gt;() method of &lt;b&gt;S3Service &lt;/b&gt;class.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;List&lt;/b&gt;: To list images we will be using &lt;i&gt;listObjects&lt;/i&gt;() method of &lt;b&gt;S3Service &lt;/b&gt;class.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Delete&lt;/b&gt;: To delete image we will be using &lt;i&gt;deleteObjects&lt;/i&gt;() method of &lt;b&gt;S3Service &lt;/b&gt;class. We can also delete multiple images using &lt;i&gt;deleteMultipleObjects&lt;/i&gt;() method.&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div&gt;
Full example is available on the &lt;a href=&quot;https://github.com/vinodkashyap/javachamp/tree/master/AWS%20S3&quot; target=&quot;_blank&quot;&gt;GitHub&lt;/a&gt;. Simply download and explore it.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/6812489495694798040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2016/10/aws-s3-processing-with-jets3t-library.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/6812489495694798040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/6812489495694798040'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2016/10/aws-s3-processing-with-jets3t-library.html' title='AWS S3 processing with JetS3t library'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-5843220557973746121</id><published>2016-06-04T21:17:00.000+05:30</published><updated>2016-06-04T21:17:02.907+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="angularjs"/><category scheme="http://www.blogger.com/atom/ns#" term="bitcoic"/><category scheme="http://www.blogger.com/atom/ns#" term="blockchain"/><category scheme="http://www.blogger.com/atom/ns#" term="go"/><category scheme="http://www.blogger.com/atom/ns#" term="http/2"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="microservices"/><category scheme="http://www.blogger.com/atom/ns#" term="reactive"/><category scheme="http://www.blogger.com/atom/ns#" term="rxjava"/><title type='text'>IndicThreads &#39;16 - Day 2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In my previous &lt;a href=&quot;http://www.javachamp.in/2016/06/indicthreads-16-day-1.html&quot; target=&quot;_blank&quot;&gt;post&lt;/a&gt;&amp;nbsp;I had given details about the first day of the &lt;a href=&quot;http://pune16.indicthreads.com/&quot; target=&quot;_blank&quot;&gt;IndicThreads &lt;/a&gt;conference. Today I will try to cover sessions for 2nd day.&lt;br /&gt;
&lt;br /&gt;
The day was full of excitement as I have learned many new things. Sessions for today includes &lt;i style=&quot;color: #b45f06;&quot;&gt;Go Language, HTTP/2, MicroServices, RxJava(Reactive Programming), Bitcoin &lt;/i&gt;and &lt;i style=&quot;color: #b45f06;&quot;&gt;Blockchain.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Go Language with Angular&lt;/b&gt;&lt;br /&gt;
In this session &lt;i&gt;Navneet Karnani&lt;/i&gt;, from &lt;i&gt;Mandrake Technologies&lt;/i&gt; defines the scope of the Go language. He started with why we need a new language and how it can be used. He said that Go is a compiled language and it is also Open Sourced, so anybody can see code and change it to make it more better.&lt;br /&gt;
Session is full of code and I swear it takes a lot of effort for him to make a such a great session on Go. This session is break in 2 parts where in first part he explains about the nuisances of language and in second part he shows the integration with AngularJS&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;RxJava, Reactive Programming&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;Praveer Gupta&lt;/i&gt;, from &lt;i&gt;ThoughWorks &lt;/i&gt;who had given session on Java 8 streams on first day, again done a great job by explaining how &lt;i&gt;RxJava &lt;/i&gt;can help in building the application more powerful.&amp;nbsp;&lt;i&gt;RxJava &lt;/i&gt;is the jvm implementation of &lt;i&gt;ReactiveX&lt;/i&gt;. Behind the scenes it uses &lt;i&gt;Observer &lt;/i&gt;&amp;amp; &lt;i&gt;Iterator &lt;/i&gt;pattern to work. He gradually takes us through the code and explains each and every bit of code.&lt;br /&gt;
&lt;b&gt;Twitter&lt;/b&gt;:&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;@praveergupta&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;HTTP/2&lt;/b&gt;&lt;br /&gt;
This is a real eye opener for me. Presented by &lt;i&gt;Nilesh Naik(Technical Architect, Tata Consulting Services)&lt;/i&gt;, includes a brief history of the HTTP from beginning of internet and covers through the HTTP/2. He explains why there is a need of HTTP/2. Today when we are using HTTP1.1, we have many limitations while using internet. HTTP was originated to display simple pages and not the ads, images, css, javascripts as we are using today. Clients can make limited connections with Server and it also serves the requests in that order. until previous requests were not done no new request is sent to server. But when we use HTTP/2 then we can send multiple requests at a time. Debugging can be a issue with HTTP/2 requests as data will travel in Binary.&lt;br /&gt;
&lt;b&gt;Twitter&lt;/b&gt;:&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;@NileshRaviNaik&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;Bitcoin (Blochchain)&lt;/b&gt;&lt;br /&gt;
Session is presented by &lt;i&gt;Navin Kabra(Founder and CTO Reliscore.com)&lt;/i&gt;. He started by explaining a simple problem of authentication in real life and how this can be achieve by using the Blockchain technology. PKI, how it works and is playing a major role in today&#39;s world. Bockchain is the main technology behind the Bitcoin, the digital currency of today&#39;s era. But, it a small part of this as we can achieve much more things from this technology. He very much clarify that technology is itself great, but there is no such control of government and it may not be in its favor.&lt;br /&gt;
&lt;b&gt;Twitter&lt;/b&gt;:&amp;nbsp;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;@ngkabra&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Resilient Microservices&lt;/b&gt;&lt;br /&gt;
In this session. &lt;i&gt;Gurpreet(Director Technology - Aricent)&lt;/i&gt; exlpains the need of the time to convert all our monolith applications to micro services. He explains how we can achieve this. What things are required, how we can achieve them, what are the blockers and what all considerations to be followed while converting the monolith applications to micro services. Simple formula that he gave is start with monolith and with time we should convert application to micro services.&lt;br /&gt;
&lt;br /&gt;
Sessions were full of knowledge and I urge who so ever wants to gain knowledge should attend this conference.&lt;br /&gt;
&lt;br /&gt;
I hope you have a brief introductions of what was there in this conference. Here are the details of the conference.&lt;br /&gt;
&lt;b&gt;Twitter&lt;/b&gt;:&amp;nbsp;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;@indicthreads&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;Slides&lt;/b&gt;:&lt;a href=&quot;http://pune16.indicthreads.com/slides&quot; target=&quot;_blank&quot;&gt; http://pune16.indicthreads.com/slides&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
You can also follow me on&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;@vinodkashyap&lt;/span&gt;&lt;/b&gt; and &lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;@ChdJUG&lt;/span&gt;&lt;/b&gt; for more information related to Java and its realated technologies. Thanks for taking time to read.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/5843220557973746121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2016/06/indicthreads-16-day-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/5843220557973746121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/5843220557973746121'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2016/06/indicthreads-16-day-2.html' title='IndicThreads &#39;16 - Day 2'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-8144208594706336169</id><published>2016-06-03T22:08:00.001+05:30</published><updated>2016-06-03T22:08:38.920+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="augmented reality"/><category scheme="http://www.blogger.com/atom/ns#" term="functional programming"/><category scheme="http://www.blogger.com/atom/ns#" term="indicthreads conference java"/><category scheme="http://www.blogger.com/atom/ns#" term="iot"/><category scheme="http://www.blogger.com/atom/ns#" term="java 8"/><category scheme="http://www.blogger.com/atom/ns#" term="streams"/><title type='text'>IndicThreads &#39;16 - Day 1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today was the first day of &lt;a href=&quot;http://pune16.indicthreads.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;IndicThreads &lt;/a&gt;conference held at Pune.&lt;br /&gt;
&lt;br /&gt;
The day was full of excitement and learning. Topics that were covered today at conference are &lt;i&gt;Augmented Reality, IoT, Functional Programming, Java 8 Streams&lt;/i&gt;. Also included a session of &lt;i&gt;Fame&lt;/i&gt;, a video streaming product of India.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Augmented Reality&lt;/b&gt;&lt;br /&gt;
In this session &lt;i&gt;Kishor Himani (Director, PTC Global Services)&lt;/i&gt; explained how AR is a happening field and how we will reach and meet demands of the future. He explained about the areas where AR is creating benchmarks. Healthcare, Services, Utilities are some of the areas where AR is changing the world. AR in collaboration IoT will make a significant change in future. We can superimpose the AR with the live video. He gives an example where doctor first takes x-ray of patient and then superimpose on his body so that he knows where actually to operate.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Building Secure Connected Devices&lt;/b&gt;&lt;br /&gt;
This was the eye opener for the people who are building or try to build the IoT devices. &lt;i&gt;Kedar Sovani&lt;/i&gt;, who works in IoT at &lt;i&gt;Marvell &lt;/i&gt;for last 7 years explained very beautifully about the security threats and how we can make our devices secure. He told that their company is first to work on:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Apple HomeKit SDK and&lt;/li&gt;
&lt;li&gt;Google Weave&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
He explained how hackers connect to your devices and how you can secure your device. TLS is the main for connected device to communicate. How devices connected with WiFi, WiFi connected with Cloud, Cloud connected with cell phones and how all these connections are used. How this can be done more securily.&lt;br /&gt;
&lt;b&gt;Twitter&lt;/b&gt;:&amp;nbsp;&lt;complete id=&quot;goog_1390435177&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;@kedarsovani&lt;/b&gt;&lt;/span&gt;&lt;/complete&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Real World IoT for Enterprises&lt;/b&gt;&lt;br /&gt;
This session is presented by &lt;i&gt;Abhimanyu Prabhavalkar (VP, PAAS Develeopment, Oracle).&lt;/i&gt; He explained why we need to see the basic need of the customer, before start developing the IoT product. Making a product without actually doing a homework will make your product fail. He gives many examples where customers are not ready to accept changes and how he had convened many of them to work on next generation solutions.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;IoT Testing and Quality Assurance&lt;/b&gt;&lt;br /&gt;
This session by &lt;i&gt;Girish (SAS Research and Development India),&lt;/i&gt; explains about how the role of the tester is changing with the IoT applications. We need to have require many new skills in a next generation QA, so that he can work on testing of IoT products. He demonstrates how he had manage to test the IoT devices and what precautions and procedure to be followed while testing.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Functional Programming&lt;/b&gt;&lt;br /&gt;
This is very interesting and full of knowledge session by &lt;i&gt;Pushkar Kulkarni( IBM Runtimes, IBM India Software Labs).&lt;/i&gt; The session is about history of Functional Programming. He started with Lisp and ended with idris. The idea behind this session is to make familiar with the Functional Programming and how it evolved with the times. He had covered 8 languages: &lt;i&gt;&lt;span style=&quot;color: #b45f06;&quot;&gt;Lisp&lt;/span&gt;, &lt;span style=&quot;color: #b45f06;&quot;&gt;Erlang&lt;/span&gt;, &lt;span style=&quot;color: #b45f06;&quot;&gt;Haskell&lt;/span&gt;, &lt;span style=&quot;color: #b45f06;&quot;&gt;oCaml&lt;/span&gt;, &lt;span style=&quot;color: #b45f06;&quot;&gt;Scala&lt;/span&gt;, &lt;span style=&quot;color: #b45f06;&quot;&gt;Clojure&lt;/span&gt;, &lt;span style=&quot;color: #b45f06;&quot;&gt;Java 8&lt;/span&gt; and &lt;span style=&quot;color: #b45f06;&quot;&gt;idris&lt;/span&gt;.&lt;/i&gt;&lt;br /&gt;
&lt;b&gt;Twitter&lt;/b&gt;:&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;@pushkar_nk&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;
&lt;b&gt;Harnessing the Power of Java 8 Streams&lt;/b&gt;&lt;br /&gt;
Now this is the session which I was waiting. &lt;i&gt;Praveer Gupta&lt;/i&gt;, who works for &lt;i&gt;ThoughtWorks &lt;/i&gt;explains the power of streams in Java 8. Very clearly and with explanatory examples he explains each and every details of streams. But, he also warns about the pitfalls of using streams. If not used properly, they may decrease the performance of the application. Examples used in this sessions are very good and easily understandable by audience. I have many doubts related to streams and now &amp;nbsp;most of them are cleared. He has been working on a project which uses Java 8 streams in production.&lt;br /&gt;
&lt;b&gt;Twitter&lt;/b&gt;:&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;@praveergupta&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fame&lt;/b&gt;&lt;br /&gt;
This session by &lt;i&gt;Rishabh Jain&lt;/i&gt; of &lt;i&gt;fame.live&lt;/i&gt; explains the product they had build which is India&#39;s first online video streaming platform. He first explains how they started working on a product and what actually they are trying to make. Then he explains step by step architecture changes that they did while application use increases. How they scae their application to fulfill the demand of the customers. They also hosted the pre IIFA awards live streaming. &lt;iles for=&quot;&quot; go=&quot;&quot; p=&quot;&quot; product.=&quot;&quot; the=&quot;&quot; to=&quot;&quot;&gt;You can try using it at &lt;a href=&quot;http://www.fame.live/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
First day at the conference was great and looking forward to the second day.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/iles&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/8144208594706336169/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2016/06/indicthreads-16-day-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/8144208594706336169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/8144208594706336169'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2016/06/indicthreads-16-day-1.html' title='IndicThreads &#39;16 - Day 1'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-8356021597181333473</id><published>2015-06-16T18:35:00.001+05:30</published><updated>2017-04-12T09:02:55.311+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="junit"/><category scheme="http://www.blogger.com/atom/ns#" term="maven"/><title type='text'>JUnit issue with Eclipse and Maven</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this post I am trying to resolve one issue of JUnit with Eclipse and Maven.
Sometimes while using JUnit with Eclipse and Maven we have to face certain issues. And one of them is whenever we try to run the independent test case it will run fine and will not give any type of error. But when we run to try to compile the whole project, the same test will not compile at all. 
This is an annoying issue if someone does not know about the functionality of how Eclipse works with JUnit and Maven.
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;a href=&quot;https://www.amazon.in/gp/product/1935182021/ref=as_li_tl?ie=UTF8&amp;amp;camp=3638&amp;amp;creative=24630&amp;amp;creativeASIN=1935182021&amp;amp;linkCode=as2&amp;amp;tag=vinodkashyap-21&amp;amp;linkId=1df7efc410364d0672205514eb0ea191&quot; target=&quot;_blank&quot;&gt;JUnit in Action&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;//ir-in.amazon-adsystem.com/e/ir?t=vinodkashyap-21&amp;amp;l=am2&amp;amp;o=31&amp;amp;a=1935182021&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
Since there is such no exception seen in file, but project compilation fails due to same file it is very frustrated for developer to figure out the issue. 
I am facing this issue and found a solution by googling around many forums.&lt;br /&gt;
&lt;b&gt;
Problem&lt;/b&gt;: You have created a JUnit test case in the project and it is running fine, but fails to compile the whole project when try to build using Maven. &lt;br /&gt;
&lt;b&gt;
Solution&lt;/b&gt;: Check that the test case you have created exist in the &lt;b&gt;src/test/java&lt;/b&gt; folder and not in src/main/java. 
Very funny isn&#39;t it. Actually Maven compiles the files under &lt;b&gt;src/main/java&lt;/b&gt; to &lt;b&gt;target/classes&lt;/b&gt; and &lt;b&gt;src/test/java&lt;/b&gt; to &lt;b&gt;target/test-classes&lt;/b&gt;.&lt;br /&gt;So whenever you try to build the project it encounters the JUnit test class but it will not able to compile. So, put file in src/test/java folder and the project will run smoothly :)
&lt;br /&gt;
Thanks for reading blog.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/8356021597181333473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2015/06/junit-issue-with-eclipse-and-maven.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/8356021597181333473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/8356021597181333473'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2015/06/junit-issue-with-eclipse-and-maven.html' title='JUnit issue with Eclipse and Maven'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-2157326657534046469</id><published>2015-06-14T20:45:00.002+05:30</published><updated>2015-06-14T22:20:05.380+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><category scheme="http://www.blogger.com/atom/ns#" term="event"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><title type='text'>Java Bloggers Meet Oracle IDC Hyderabad</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Oracle India&lt;/b&gt; had organized a Java Bloggers meet on 13th Jun 2015, at their office at Hyderabad on the occasion of Java completing 20 years. I was also invited to the event which is very exciting for me. I am on cloud nine when I got invited for the event.&lt;br&gt;
&lt;br&gt;
Oracle India had celebrated the event by organizing speeches by &lt;b&gt;Sanket Atal&lt;/b&gt; - Group Vice President, R&amp;amp;D, &lt;b&gt;Harshad Oak&lt;/b&gt; - Java Champion and Oracle ACE Director, and a live demonstration by &lt;b&gt;Debraj Dutta&lt;/b&gt;, of a &lt;b&gt;Bot-So&lt;/b&gt; a robot designed by &lt;b&gt;Edifixio&lt;/b&gt; India and is based on &lt;b&gt;IoT&lt;/b&gt; and fully developed using Java 8 features like streams for concurrency.&lt;br&gt;
&lt;br&gt;
Event started by &lt;b&gt;Vandana Shenoy&lt;/b&gt; - Director Corporate Communications , by giving a small introduction about the event and a formal introduction of the speakers.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Sanket Atal&lt;/b&gt;&lt;br&gt;
The presentation by him is more like a discussion. We have discussed and have fun question answers, quiz in between it. Below are the points he discussed:&lt;br&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Java was started in 1991 under the name &lt;b&gt;Project Stealth&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;First official release was in 1995&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Duke - Java Mascot&lt;/b&gt; was released in 2007&lt;/li&gt;
&lt;li&gt;Duke is based in Linux Penguin&lt;/li&gt;
&lt;li&gt;After J2SE version 1.5, Java is known as Java SE 6&lt;/li&gt;
&lt;li&gt;Every 2 years there will be release of Java new version&lt;/li&gt;
&lt;li&gt;Oracle will not carry on the name of the Java as it is more with version numbers.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Java Champions&lt;/b&gt; is the program launched in &lt;b&gt;JavaOne&lt;/b&gt; for recognizing leaders in Developer Community&lt;/li&gt;
&lt;li&gt;Cloud is the growing rapidly&lt;/li&gt;
&lt;li&gt;Oracle will start PaaS in IoT&lt;/li&gt;
&lt;li&gt;Java is the center of computing universe&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Oracle + You = Java&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Java&lt;/b&gt; and &lt;b&gt;IoT&lt;/b&gt; are 2 buzzwords in todays world.&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;&lt;br&gt;&lt;/b&gt;
&lt;b&gt;Harshak Oak&lt;/b&gt;&lt;br&gt;
He had started his presentation or more a talk with the introduction of Java birth and then he turns to his career that how he had chosen Java as his career. He had compared Java with Bollywood actor - Shahrukh Khan, as welcoming the guys with open hands. Some of the points he covered:&lt;br&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Java is Shahrukh Khan of programming world&lt;/li&gt;
&lt;li&gt;DDLJ is released in same year as Java :)&lt;/li&gt;
&lt;li&gt;Most languages are born near to same year.&lt;/li&gt;
&lt;li&gt;Java has a very warm and welcoming culture.&lt;/li&gt;
&lt;li&gt;Java has had the opensource spirit from Day 1&lt;/li&gt;
&lt;li&gt;Java presenting the IoT platform for development will be a game changer&lt;/li&gt;
&lt;li&gt;Java bloggers have a great responsibility for carrying a warm culture to the future developers&lt;/li&gt;
&lt;li&gt;Java bloggers are the face of the Java&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;&lt;br&gt;&lt;/b&gt;
&lt;b&gt;Debraj Dutta - Edifixio India&lt;/b&gt;&lt;br&gt;
Edifixio India represents the robot they have developed based on Java and IoT. They have won the open challenge on IoT in 2014 organized by Oracle. Below are the commands/things that &lt;b&gt;Bot-So&lt;/b&gt;, the name given to their robot follows:&lt;br&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;It is based on &lt;b&gt;Raspberry Pie board, Twitter4J, Google Drive &lt;/b&gt;and&lt;b&gt; Java 8.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;It connects to the internet using Wi-Fi and twitter commands.&lt;/li&gt;
&lt;li&gt;Sends welcome message when it is started&lt;/li&gt;
&lt;li&gt;Sense the&amp;nbsp;&lt;span style=&quot;-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);&quot;&gt;room&amp;nbsp;&lt;/span&gt;temperature&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Take pictures and videos by a simple command and then uploads the to Google Drive and shared the URL privately with the authorized user.&lt;/li&gt;
&lt;li&gt;Secure itself and motion sensor detects the motion and send the picture to authorized user.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/Zirak/SO-ChatBot&quot; target=&quot;_blank&quot;&gt;GitHub&lt;/a&gt;&amp;nbsp;URL for code&lt;/li&gt;
&lt;/ul&gt;
At the end of the event Java Cake was cut by &lt;b&gt;Sanket Atal&lt;/b&gt;.&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIoFonb96Q9IcUS-aMXuaTLUghJ9rSHsJKQIcpfliSB-TCVp6aiMnh-BLq_SCUd6eCVRvwSL_hKkLw-CCX4wxF2MWxcLf0CO84N26QL-3-16we55Pv-RIOAlWdJ4fYfToS9CEtDA-zY9QL/s1600/FullSizeRender.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIoFonb96Q9IcUS-aMXuaTLUghJ9rSHsJKQIcpfliSB-TCVp6aiMnh-BLq_SCUd6eCVRvwSL_hKkLw-CCX4wxF2MWxcLf0CO84N26QL-3-16we55Pv-RIOAlWdJ4fYfToS9CEtDA-zY9QL/s320/FullSizeRender.jpg&quot; width=&quot;320&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br&gt;&lt;/div&gt;
We have also have some video bytes where all bloggers have their thoughts on Java and its future.&lt;br&gt;
Below is the group photograph at end of the event&lt;br&gt;
&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrLIbeM4Cy-GYX9UIMk1kPWemx3BsyJI5hXmxpubM6c9Q7WeGTLiRdY46J5P4LK97IQ-_DV0mBWgaj9TsEkbscnpSVGcuwscfdcLRX5Tnrvx6NfUHsvK38sx-sSZ5ItsFESDzz5jdeuSGE/s1600/IMG_1572.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrLIbeM4Cy-GYX9UIMk1kPWemx3BsyJI5hXmxpubM6c9Q7WeGTLiRdY46J5P4LK97IQ-_DV0mBWgaj9TsEkbscnpSVGcuwscfdcLRX5Tnrvx6NfUHsvK38sx-sSZ5ItsFESDzz5jdeuSGE/s320/IMG_1572.JPG&quot; width=&quot;240&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
In all, it is great event to attend and love to attend the same in future. I had learned a lot from it and a lot of inspiration thoughts from great leader Harshad Oak.&lt;br&gt;
&lt;br&gt;
Here are the twitter handles of all the above mentioned people if anyone wants to follow.&lt;br&gt;
@SanketAtal&lt;br&gt;
@vandanashenoy&lt;br&gt;
@HarshadOak&lt;br&gt;
@zambiguity&lt;br&gt;
@Oracle_India&lt;br&gt;
@vinodkashyap&lt;br&gt;
&lt;br&gt;
Thanks for reading this blog. Comments are welcome :)&lt;br&gt;
&lt;br&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/2157326657534046469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2015/06/java-bloggers-meet-oracle-idc-hyderabad.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/2157326657534046469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/2157326657534046469'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2015/06/java-bloggers-meet-oracle-idc-hyderabad.html' title='Java Bloggers Meet Oracle IDC Hyderabad'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIoFonb96Q9IcUS-aMXuaTLUghJ9rSHsJKQIcpfliSB-TCVp6aiMnh-BLq_SCUd6eCVRvwSL_hKkLw-CCX4wxF2MWxcLf0CO84N26QL-3-16we55Pv-RIOAlWdJ4fYfToS9CEtDA-zY9QL/s72-c/FullSizeRender.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-1653334439147480790</id><published>2015-06-01T20:40:00.001+05:30</published><updated>2015-06-01T20:40:51.664+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>20 year celebration of Java</title><content type='html'>We at Chandigarh celebrated Java&#39;s 20th birthday on 23rd May. This was the first time that @ChdJUG had celebrated this event. It is very enjoyable and memorable event.&lt;div&gt;&lt;br&gt;&lt;div&gt;We had enjoyed a lot and cut a special cake on this occasion.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSIMMwWGg37SXEpX58p_yQrdRBbBGefuU6aTESoTs1t4fyBGaSqiaBj0FoAw148Lhr12u1Kb90kzqIn8vO9n9SgeMvdbwKC5OFoJ_pxtru6YulGIFQXUwr8zDzfjYnraRnJnV4G2UWcFdG/s640/blogger-image-1210714139.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSIMMwWGg37SXEpX58p_yQrdRBbBGefuU6aTESoTs1t4fyBGaSqiaBj0FoAw148Lhr12u1Kb90kzqIn8vO9n9SgeMvdbwKC5OFoJ_pxtru6YulGIFQXUwr8zDzfjYnraRnJnV4G2UWcFdG/s640/blogger-image-1210714139.jpg&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;We hope to increase our community at Chandigarh and next year I am sure it will be bigger one :)&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;You can follow me on Twitter @vinodkashyap and Chandigarh JUG @ChdJUG for more updates.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/1653334439147480790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2015/06/20-year-celebration-of-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/1653334439147480790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/1653334439147480790'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2015/06/20-year-celebration-of-java.html' title='20 year celebration of Java'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSIMMwWGg37SXEpX58p_yQrdRBbBGefuU6aTESoTs1t4fyBGaSqiaBj0FoAw148Lhr12u1Kb90kzqIn8vO9n9SgeMvdbwKC5OFoJ_pxtru6YulGIFQXUwr8zDzfjYnraRnJnV4G2UWcFdG/s72-c/blogger-image-1210714139.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-5207433884355591193</id><published>2015-05-27T18:32:00.002+05:30</published><updated>2017-04-12T09:07:11.053+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="REST"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Services"/><title type='text'>RESTful Web Services - POST, PUT, GET, DELETE</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Web services are very common these days as everything or most of the implementation is now API based. Every social network is providing API for fetching their data. Like if you take a case of TWITTER, it provides it&#39;s API to fetch different data related to user or for analytic. There are 2 types of web services namely:&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;SOAP&lt;/li&gt;
&lt;li&gt;REST&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;SOAP &lt;/b&gt;is based on WSDL and return data in XML format. But I will not talk about it here. I will be discussing about &lt;b&gt;REST&lt;/b&gt;, an acronym for &lt;b&gt;RE&lt;/b&gt;presentational &lt;b&gt;S&lt;/b&gt;tate &lt;b&gt;T&lt;/b&gt;ransfer methods. RESTful web services are very simple to learn and implement. They are basically stateless. It is based on HTTP URI and everything is implemented using URL. In this post I will explain about the four methods that are used with REST.&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;POST&lt;/li&gt;
&lt;li&gt;PUT&lt;/li&gt;
&lt;li&gt;GET&lt;/li&gt;
&lt;li&gt;DELETE&lt;/li&gt;
&lt;/ul&gt;
Let&#39;s dive deep into each of these methods of the REST.&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;&lt;a target=&quot;_blank&quot; href=&quot;https://www.amazon.in/gp/product/1847196462/ref=as_li_tl?ie=UTF8&amp;camp=3638&amp;creative=24630&amp;creativeASIN=1847196462&amp;linkCode=as2&amp;tag=vinodkashyap-21&amp;linkId=74e2b559ba6d01f49ca880700aff690e&quot;&gt;RESTful Java Web Services: Master Core REST Concepts and Create RESTful Web Services in Java&lt;/a&gt;&lt;img src=&quot;//ir-in.amazon-adsystem.com/e/ir?t=vinodkashyap-21&amp;l=am2&amp;o=31&amp;a=1847196462&quot; width=&quot;1&quot; height=&quot;1&quot; border=&quot;0&quot; alt=&quot;&quot; style=&quot;border:none !important; margin:0px !important;&quot; /&gt;&lt;/div&gt;
&lt;br/&gt;
&lt;b&gt;POST&lt;/b&gt;&lt;br /&gt;
It is used for creating a new entity. It is basically used with form i.e. whenever we want to submit data.&lt;br /&gt;
&lt;b&gt;Ex&lt;/b&gt;: &lt;i&gt;POST /items&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PUT&lt;/b&gt;&lt;br /&gt;
It is doing same thing as POST but it usually used for updating entity.&lt;br /&gt;
&lt;b&gt;Ex&lt;/b&gt;: &lt;i&gt;PUT /items/itemid&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;GET&lt;/b&gt;&lt;br /&gt;
This is the method that is used mostly in REST. It will fetch data from back end. The data can be returned in any of the forms like XML, JSON, PDF etc.&lt;br /&gt;
&lt;b&gt;Ex&lt;/b&gt;: &lt;i&gt;GET /items&lt;/i&gt; (fetching multiple items)&lt;br /&gt;
&lt;i&gt;GET /items/itemid&lt;/i&gt; (fetching a single item)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;DELETE&lt;/b&gt;&lt;br /&gt;
Yes, as already guessed from the name it is used to delete the record.&lt;br /&gt;
&lt;b&gt;Ex&lt;/b&gt;: &lt;i&gt;DELETE /items/itemid&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Helpful Resources&lt;/b&gt;:&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://jersey.java.net/&quot; target=&quot;_blank&quot;&gt;Jersey&lt;/a&gt;&amp;nbsp;&lt;/b&gt;is the reference implementation of the JAX RS 2.0 (JSR 339).&lt;br /&gt;
&lt;div align&quot;center&quot;&gt;&lt;a target=&quot;_blank&quot; href=&quot;https://www.amazon.in/gp/product/1783288299/ref=as_li_tl?ie=UTF8&amp;camp=3638&amp;creative=24630&amp;creativeASIN=1783288299&amp;linkCode=as2&amp;tag=vinodkashyap-21&amp;linkId=736fc2e03ccd4dd2b693f6f7c3a2847e&quot;&gt;Developing Restful Web Services with Jersey 2.0&lt;/a&gt;&lt;img src=&quot;//ir-in.amazon-adsystem.com/e/ir?t=vinodkashyap-21&amp;l=am2&amp;o=31&amp;a=1783288299&quot; width=&quot;1&quot; height=&quot;1&quot; border=&quot;0&quot; alt=&quot;&quot; style=&quot;border:none !important; margin:0px !important;&quot; /&gt;&lt;/div&gt;&lt;br/&gt;
&lt;b&gt;POSTMAN &lt;/b&gt;It is very good light weight client for testing RESTful web services for Google Chrome and can be downloaded from &amp;nbsp;&lt;a href=&quot;https://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=2&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=0CCUQFjAB&amp;amp;url=https%3A%2F%2Fchrome.google.com%2Fwebstore%2Fdetail%2Fpostman-rest-client%2Ffdmmgilgnpjigdojojpjoooidkmcomcm%3Fhl%3Den&amp;amp;ei=h7ZlVe2IGobiuQTk34OYDQ&amp;amp;usg=AFQjCNHaecLwAKk91gpdCY_y1x_ViIrHwQ&amp;amp;sig2=2nvynwdYvfgm7Z8m8y29xQ&amp;amp;bvm=bv.93990622,d.c2E&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Hope you enjoyed it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/5207433884355591193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2015/05/restful-web-services-post-put-get-delete.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/5207433884355591193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/5207433884355591193'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2015/05/restful-web-services-post-put-get-delete.html' title='RESTful Web Services - POST, PUT, GET, DELETE'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-2536563162856362149</id><published>2015-04-13T20:12:00.001+05:30</published><updated>2015-04-13T20:14:49.505+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="sts"/><category scheme="http://www.blogger.com/atom/ns#" term="SVN"/><title type='text'>Reset username for SVN in eclipse</title><content type='html'>&lt;pre style=&quot;word-wrap: break-word;&quot;&gt;&lt;font face=&quot;Helvetica Neue Light, HelveticaNeue-Light, helvetica, arial, sans-serif&quot;&gt;&lt;span style=&quot;white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);&quot;&gt;Sometimes we want to change the username and password for the SVN access in Eclipse or Spring Tools Suite. But it does not asks for it.
There is a very easy way of doing this. You can easily find out the solution on google :). I am writing here again to save to my memory.
The solution is for &lt;i&gt;Windows&lt;/i&gt; platform and tried and tested on Windows 7.&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre style=&quot;word-wrap: break-word;&quot;&gt;&lt;font face=&quot;Helvetica Neue Light, HelveticaNeue-Light, helvetica, arial, sans-serif&quot;&gt;&lt;span style=&quot;white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);&quot;&gt;Here is the path where you need to delete one folder to do the same.&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre style=&quot;word-wrap: break-word;&quot;&gt;&lt;font face=&quot;Helvetica Neue Light, HelveticaNeue-Light, helvetica, arial, sans-serif&quot;&gt;&lt;span style=&quot;white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);&quot;&gt;1. First close Eclipse/STS if your had open it. Some times without closing first it will not work.&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre style=&quot;word-wrap: break-word;&quot;&gt;&lt;font face=&quot;Helvetica Neue Light, HelveticaNeue-Light, helvetica, arial, sans-serif&quot;&gt;&lt;span style=&quot;white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);&quot;&gt;2. Go to &lt;i&gt;C:\Users\&amp;lt;username&amp;gt;\AppData\Roaming\Subversion\auth&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre style=&quot;word-wrap: break-word;&quot;&gt;&lt;font face=&quot;Helvetica Neue Light, HelveticaNeue-Light, helvetica, arial, sans-serif&quot;&gt;&lt;span style=&quot;white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);&quot;&gt;3. Delete &lt;i&gt;&lt;b&gt;svn.simple&lt;/b&gt;&lt;/i&gt; folder&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre style=&quot;word-wrap: break-word;&quot;&gt;&lt;font face=&quot;Helvetica Neue Light, HelveticaNeue-Light, helvetica, arial, sans-serif&quot;&gt;&lt;span style=&quot;white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);&quot;&gt;4. That&#39;s it.

Now when you restart your IDE and go to SVN it will again ask you for credentials.&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre style=&quot;word-wrap: break-word;&quot;&gt;&lt;font face=&quot;Helvetica Neue Light, HelveticaNeue-Light, helvetica, arial, sans-serif&quot;&gt;&lt;span style=&quot;white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);&quot;&gt;&lt;b&gt;Note&lt;/b&gt;: AppData folder is hidden and not viewed by default. To make it visible follow below steps:&amp;nbsp;
&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre style=&quot;word-wrap: break-word;&quot;&gt;&lt;font face=&quot;Helvetica Neue Light, HelveticaNeue-Light, helvetica, arial, sans-serif&quot;&gt;&lt;span style=&quot;white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);&quot;&gt;1. C:\Users\&amp;lt;username&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre style=&quot;word-wrap: break-word;&quot;&gt;&lt;font face=&quot;Helvetica Neue Light, HelveticaNeue-Light, helvetica, arial, sans-serif&quot;&gt;&lt;span style=&quot;white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);&quot;&gt;2. Go to menu Tools --&amp;gt; Folder Options --&amp;gt; View Tab --&amp;gt; Click Show hidden files, folders and drives under Hidden Files and Folders.&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre style=&quot;word-wrap: break-word;&quot;&gt;&lt;font face=&quot;Helvetica Neue Light, HelveticaNeue-Light, helvetica, arial, sans-serif&quot;&gt;&lt;span style=&quot;white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);&quot;&gt;Happy Coding :)&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/2536563162856362149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2015/04/reset-username-for-svn-in-eclipse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/2536563162856362149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/2536563162856362149'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2015/04/reset-username-for-svn-in-eclipse.html' title='Reset username for SVN in eclipse'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-6445856877425976662</id><published>2015-02-09T11:43:00.001+05:30</published><updated>2015-02-09T11:46:46.330+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="indicthreads conference java"/><title type='text'>IndicThreads Conference Pune &amp;#39;15&#xa;</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;This is one of my favorite Java conferences in India that everyone wants attend for sure. Most of the time it is based on the &lt;b&gt;Java&lt;/b&gt;, but this time it is going far behind with &lt;b&gt;IoT, Big Data, Cloud&lt;/b&gt; and many more interseting sessions as well. Sessions are great and speakers too. &lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;Conference is great and people loved to join it. You will learn a lot of new things and get to know about the industry. It enhances your vision to view the future. You will get a chance to meet the great brains behind the great innovations in the industry.&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;This conference is organized by India&#39;s first &quot;&lt;b&gt;Java Champion Harshak Oak&lt;/b&gt;&quot;. He is very nice and humble guy. I had meet him before and he always answer your queries without any hesitation and a smile on his face :)&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;Visit the conference website: &lt;a href=&quot;http://pune15.indicthreads.com/&quot;&gt;http://pune15.indicthreads.com/&lt;/a&gt;&lt;br&gt;
See the sessions here: &lt;a href=&quot;http://pune15.indicthreads.com/category/sessions/&quot;&gt;http://pune15.indicthreads.com/category/sessions/&lt;/a&gt;&lt;br&gt;
See the speakers here: &lt;a href=&quot;http://pune15.indicthreads.com/category/speakers/&quot;&gt;http://pune15.indicthreads.com/category/speakers/&lt;/a&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;I am going with 2 of my friends. I had attend it before 2 times and this is my third.&lt;br&gt;
Come and enjoy the conference. Lets meet and make our career future proof&lt;/p&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/6445856877425976662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2015/02/indicthreads-conference-pune.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/6445856877425976662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/6445856877425976662'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2015/02/indicthreads-conference-pune.html' title='IndicThreads Conference Pune &amp;#39;15&#xa;'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-5963155958960638979</id><published>2015-01-15T21:28:00.001+05:30</published><updated>2017-02-28T12:44:39.241+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="pattern"/><category scheme="http://www.blogger.com/atom/ns#" term="singleton"/><title type='text'>Singleton Pattern revisited</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
As the name suggest, Singleton Pattern restricts to the creation of &lt;b&gt;one and only one object&lt;/b&gt; of a class. This is very useful whenever we want to restrict the creation of an object to &lt;b&gt;single instance&lt;/b&gt;. This is very small and sweet type pattern that is used in many cases.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Let&#39;s take an example and see how it is used in the code&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;pre class=&quot;brush: java;highlight: [2, 4, 7, 8]&quot;&gt;
public class SingleObject {
 private static SingleObject singleObject;

 private SingleObject() {
 }

 public static SingleObject createInstance() {
  if (singleObject == null) {
   singleObject = new SingleObject();
  }
  return singleObject;
 }
}&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Line by line explanation&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;b&gt;Line 2&lt;/b&gt;: creates private instance of the class&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;b&gt;Line 4&lt;/b&gt;: constructor is private, so that no outer class can create object of this class&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;b&gt;Line 7&lt;/b&gt;: creating a static method to get an instance of the class. We have defined method as static so that we don&#39;t need to create a object to call this method. Since it is static we can call this method by name of the class i.e. &lt;i&gt;SingleObject.createInstance()&lt;/i&gt;.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;b&gt;Line 8&lt;/b&gt;: if object is null then we will create an object of the class else we will return the previous one.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Now, this type of initialization of class is known as the classic style for Singleton.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Here, we can say that this may fail i.e. single object concept, in the multi-threaded environment. For this, we make the method synchronized. This will change something like&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;pre class=&quot;brush: java;&quot;&gt;
public static synchronize createInstance(){
&lt;/pre&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Some of you think that it will be overhead as it will take more memory and so. But does it really affect it, because this will call only once at the time of creation of the object and not always.&lt;br /&gt;
This type of initialization of class is known as the thread-safe style for Singleton.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
We can also make the object early by changing the line no 2&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;pre class=&quot;brush: java;&quot;&gt;
private static SingleObject singleObject = new SingleObject();
&lt;/pre&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
This is called &lt;i&gt;eager initialization&lt;/i&gt; of the object. In this case, object is already created and whenever thread tries to call it will simply return the object. It all depends on what conditions are you building the class or calling it.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Hope everything is clear :).&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/5963155958960638979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2015/01/singleton-pattern-revisited.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/5963155958960638979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/5963155958960638979'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2015/01/singleton-pattern-revisited.html' title='Singleton Pattern revisited'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-2206386079135124126</id><published>2014-09-04T15:01:00.000+05:30</published><updated>2014-09-04T15:01:02.709+05:30</updated><title type='text'>Chandigarh Java User Group</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Its a long time I have written about any new things in Java. But few days back I had started working on starting a JUG in my local city Chandigarh. I had seen people in Chandigarh specially freshers not able to grasp a good knowledge of the Java and related technologies. They even don&#39;t know about the latest technologies and what is happening in the world of Java.&lt;br /&gt;
&lt;br /&gt;
So I finally thought of starting a JUG namely Chandigarh Java User Group. I want to organize a JUG meet as soon as possible in the city. So anyone can join and start working on that side. I am very much influenced by &lt;a href=&quot;https://twitter.com/HarshadOak&quot; target=&quot;_blank&quot;&gt;@HarshakOak&lt;/a&gt; who is a Java Champion and organizes many Java events like the indicThreads. I had gone to attend those meetups some time. There you will get a lot of knowledge about what is happening around the world in the field of Java&lt;br /&gt;
&lt;br /&gt;
Some of you wanted know about the procedure of joining the JUG. its pretty simple.&lt;br /&gt;
Join &lt;a href=&quot;http://www.java.net/&quot; target=&quot;_blank&quot;&gt;java.net&lt;/a&gt; and then go to &lt;a href=&quot;https://java.net/projects/chdjug&quot; target=&quot;_blank&quot;&gt;Chandigarh Java User Group&lt;/a&gt; and join it.&lt;br /&gt;
There is also a official site of it. &lt;a href=&quot;http://www.chdjug.com/&quot;&gt;http://www.chdjug.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
You can also follow the group on twitter:&amp;nbsp;&lt;a href=&quot;https://twitter.com/ChdJUG&quot; target=&quot;_blank&quot;&gt;@ChdJUG&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/2206386079135124126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2014/09/chandigarh-java-user-group.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/2206386079135124126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/2206386079135124126'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2014/09/chandigarh-java-user-group.html' title='Chandigarh Java User Group'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-4584701936252361224</id><published>2012-04-25T10:28:00.000+05:30</published><updated>2017-02-28T12:56:10.056+05:30</updated><title type='text'>How to handle autocomplete in browsers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Sometimes we face a problem while opening forms. There are some&amp;nbsp;fields&amp;nbsp;in the form that are always pre-filled whenever that form is opened.&amp;nbsp;This is&amp;nbsp;because&amp;nbsp;of the auto-fill&amp;nbsp;feature&amp;nbsp;of the browser.&lt;br /&gt;
&lt;br /&gt;
To solve that simple put the &lt;b&gt;autocomplete=&quot;off&quot;&lt;/b&gt; in form tag like below:&lt;br /&gt;&lt;br /&gt;

&lt;pre class=&quot;brush: xml&quot;&gt;&amp;lt;form name=&quot;frmUser&quot; method=&quot;post&quot; action=&quot;test&quot; autocomplete=&quot;off&quot;&amp;gt;
&lt;b&gt;Name&lt;/b&gt; :&amp;nbsp;&amp;lt;input type=&quot;text&quot; name=&quot;name&quot; /&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/pre&gt;&lt;br /&gt;

According to the mozilla &lt;a href=&quot;https://developer.mozilla.org/en/How_to_Turn_Off_Form_Autocompletion&quot;&gt;https://developer.mozilla.org/en/How_to_Turn_Off_Form_Autocompletion&lt;/a&gt;&amp;nbsp;this happens because we are using the the two fileds in our form i.e. &lt;b&gt;NAME&lt;/b&gt; and &lt;b&gt;ADDRESS.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Like in the above form we have used the label &lt;b&gt;Name&lt;/b&gt;. To resolve this issue we can do the following:&lt;br /&gt;
Simply include the name using span as below&lt;br /&gt;
&lt;br /&gt;

&lt;pre class=&quot;brush: xml&quot;&gt;
&amp;lt;form name=&quot;frmUser&quot; method=&quot;post&quot; action=&quot;test&quot; autocomplete=&quot;off&quot;&amp;gt;
&amp;lt;&lt;b&gt;Name&lt;/b&gt; :&amp;nbsp;&amp;lt;input type=&quot;text&quot; name=&quot;abc&quot; /&amp;gt;
&amp;lt;/form&amp;gt;&lt;/pre&gt;&lt;br /&gt;

So, before making forms to production make sure to change the &lt;b&gt;NAME&lt;/b&gt; and &lt;b&gt;ADDRESS&lt;/b&gt; like above&lt;br /&gt;
Enjoy the autocomplete=&quot;off&quot; :)&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/4584701936252361224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2012/04/how-to-handle-autocomplete-in-browsers.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/4584701936252361224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/4584701936252361224'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2012/04/how-to-handle-autocomplete-in-browsers.html' title='How to handle autocomplete in browsers'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-801178762456444442</id><published>2010-12-21T09:30:00.000+05:30</published><updated>2010-12-21T09:30:08.296+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="indic"/><category scheme="http://www.blogger.com/atom/ns#" term="indicthreads conference java"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>IndicThreads Java Conference 2010</title><content type='html'>This is my second consecutive Java conference&amp;nbsp;from IndicThreads. Here are some of the topics and the speakers who had share their valuable information. The conference is great and I recommend all to visit it once and see the difference&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Harshad Oak&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk24C-7tDulNNFqu4O3vEgWSeLvG1lruQpKYt8OSCQxAtf_N0j8uC0VYWF-thxla7zBJZtaARQhc-I3zMVeZab8LYL1Ya2ViHncmsbYXTNAKUIKfgmNatfAM6lN-3ji1QxixA3JxaPimS1/s1600/168.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk24C-7tDulNNFqu4O3vEgWSeLvG1lruQpKYt8OSCQxAtf_N0j8uC0VYWF-thxla7zBJZtaARQhc-I3zMVeZab8LYL1Ya2ViHncmsbYXTNAKUIKfgmNatfAM6lN-3ji1QxixA3JxaPimS1/s200/168.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Harshad is the man of few words. He is the organizer and owner of the indicthreads conference.&amp;nbsp;He is the Java Champion and Oracle Ace.&lt;br /&gt;
&lt;br /&gt;
He started conference with the topic &lt;b&gt;Java: Riding the Change&lt;/b&gt; where he discusses the changing the nature of the Java. What is around the corner and what Java guys need to be in mind in the coming time.&lt;br /&gt;
&lt;br /&gt;
He discusses the language changes and the Oracle view on the Java.&lt;br /&gt;
He had given his experienced thought on the many of the scripting languages like groovy, jython etc. He clarifies that the place of Java is more superior to any of the other languages. Java superiority will be continued.&lt;br /&gt;
&lt;br /&gt;
He had also told about the 5 - 95 rule which says that 5% of the people think java will be lost in the near future and rest 95% think opposite. There is a drop in the cool quotient among the new developers which led to uncertainty.&lt;br /&gt;
&lt;br /&gt;
JavaFX is good upcoming scripting language and is good to try but is definitely not to rely upon.&lt;br /&gt;
All in all the good news that Java will rock in the future and will be a dominant language.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Saager Mhatre&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrlRz0-hTd7jwTOac4IDcs2MvW3z3dFgpw60nIva8wwORIEitBueOJy7Ppq9bUkfjin65NBy9Q92UBteJjlJwqodTI7fE7kT10Oo4kdVFufY8JQcdIn9EayTuCBvJYH-X77XIuVh9MpdXb/s1600/174.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrlRz0-hTd7jwTOac4IDcs2MvW3z3dFgpw60nIva8wwORIEitBueOJy7Ppq9bUkfjin65NBy9Q92UBteJjlJwqodTI7fE7kT10Oo4kdVFufY8JQcdIn9EayTuCBvJYH-X77XIuVh9MpdXb/s200/174.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;Saager, the confident guy with glasses demonstrates the &lt;b&gt;Domain Specific languages (DSL’s) with Groovy&lt;/b&gt;. DSL’s are the languages that are target to a particular type of domain. Many new languages are coming out that in the same way as Groovy.&lt;br /&gt;
&lt;br /&gt;
Why do we need domain specific languages? In answer to this question Saager explains that these languages provide better domain-expert interactions and help in improved developer productivity.&lt;br /&gt;
&lt;br /&gt;
After that he started a brief introduction about the Groovy. He beautifully explains how we can change the code from Java to Groovy. His main focus is on the Groovy and how it can be used as the DSL. &lt;br /&gt;
&lt;br /&gt;
The use of Groovy helps to reduce the code at the minimum and with the more readability. He also demonstrates the example of Java and then step by step converting it to the Groovy.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Aniket Shaligram&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAVZ-SXWH6ddkMu0wM65WxdmtSb57eIDgeLGM-Yxi0G2i9HnTzBf7KDchUIuLqmHNOo1a4VzAZcYVN89g5putEheoPZgDdkSvF-d27X9euaFFLX2dQc73BG_Fyw-zW2CG1xDfetgmplBcG/s1600/175.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAVZ-SXWH6ddkMu0wM65WxdmtSb57eIDgeLGM-Yxi0G2i9HnTzBf7KDchUIuLqmHNOo1a4VzAZcYVN89g5putEheoPZgDdkSvF-d27X9euaFFLX2dQc73BG_Fyw-zW2CG1xDfetgmplBcG/s200/175.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;Aniket is another confident and young guy who holds the session on &lt;b&gt;Flex on Grails&lt;/b&gt;. He started explaining the use of Rich Internet Applications (RIA) &lt;br /&gt;
&lt;br /&gt;
Why should we use RIA applications? Better user experience and No browser compatibility issue are two of the reasons for that. Flex is best for the RIA application for front end. After that he started with Flex details and some good example of it. &lt;br /&gt;
&lt;br /&gt;
Basically the example which he explained was from the adobe site. The example demonstrates the basic CRUD functionality. This example is very good and I love it.&amp;nbsp;Then he explained the why Flex is better than Silverlight and JavaFX. Maturity is one of the main reasons why Flex has taken lead.&lt;br /&gt;
&lt;br /&gt;
After that he turned to the Grails and started talking about why it should be used. Some of the reasons what he had explained are: Grails is Java based, it is Groovy based and it follows the policy of DRY i.e. Don’t Repeat Yourself.&lt;br /&gt;
&lt;br /&gt;
He had explained about the security plug-in and scaffolding plug-in of the Grails that help the developers with the coding part. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Jagdeesh&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-3Mw75zDQQN-n-vGIloSUv6bwre2fibK7E4bbNsU6WkYmGUvO_2rmNZ5qiLy54K-dAOvvFU8f6vthAVYuF_4WFFXZFPcnS7Jzp4p5f6LFAquggT4Erm9gb5QfYFTjTL3nAGHou1HO-eXl/s1600/179.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-3Mw75zDQQN-n-vGIloSUv6bwre2fibK7E4bbNsU6WkYmGUvO_2rmNZ5qiLy54K-dAOvvFU8f6vthAVYuF_4WFFXZFPcnS7Jzp4p5f6LFAquggT4Erm9gb5QfYFTjTL3nAGHou1HO-eXl/s200/179.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;Jagdeesh the very talented guy from Sun Microsystems which is now Oracle presented the talk on the &lt;b&gt;JavaEE 6 – Deep Dive&lt;/b&gt;. He had an experience of around 9 years. This can be seen from the way he is giving the session. I love the way and the knowledge he shares with the audience.&lt;br /&gt;
&lt;br /&gt;
He told that JavaEE implementations are done by the two main players i.e. Glassfish and the TmaxSoft. Whenever JavaEE versioned is released there is a TCK is launched i.e. Technology Compatibility Kit that specifies that the follows all the standards.&lt;br /&gt;
&lt;br /&gt;
He had described some of the best features of the JavaEE6 like Servlets 3.0 which can be used as asynchronized way. Now from JavaEE6 onwards the web.xml is optional and it is up to the developer to use it or not. We can specifies the annotations in the servlet itself that will tell them there URL pattern and name which is earlier done in web.xml .&lt;br /&gt;
&lt;br /&gt;
The use of JavaEE6 in the application makes it more fast and scalable. In between the session Jagdeesh also shows the demo of the new features which were recorded by the Arun Gupta. The session continues for 2 hours but the way he delivers it does not count for it. &lt;br /&gt;
&lt;br /&gt;
Many questions arised from the audience that why we should use the JavaEE6 as Spring provides most the things in better way. But Jagdeesh explains that with the new version of the Spring some of the functionalities will change and the old functionalities will stop working but in case of JavaEE6 this will not happen.&lt;br /&gt;
JavaEE6 is based on standards that are plus point which will help the lower versions of the software to be worked with the newer versions.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Santosh Kumar&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTCLBKJTs-VWp8JbnOag0mChcANcHy-5LGLpYaIxZy9h4SO0xD1Hh0wCdrS174NdMGLSIX9sK5dRjc-Vmo8pGuS8gltx8CltWAvgjmj_QbGpdioJWCtYtNCgJnPjL2RRm2kZZtjhDySAaU/s1600/182.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTCLBKJTs-VWp8JbnOag0mChcANcHy-5LGLpYaIxZy9h4SO0xD1Hh0wCdrS174NdMGLSIX9sK5dRjc-Vmo8pGuS8gltx8CltWAvgjmj_QbGpdioJWCtYtNCgJnPjL2RRm2kZZtjhDySAaU/s200/182.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;b&gt;Why OSGi matters for Enterprise Java infrastructures&lt;/b&gt; is the session on which Santosh talks. OSGi stands for Open Services Gateway initiative. He started by simply asking question what is OSGi? &lt;br /&gt;
&lt;br /&gt;
Everyone knows (at least the people working in eclipse) that eclipse is based on the OSGi. It basically shows how we can make the application in more modular way.&lt;br /&gt;
&lt;br /&gt;
Sometimes when we make some modules in the application which are good for that time but in future they might not be that good. &lt;br /&gt;
&lt;br /&gt;
Is there any way that we make the application work correctly by changing the modules without disturbing the functionality of the previous running application? Now Java does not provide this type of functionality and the Java guys are working very hard to make it more modular. There is a project named Jigsaw which will be integrated into the Java 8 as per the Oracle.&lt;br /&gt;
&lt;br /&gt;
This project helps the Java to be more modules driven. How OSGi handles this? In eclipse whenever we deploy a new plug-in it automatically picks it up. OSGi handles it by making the modules and there is a META-INF file each module which tells about the version number and the dependencies which it is depends upon.&lt;br /&gt;
&lt;br /&gt;
Developing applications using OSGi makes faster and module driven which will help developers to develop the code.&amp;nbsp;More information on OSGi can be gathered from &lt;a href=&quot;http://www.osgi.org/&quot;&gt;http://www.osgi.org&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Venkat L&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx-GcS3DbLcHBMDpd_4l9WxBjlXtzdJa-UKc-OKTZMDFfusUjGhxCiE5FNNuw6Dry48Yh6vnRto6urfQZbFSca366z2UP_mkvcX8p1p5-6z8dhPAB2AiF5AA4vnci4HmFcLIzekaksDwWT/s1600/187.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx-GcS3DbLcHBMDpd_4l9WxBjlXtzdJa-UKc-OKTZMDFfusUjGhxCiE5FNNuw6Dry48Yh6vnRto6urfQZbFSca366z2UP_mkvcX8p1p5-6z8dhPAB2AiF5AA4vnci4HmFcLIzekaksDwWT/s200/187.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;Venkat is from IBM Bangalore and is experienced guy. He is very confident about what he is presenting. He gave the talk on the &lt;b&gt;Best practices for performance evaluation and Diagnosis of Java applications&lt;/b&gt;. &lt;br /&gt;
&lt;br /&gt;
He explains the working of the JVM. How JVM handles your code and what we should do to make our applications works smartly. We can set the garbage collection policy in the JVM according to the needs of the application. Healthcenter is a tool by IBM which can show the performance of the application but it is only for the IBM JVM. &lt;br /&gt;
&lt;br /&gt;
JVM contains the JIT i.e. Just In Time complier which basically converts the byte code to the machine readable format. JVM is smart enough to see if the method is called frequently. If it does then it optimizes the method to make the code run faster. But in this case the line of code that is generated is more but this is one time activity.&lt;br /&gt;
&lt;br /&gt;
JVM has been making changes from the time it is released. IBM is working on its JVM and Sun is working on its JVM. By time to time one is better than the other.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Shekhar Gulati&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzDjw_6rgNWBa1PRkfkPs_OCJz9jgAamAAfIIAIT4XVNxWvqAPvmA-8353eE-cuG1wOmrjyhgQJfuUxTaQaWOyIxfgOeIsqepRBeCmH0Bp-Oso7922fzmeVbY3DP22XkIz21kJTmhEq-y5/s1600/204.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzDjw_6rgNWBa1PRkfkPs_OCJz9jgAamAAfIIAIT4XVNxWvqAPvmA-8353eE-cuG1wOmrjyhgQJfuUxTaQaWOyIxfgOeIsqepRBeCmH0Bp-Oso7922fzmeVbY3DP22XkIz21kJTmhEq-y5/s200/204.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&amp;nbsp;Shekhar is one of my favorite speakers. &lt;b&gt;Spring Roo and the Cloud&lt;/b&gt; is the topic on which he gave the talk. He is very energetic and young and Spring loving guy.&lt;br /&gt;
&lt;br /&gt;
First release of the Spring is in the October 2002. From then Spring has gone many changes. Spring Roo is one the many changes that is in existence.&lt;br /&gt;
&lt;br /&gt;
Spring Roo is the development tool which generates the boiler plate code for the developer. It does not come into the picture when we talk about the runtime or compile time. It is basically a rapid development tool for the Spring projects which are based on maven.&lt;br /&gt;
&lt;br /&gt;
Spring Roo is so much easy to configure and use that anybody by taking a small understanding of it can make a Spring project. It is command based and its console is written in Ruby. &lt;br /&gt;
&lt;br /&gt;
His 80-90% session is demo. He drives the audience to demo and shows how within minutes any developer can make a project out of it. I love the Spring Roo functionality. Simple commands and great results.&lt;br /&gt;
Adding the functionality to the Spring application is child’s play. Type security setup and viola Spring security is integrated into the project. Similarly we can add logging&lt;br /&gt;
&lt;br /&gt;
Why should we use Spring Roo? Because it is easy to configure and it is based on the standards. There is a specific requirement for Spring Roo that is application should be web applications and it should have database bind to it. It is very easy to learn and apply.&lt;br /&gt;
&lt;br /&gt;
JMS, JSON, Spring web flow, SOLR are some of the functionalities that we can use with Sprig Roo.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Prashant&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-W0ZKlBCrk4GdqSzlsZXD71kce1UigJrrIyOQv_kUt0EFWj48um-QM1_7RKakgYIqTJVZm3m6pMpY1hnmuauGQvkOq7voASHq5TEjnFV0s6ENfLB3VGqR21sNEEnQfEtLG0RPL2Mwak47/s1600/206.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-W0ZKlBCrk4GdqSzlsZXD71kce1UigJrrIyOQv_kUt0EFWj48um-QM1_7RKakgYIqTJVZm3m6pMpY1hnmuauGQvkOq7voASHq5TEjnFV0s6ENfLB3VGqR21sNEEnQfEtLG0RPL2Mwak47/s200/206.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;He is another guy from IBM. He gave his talk on &lt;b&gt;optimizing the Java application&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
His main focus is on the how to increase the performance of the application. He had given many tips how we can increase the productivity of the application.&lt;br /&gt;
&lt;br /&gt;
He had also described some of the tools that can be helpful for the performance like the JLM i.e. Java Lock Monitor. It can be downloaded from &lt;a href=&quot;http://perfinsp.sourceforge.net/jlm.net&quot;&gt;http://perfinsp.sourceforge.net/jlm.net&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Avoiding the synchronization in static methods and breaking the long synchronized blocks into the smaller one. He had also given introduction about some tools for memory management. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;UnConference&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8NbBsry8Sk5VFCtlk1UT9hyphenhypheng0_xMwi3LjNDVY5KsB1pg3V76Z64_LQDBH9Ah7-qGsb8XFFtaingQ1TQ7j0CRuXhRLF7inbCdM7XSSIQUJshFUOvxdR0gQEQXxtvdz9tHhz9-UZmj_Xh8m/s1600/167.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8NbBsry8Sk5VFCtlk1UT9hyphenhypheng0_xMwi3LjNDVY5KsB1pg3V76Z64_LQDBH9Ah7-qGsb8XFFtaingQ1TQ7j0CRuXhRLF7inbCdM7XSSIQUJshFUOvxdR0gQEQXxtvdz9tHhz9-UZmj_Xh8m/s200/167.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;This is something I had seen for the first time in the conference. Unconference is a talk or the discussion between the delegates on the various topics. Anybody can write the topic on the white board available so that it can be discussed.&lt;br /&gt;
&lt;br /&gt;
As per Harshad this is something that is started some conferences back.&lt;br /&gt;
One topic is a Spring vs JavaEE6. This is very interesting and I love the way it is organized. And the role of Java in the future is also discussed. &lt;br /&gt;
&lt;br /&gt;
Various tools for the increasing the performance and productivity are also discussed in this session. Some tools for the memory management are discussed. MAT (Memory Analysis Tool), yourkit, jprofile, visualVM and SpringInsight are some of the tools that will help.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Gaurav Kohli&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVQgNWw7RQJiiWbbROKloc6sTVky4aFxTVAposqs8h6TWo5O8MAFTrgsO9ZOGuDXWa1C6waSwLXSW7Hd5El9MbMSpfLHqD-TZP26th06Z1whXdcKv5uhXEbLQpdCvE_cSIpyxDoPdKaUO7/s1600/209.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVQgNWw7RQJiiWbbROKloc6sTVky4aFxTVAposqs8h6TWo5O8MAFTrgsO9ZOGuDXWa1C6waSwLXSW7Hd5El9MbMSpfLHqD-TZP26th06Z1whXdcKv5uhXEbLQpdCvE_cSIpyxDoPdKaUO7/s200/209.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;He is the guy from the XEBIA who gives talk on the &lt;b&gt;Breaking relational RDBMS and dating with HBASE&lt;/b&gt;. This is very interesting talk which I love because I am very new to the NoSQL. Yes, HBASE is the database which is based on the NoSQL. &lt;br /&gt;
&lt;br /&gt;
He started with the discussion on the cons of the RDBMS like it cannot be scaled. Cassandra and HBASE are the two NoSQL solutions. There are also other solutions but Gaurav had main focused on the HBASE.&lt;br /&gt;
&lt;br /&gt;
Cassandra is based on the performance and availability whereas HBASE is based on the availability and consistency.&lt;br /&gt;
&lt;br /&gt;
Facebook has accepted Cassandra as they want performance and availability where as Yahoo is based on HBASE. HBASE is based on the key value pair. RDBMS is based on the row-column based whereas NoSQL is based on the column based only where everything is stored in columns.&lt;br /&gt;
&lt;br /&gt;
In the end Gaurav told that HBASE is not a replacement of RDBMS but solves a subset of the problems that were generated by the RDBMS.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Sanjoy Singh&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidNrsvoqoALs5r1MZoI6eJs8qV3BITe4av8SnEUrDUFxSLerI9-CNzEolVzJpw02NTlFYgv_KtaJq6yY0t049kSXGYFNV0RwkFZPUoASmPYPQbLk85BpnYQZWpQLhl4LnYAcZEa82IRRdH/s1600/212.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidNrsvoqoALs5r1MZoI6eJs8qV3BITe4av8SnEUrDUFxSLerI9-CNzEolVzJpw02NTlFYgv_KtaJq6yY0t049kSXGYFNV0RwkFZPUoASmPYPQbLk85BpnYQZWpQLhl4LnYAcZEa82IRRdH/s200/212.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Sanjoy is one of my favorites and he is the last person to give the presentation. He talks about &lt;b&gt;Building scalable and language independent Java services using Apache Thrift&lt;/b&gt;. The way he presented the session is very impressive. He started his session with line on his presentation.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;COMPUTERS ARE NOT INTELLEGENT HUMANS MAKES THEM&lt;/i&gt;&lt;br /&gt;
Reading this line makes everyone go with the line but when Sanjoy added one word to the line everyone started laughing. The line becomes&lt;br /&gt;
&lt;i&gt;COMPUTERS ARE NOT INTELLIGENT &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;BECAUSE &lt;/span&gt;&lt;/b&gt;HUMAN MAKES THEM&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Application is developed in one language by some of the developers. Problem arises when the language does not fulfill the requirement of the application. Then it is very difficult for the developers to do the task because the services are written in other language.&lt;br /&gt;
&lt;br /&gt;
Then he started talking about the new framework developed at Apache known as Thrift which helps to solve the above problem. This will help to write the program written in thrift and then with some commands we can convert the code in different languages like java, php etc.&lt;br /&gt;
&lt;br /&gt;
He had also given example demonstrating the same. He writes some code in a file and save the file with .thrift extension. Then he run command that generates the code for the different language depending on the command. He makes the java code as server and called that code from the php. It runs absolutely in the same way as it is written in php.&lt;br /&gt;
&lt;br /&gt;
This solves the problem which is described above. Now we can write the code and then we can call in any language. That’s great!!&lt;br /&gt;
&lt;br /&gt;
I am willing to see some more examples written in Apache Thrift. Since it is apache project we can download the source code and see the source of the Thrift.&lt;br /&gt;
&lt;br /&gt;
I love the overall conference loves to go there again :)</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/801178762456444442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2010/12/indicthreads-java-conference-2010.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/801178762456444442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/801178762456444442'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2010/12/indicthreads-java-conference-2010.html' title='IndicThreads Java Conference 2010'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk24C-7tDulNNFqu4O3vEgWSeLvG1lruQpKYt8OSCQxAtf_N0j8uC0VYWF-thxla7zBJZtaARQhc-I3zMVeZab8LYL1Ya2ViHncmsbYXTNAKUIKfgmNatfAM6lN-3ji1QxixA3JxaPimS1/s72-c/168.JPG" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-5103691424978825361</id><published>2010-05-24T14:05:00.001+05:30</published><updated>2017-04-12T09:09:35.400+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="input tag"/><category scheme="http://www.blogger.com/atom/ns#" term="resolved"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2"/><title type='text'>Struts 2 - result type input error Resolved</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Some times when coding through Struts 2 we get a input error specifying that result type input missing.&lt;br&gt;
But we haven&#39;t applied any validation on it. That some times creates a havoc among developers and they start complaining about the error as Struts 2 doesn&#39;t give the proper error.&lt;br&gt;
&lt;br&gt;
&lt;div align=&quot;center&quot;&gt;&lt;a target=&quot;_blank&quot; href=&quot;https://www.amazon.in/gp/product/8177228757/ref=as_li_tl?ie=UTF8&amp;camp=3638&amp;creative=24630&amp;creativeASIN=8177228757&amp;linkCode=as2&amp;tag=vinodkashyap-21&amp;linkId=088933e2b6504f6b15dca6f6a0ee216d&quot;&gt;Struts 2 in Action&lt;/a&gt;&lt;img src=&quot;//ir-in.amazon-adsystem.com/e/ir?t=vinodkashyap-21&amp;l=am2&amp;o=31&amp;a=8177228757&quot; width=&quot;1&quot; height=&quot;1&quot; border=&quot;0&quot; alt=&quot;&quot; style=&quot;border:none !important; margin:0px !important;&quot; /&gt;&lt;/div&gt;
&lt;br&gt;
I was also facing the same problem until I found the hole in my coding. As we all know that input type result is required when validate framework is applied. This is obvious as it will return to the input page defined in the input type result if some validation fails.&lt;br&gt;
But when we haven&#39;t applied any validation and this error is displayed what can be the problem.&lt;br&gt;

&lt;b&gt;The problem can be:&lt;/b&gt;&lt;br&gt;
&lt;i&gt;You have created a field on the jsp let it be hidden field and you are implementing the &lt;/i&gt;&lt;b&gt;&lt;i&gt;ModelDriven&lt;/i&gt;&lt;/b&gt;&lt;i&gt; interface. But you forgot to add the jsp hidden field variable in the pojo class&lt;/i&gt;. This will surely generate this error.&lt;br&gt;
&lt;br&gt;
&lt;i&gt;The &lt;b&gt;solution &lt;/b&gt;to this problem is to declare a variable in the pojo with the name of the field you have declared in the jsp.&amp;nbsp;&lt;/i&gt;&lt;br&gt;

This will eliminate the error.&lt;br&gt;
This solution help me to remove my error.&amp;nbsp;Hope it helps you too.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/5103691424978825361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2010/05/struts-2-result-type-input-error.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/5103691424978825361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/5103691424978825361'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2010/05/struts-2-result-type-input-error.html' title='Struts 2 - result type input error Resolved'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-1518430370142039601</id><published>2010-05-10T14:35:00.001+05:30</published><updated>2017-02-28T14:15:06.308+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache shutdown error"/><title type='text'>Unclean shutdown of previous Apache run - Resolved</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today I am having a problem with Apache restart. It is continuously giving me the &lt;b&gt;Unclean shutdown of previous Apache run &lt;/b&gt;error.&lt;br /&gt;
&lt;br /&gt;
After googling for two hours I got a answer to it. Actually I had installed a &lt;b&gt;Skype &lt;/b&gt;on my system which uses &lt;b&gt;port 80&lt;/b&gt; for its some connection purpose and Apache also uses it. So simple un-check the &lt;b&gt;Use port 80 &lt;/b&gt;option in the &lt;b&gt;Advanced -- Connection &lt;/b&gt;tab from &lt;b&gt;Skype &lt;/b&gt;options.&lt;br /&gt;
&lt;br /&gt;
Then restart the apache it works well. Hope it works for you as well.&lt;br /&gt;
What a stupid mistake.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/1518430370142039601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2010/05/unclean-shutdown-of-previous-apache-run.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/1518430370142039601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/1518430370142039601'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2010/05/unclean-shutdown-of-previous-apache-run.html' title='Unclean shutdown of previous Apache run - Resolved'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-5850081034659277710</id><published>2010-04-16T15:40:00.000+05:30</published><updated>2017-02-28T14:23:06.252+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="image height width"/><title type='text'>Getting height and width of image in Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Yesterday I was working on something that requires manipulation of image for getting its properties.&lt;br&gt;
After searching over the internet I found a very intersting class on Java i.e ImageIO and BufferedImage class.&lt;br&gt;
&lt;br&gt;
These classes are good enough to manipulate images. there are many other claases also. But what I need i got it from these.&amp;nbsp;I found many developers searching over internet for getting properties of image and there is no good small example for that.&lt;br&gt;
&lt;br&gt;
Thats why I thought why not creating a simple code to manipulate the image and help the developers.&lt;br&gt;
&lt;br&gt;
Here is the small code that helps to get the height and width of the image. Enjoy it!!&lt;br&gt;
&lt;pre class=&quot;brush: java&quot;&gt;import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;

public class GetImage {

 public static void main(String[] args) {
  try {
   File f = new File(&quot;E:/Vinod/Docs/Pics/krishna_01.jpg&quot;);
   BufferedImage image = ImageIO.read(f);
   int height = image.getHeight();
   int width = image.getWidth();
   System.out.println(&quot;Height : &quot; + height);
   System.out.println(&quot;Width : &quot; + width);
  } catch (IOException ioe) {
   ioe.printStackTrace();
  }
 }
}
&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/5850081034659277710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2010/04/getting-height-and-width-of-image-in.html#comment-form' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/5850081034659277710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/5850081034659277710'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2010/04/getting-height-and-width-of-image-in.html' title='Getting height and width of image in Java'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-2212787615437662997</id><published>2009-12-12T19:29:00.000+05:30</published><updated>2009-12-12T19:29:18.100+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="indicthreads conference java"/><title type='text'>IndicThreads Java Conference - What a Experience</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvlUtH3faaIfraOwlRjg4JeA6iMX49ffqbc-ywmkGUT2MFjrHq6Hp_3I8wkbE6Z2mTtYruzY3p80bmsFri_p0DGkhJAo1BQoVlmZMbKqHIbtsqi6R0VKW62qqq8T0qZWXRRB5ubZ4mCVq2/s1600-h/logo.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvlUtH3faaIfraOwlRjg4JeA6iMX49ffqbc-ywmkGUT2MFjrHq6Hp_3I8wkbE6Z2mTtYruzY3p80bmsFri_p0DGkhJAo1BQoVlmZMbKqHIbtsqi6R0VKW62qqq8T0qZWXRRB5ubZ4mCVq2/s200/logo.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;Its a very good experience of attending the IndicThreads Java Conference in Pune. Its very&amp;nbsp;exciting to listening to the gurus of the Java and other latest technologies.&lt;br /&gt;
&lt;br /&gt;
I have learned a lot from the technology gurus specially from the Arun Gupta from the Sun Microsystems.&lt;br /&gt;
&lt;br /&gt;
It is my first ever experience of attending any Java conference. &lt;b&gt;IBM developerWorks&lt;/b&gt; is a &lt;b&gt;Gold &lt;/b&gt;Sponsor for the event. The event is&amp;nbsp;occurred&amp;nbsp;in a beautiful hotel Orbett.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg70RPGgPnKHvuXdF4YGIJVfZrPiLJ7WJR2Bn3qYJdzYI2XRMJ9i6HRh-DMkmW0T_Uzo3kHAxSxlbk0Dcw-7vpQW2zMwJ-4rHhVw-PkUeqY5kgCJKxUHwuIaXGu55epoQzkjWVOKkGylxYP/s1600-h/Harshad.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg70RPGgPnKHvuXdF4YGIJVfZrPiLJ7WJR2Bn3qYJdzYI2XRMJ9i6HRh-DMkmW0T_Uzo3kHAxSxlbk0Dcw-7vpQW2zMwJ-4rHhVw-PkUeqY5kgCJKxUHwuIaXGu55epoQzkjWVOKkGylxYP/s1600/Harshad.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;Harshad Oak&lt;/b&gt; - The very first &lt;b&gt;Java Champion&lt;/b&gt; from India; I am very delited after meeting him. He is very nice guy and he is also the organizer of the event. I had asked him questions about how he had become the &lt;b&gt;Java Champion&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
I asked him the procedure for the same. He had told me in the straight forward way that it is a very simple as you have to do something very special in the field of Java.&lt;br /&gt;
&lt;br /&gt;
I think he had done something good in the files of Java as he has been nominated by the community members of the Java. He might have done something very special. But I haven&#39;t asked him what he had done :)&lt;br /&gt;
&lt;br /&gt;
Below I am describing about some of the speakers and there session that I have&amp;nbsp;attended.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Arun Gupta&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilusVIhv7u19XK5Vt-gLYhEw7K2sdWJdaPowBCebjnmoeGadQdXrvRftjN0eYpsssPHX9AOsrmlOH3RZ6cbcnx4iWDCksHCfCywNRYTR5zNUYcQlmrm1q0vwFTa64ek5IFbTjr9r_b0725/s1600-h/arun.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilusVIhv7u19XK5Vt-gLYhEw7K2sdWJdaPowBCebjnmoeGadQdXrvRftjN0eYpsssPHX9AOsrmlOH3RZ6cbcnx4iWDCksHCfCywNRYTR5zNUYcQlmrm1q0vwFTa64ek5IFbTjr9r_b0725/s1600/arun.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
He is one my favourite speakers in the conference. He had came straight from the &lt;b&gt;United States&amp;nbsp;&lt;/b&gt;specially to attend the &lt;i&gt;IndicThreads Java Conference.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
He had presented two sessions and both are knowledgeable. The topics that he had presented are&amp;nbsp;&lt;b&gt;Java EE 6 &amp;amp; GlassFish v3 &lt;/b&gt;and &lt;b&gt;Dynamic Languages &amp;amp; Web Frameworks in GlassFish v3&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
He had also given some T-Shirts from the &lt;b&gt;GlassFish &lt;/b&gt;&lt;b&gt;Community &lt;/b&gt;but to those who answered his questions. I am unable to answer any questions so I haven&#39;t got any :(. But I will surely ask him to give me one :).&lt;br /&gt;
&lt;br /&gt;
He had told that now Java is not a language any more; it is emerging as the platform for the different languages also. He had also thrown light on some of the scripting languages and the frameworks which are emerging as the new languages for the future and run on the JVM.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;JRuby&lt;/b&gt;, &lt;b&gt;Groovy&lt;/b&gt;, &lt;b&gt;Jython &lt;/b&gt;are some the languages that are emerging. Similarly frameworks like &lt;b&gt;Rails&lt;/b&gt;, &lt;b&gt;Grails&lt;/b&gt;, &lt;b&gt;Django &lt;/b&gt;are also taking up.&lt;br /&gt;
&lt;br /&gt;
Some of the points from his sessions are:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;Java EE 6&lt;/b&gt; had been declared standard on 10th Dec &amp;nbsp;&#39;09.&lt;/li&gt;
&lt;li&gt;Flexibility, Extensibility and easier to use are some of the features of &lt;b&gt;Java EE 6&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;web.xml&lt;/b&gt; is optional from now onwards. No I am not kidding, its real.&lt;/li&gt;
&lt;li&gt;Some of the things that had gone extreme makeover in &lt;b&gt;Java EE 6 &lt;/b&gt;are :&lt;/li&gt;

&lt;ul&gt;&lt;li&gt;JSF 2.0&lt;/li&gt;
&lt;li&gt;Servlet 3.0&lt;/li&gt;
&lt;li&gt;Java Persistence 2.0&lt;/li&gt;
&lt;li&gt;Enterprise Java Beans 3.1&lt;/li&gt;
&lt;li&gt;Interceptors 1.1&lt;/li&gt;
&lt;li&gt;Connector Architecture&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Currently three IDE&#39;s are supporting &lt;b&gt;Java EE 6&lt;/b&gt;.&lt;/li&gt;

&lt;ul&gt;&lt;li&gt;Netbeans 6.8&lt;/li&gt;
&lt;li&gt;Eclipse 3.4+&lt;/li&gt;
&lt;li&gt;IntelliJ 9.0&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Now session data can be same across redeployments. (that&#39;s amazing)&lt;/li&gt;
&lt;/ol&gt;&lt;div&gt;You can visit his blog : &lt;a href=&quot;http://blogs.sun.com/arungupta&quot;&gt;http://blogs.sun.com/arungupta&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Twitter : @arungupta&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;Kamal Govindraj&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEYn59lDsm_xwkrJwO-M7jaKDaW6I7kKxUlhmHhV3K9eXpE09XJemoLoW2LeD25zjoYzyFCBKdk4GeOtNlY1Rau5sgIb071R3kXKTrJBvZNPg7hyBw1ua5rXs6KQhcSaqTT45TLms-fNKs/s1600-h/kamal.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEYn59lDsm_xwkrJwO-M7jaKDaW6I7kKxUlhmHhV3K9eXpE09XJemoLoW2LeD25zjoYzyFCBKdk4GeOtNlY1Rau5sgIb071R3kXKTrJBvZNPg7hyBw1ua5rXs6KQhcSaqTT45TLms-fNKs/s1600/kamal.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
He is very&amp;nbsp;experienced&amp;nbsp;guy. He had also given two presentations. 13 years of experience is a lot for me.&lt;br /&gt;
&lt;br /&gt;
He had presented sessions on &lt;b&gt;RESTful Applications using Spring MVC &lt;/b&gt;and &lt;b&gt;Building Modular Applications. &lt;/b&gt;Getting knowledge on the &lt;b&gt;RESTful&lt;/b&gt; service is a very&amp;nbsp;interesting&amp;nbsp;experience&amp;nbsp;as I always wanted to know about it.&lt;br /&gt;
&lt;br /&gt;
He had also thrown some light on the Dependency Injection&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some of the points from his sessions are:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;REST &lt;/b&gt;stands for &lt;i&gt;Representational State Transfer.&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;It is basically a architectural style of coding.&lt;/li&gt;
&lt;li&gt;Its architecture is based on Http&lt;/li&gt;
&lt;li&gt;It is scalable and loose coupled.&lt;/li&gt;
&lt;li&gt;In &lt;b&gt;REST &lt;/b&gt;everything is a resource and is identified by unique Id&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GET&lt;/b&gt;, &lt;b&gt;POST&lt;/b&gt;, &lt;b&gt;PUT &lt;/b&gt;and &lt;b&gt;DELETE &lt;/b&gt;are main points&lt;/li&gt;
&lt;li&gt;Modularity helps in maintaining&amp;nbsp;&amp;nbsp;applications&lt;/li&gt;
&lt;/ol&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;Rajeev Palanki&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikoL-pMj4YQJKhy73C_yzQbIneb2xTG2QCRalFj-MnWXwciNTF2EHiZcnrzTZwi1cx2104XHDtuuV3tgx7m4YOCo0f_m80hTVVCRdqW6gZJDu5sZg0beVAUA2ltawqjvGxYt0DQVjngj0U/s1600-h/Rajeev.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikoL-pMj4YQJKhy73C_yzQbIneb2xTG2QCRalFj-MnWXwciNTF2EHiZcnrzTZwi1cx2104XHDtuuV3tgx7m4YOCo0f_m80hTVVCRdqW6gZJDu5sZg0beVAUA2ltawqjvGxYt0DQVjngj0U/s1600/Rajeev.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Rajeev Palanki is a guy from the IBM. As I&amp;nbsp;had&amp;nbsp;already told that &lt;b&gt;IBM DeveloperWorks&lt;/b&gt; is a &lt;b&gt;Gold&amp;nbsp;&lt;/b&gt;Sponsor&amp;nbsp;for the Event.&lt;br /&gt;
&lt;br /&gt;
His main focus is on the IBM developerWorks Community. He had thrown light on the benefits of joining the community.&lt;br /&gt;
&lt;br /&gt;
He had also told about the &lt;b&gt;Project Zero&lt;/b&gt; which is &lt;b&gt;WebSphere sMash. &lt;/b&gt;Joining the community and meet millions of the developers and the other people of your interest will help lot of people in moving forward in future.&lt;br /&gt;
&lt;br /&gt;
There are lot of people who are always available in the community who can help you to reach the level you want to reach. You can also other community members. It is something like a facebook of the tech guys.&lt;br /&gt;
&lt;br /&gt;
Its very nice as I am already a member of the community for many years.&lt;br /&gt;
You can reach him at rpalanki@in.ibm.com&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;AllahBaksh Mohammeddi Asadullah&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiufyXf8UUPmMdu-eHFgeOEK1oNucfpMw0u6s4UkWjUWTirB_S_-tVviN2qDMA5PtSrbI_vd91IhrVGS4leZ6YeUGx1ijIBZrXAarOnM1E7sUXpnVJ6BCN_3NZ-RzPy43xfIbZQU7r9gzzO/s1600-h/allahbaksh.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiufyXf8UUPmMdu-eHFgeOEK1oNucfpMw0u6s4UkWjUWTirB_S_-tVviN2qDMA5PtSrbI_vd91IhrVGS4leZ6YeUGx1ijIBZrXAarOnM1E7sUXpnVJ6BCN_3NZ-RzPy43xfIbZQU7r9gzzO/s1600/allahbaksh.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
He is second favourite guy at the conference. He works for the Infosys. What a guy and what confidence. He had also presented two sessions and both were fantastic. I love the way he is describing the topics.&lt;br /&gt;
&lt;br /&gt;
The topics he had presented are also very&amp;nbsp;interested. &lt;b&gt;GWT Internal, Tips &amp;amp; Tricks &lt;/b&gt;and &lt;b&gt;Implementing search functionality using Apache Lucene &amp;amp; Solr&amp;nbsp;&lt;/b&gt;are the topics that he had presented.&lt;br /&gt;
&lt;br /&gt;
Listening to him is a very wonderful experience. He had explained each and every topics that he covered in a very&amp;nbsp;interesting&amp;nbsp;way.&lt;br /&gt;
&lt;br /&gt;
Some of the points from his session are :&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;GWT &lt;/b&gt;helps in Deffered binding i.e. dynamic class loading at compile time rather than run time&lt;/li&gt;
&lt;li&gt;Replacement&amp;nbsp;Strategy&amp;nbsp;and Generator&amp;nbsp;Strategy&amp;nbsp;are used in &lt;b&gt;GWT&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GWT Exporter &lt;/b&gt;is used to generate code&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GWT Dependency Injection&lt;/b&gt; can be done using library &lt;b&gt;GIN&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Some of the GWT libraries are&lt;/li&gt;

&lt;ul&gt;&lt;li&gt;GWT Mosiac&lt;/li&gt;
&lt;li&gt;GQuery&lt;/li&gt;
&lt;li&gt;GWT Exporter&lt;/li&gt;
&lt;li&gt;Google GIN&lt;/li&gt;
&lt;li&gt;GWT Incubator&lt;/li&gt;
&lt;li&gt;GWT Drag and Drop&lt;/li&gt;
&lt;li&gt;Spring4GWT&lt;/li&gt;
&lt;li&gt;APO GWT&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;Lucene &lt;/b&gt;is a open source library that is used for searching&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Solr &lt;/b&gt;is a open source &lt;b&gt;Lucene &lt;/b&gt;based search server&lt;/li&gt;
&lt;/ol&gt;&lt;div&gt;&lt;b&gt;Narinder Kumar&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg96Z5QoaA7qW9v2pANqc1lb0-q8bZQ5paHsG0fbZGq2-6L1xp0LNH-3vYzYjyQBhRsWOvxmYbNeySVhs3_tvOEsvJY3d2yXeF-HKDriiOFKU__jEdMpdpa1DzulflfjAo3g06MtdWmmK2Q/s1600-h/narinder.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg96Z5QoaA7qW9v2pANqc1lb0-q8bZQ5paHsG0fbZGq2-6L1xp0LNH-3vYzYjyQBhRsWOvxmYbNeySVhs3_tvOEsvJY3d2yXeF-HKDriiOFKU__jEdMpdpa1DzulflfjAo3g06MtdWmmK2Q/s1600/narinder.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;He is from the company named &lt;b&gt;Xebia. &lt;/b&gt;He had also given the presentation on the very&amp;nbsp;interesting&amp;nbsp;topic. He had spoken on &lt;b&gt;Java Applications on Google App Engine&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;He is very young,&amp;nbsp;enthusiastic&amp;nbsp;and confident guy. By seeing him you will not tell that he will give you the&amp;nbsp;presentation&amp;nbsp;is such a great way.&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Some of the points from his session are:&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;Google App Engine&lt;/b&gt; is a cloud computing platform&lt;/li&gt;
&lt;li&gt;Java on Google App Engine is Platform as a Service (PaaS)&lt;/li&gt;
&lt;li&gt;Plugins for Eclipse and IntelliJ are in the market and can be easily found&lt;/li&gt;
&lt;li&gt;You need to have google account to deploy your application&lt;/li&gt;
&lt;li&gt;SSL can be configured by specifying a boolean parameter in configuration&lt;/li&gt;
&lt;li&gt;Other google services that you get when you deploy your application on GAE are:&lt;/li&gt;

&lt;ul&gt;&lt;li&gt;URL Fetch&lt;/li&gt;
&lt;li&gt;MemCache&lt;/li&gt;
&lt;li&gt;User Service&lt;/li&gt;
&lt;li&gt;Mail&lt;/li&gt;
&lt;li&gt;Image&lt;/li&gt;
&lt;li&gt;XMPP&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Additional Services that are provided are&lt;/li&gt;

&lt;ul&gt;&lt;li&gt;Cron&lt;/li&gt;
&lt;li&gt;AOP like Interface&lt;/li&gt;
&lt;li&gt;Task Queries&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;For Managing and Monitoring GAE provides:&lt;/li&gt;

&lt;ul&gt;&lt;li&gt;Dashboard&lt;/li&gt;
&lt;li&gt;Reporting&lt;/li&gt;
&lt;li&gt;Manage different versions of application&lt;/li&gt;
&lt;li&gt;Logs&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;&lt;div&gt;In all in all its a&amp;nbsp;fantastic&amp;nbsp;journey&amp;nbsp;to the Java world with exciting and new technologies.&lt;br /&gt;
I am looking forward to the next year&#39;s Java conference from now :)&lt;br /&gt;
&lt;br /&gt;
Hope I will be there also!!&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/2212787615437662997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2009/12/indicthreads-java-conference-what.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/2212787615437662997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/2212787615437662997'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2009/12/indicthreads-java-conference-what.html' title='IndicThreads Java Conference - What a Experience'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvlUtH3faaIfraOwlRjg4JeA6iMX49ffqbc-ywmkGUT2MFjrHq6Hp_3I8wkbE6Z2mTtYruzY3p80bmsFri_p0DGkhJAo1BQoVlmZMbKqHIbtsqi6R0VKW62qqq8T0qZWXRRB5ubZ4mCVq2/s72-c/logo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-1877207687025030475</id><published>2009-08-31T09:38:00.003+05:30</published><updated>2009-09-24T10:09:03.542+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="indic"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>IndicThreads.com Conference On Java</title><content type='html'>&lt;a href=&quot;http://i323.photobucket.com/albums/nn464/vinodkashyap/indicthreads-java-125-501.gif&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5375976467707311138&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2XjOw7z1fhBmCQ6tmkhIX80dFbi3EQkMBhZTKxVjyLhNhBNbzwpGkAGOZWC3Kmp7aTclyfvdfbLuHQS_QHyy-ILVRo2t3d7Uf6FOmZ3lz3KDuW0kxVwedEEzWJpTav8w76vgnOgYXr168/s320/250-250-1r-150x150.gif&quot; style=&quot;float: right; height: 150px; margin-bottom: 10px; margin-left: 10px; margin-right: 0px; margin-top: 0px; width: 150px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
IndicThreads.com Conference On Java is going to held on 11th and 12th Dec &#39;09 at Pune, India.&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;This is very intersting event especially for java passioniors and lovers. You can join the conference by visiting the website &lt;a href=&quot;http://j09.indicthreads.com/&quot;&gt;http://j09.indicthreads.com/&lt;/a&gt; or clicking on the logo on the right side of this page displaying the event like this. &lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;I hope you will enjoy the event and the future of java and many other intersting technologies. I love to be there.&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/1877207687025030475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2009/08/indicthreadscom-conference-on-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/1877207687025030475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/1877207687025030475'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2009/08/indicthreadscom-conference-on-java.html' title='IndicThreads.com Conference On Java'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2XjOw7z1fhBmCQ6tmkhIX80dFbi3EQkMBhZTKxVjyLhNhBNbzwpGkAGOZWC3Kmp7aTclyfvdfbLuHQS_QHyy-ILVRo2t3d7Uf6FOmZ3lz3KDuW0kxVwedEEzWJpTav8w76vgnOgYXr168/s72-c/250-250-1r-150x150.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-7577303770847429039</id><published>2009-08-10T12:49:00.000+05:30</published><updated>2009-08-10T12:49:29.518+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="weblogic portal example"/><title type='text'>Weblogic Portal Example</title><content type='html'>&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;div&gt;Here I am going to make a simple example of Weblogic Portal.&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Minimum requirements:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Weblogic Portals&lt;/li&gt;
&lt;li&gt;Weblogic Workshop&lt;/li&gt;
&lt;li&gt;Weblogic Server&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;Basically when you download weblogic portals then you will have all the necessary things already installed. It can be downloaded from &lt;a href=&quot;http://www.oracle.com/technology/software/products/ias/bea_main.html&quot;&gt;http://www.oracle.com/technology/software/products/ias/bea_main.html&lt;/a&gt;&lt;/div&gt;&lt;div&gt;You have to download &lt;b&gt;Oracle WebLogic Portal 10.3&lt;/b&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 1: Setting up the Weblogic Workshop&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Open Weblogic Workshop from &lt;i&gt;Programs -&amp;gt; Oracle Weblogic -&amp;gt; Workshop for Weblogic&lt;/i&gt;.&lt;/li&gt;
&lt;li&gt;Change the perspective to Portal i.e. &lt;i&gt;Window -&amp;gt; Open Perspective -&amp;gt; Others -&amp;gt; Portal&lt;/i&gt;.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;Step 2: Create sample application&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Create new Portal EAR project from &lt;i&gt;File -&amp;gt; New -&amp;gt; Portal EAR Project&lt;/i&gt;.&lt;/li&gt;
&lt;li&gt;Name it sampleEAR.&lt;/li&gt;
&lt;li&gt;Click next and proceeds with default setting.&lt;/li&gt;
&lt;li&gt;Create new PortalWEB project from &lt;i&gt;File -&amp;gt; New -&amp;gt; Portal Web Project&lt;/i&gt;.&lt;/li&gt;
&lt;li&gt;Name it sampleWEB.&lt;/li&gt;
&lt;li&gt;Associate it with sampleEAR by clicking on checkbox if it is not selected and proceeds without any change.&lt;/li&gt;
&lt;li&gt;Now select the WebContent, right click and select &lt;i&gt;New -&amp;gt; Portal&lt;/i&gt;.&lt;/li&gt;
&lt;li&gt;Name it myportal and proceeds.&lt;/li&gt;
&lt;li&gt;You will see default portal in the workshop.&lt;/li&gt;
&lt;li&gt;Create a jsp e.g. myjsp and then right click on it and click on Generate Portlet.&lt;/li&gt;
&lt;li&gt;This will create a myjsp.portlet in application.&lt;/li&gt;
&lt;li&gt;You can drag it from the Design Panel to the Portal.&lt;/li&gt;
&lt;li&gt;Let’s create another portal which will access the url of the other website.&lt;/li&gt;
&lt;li&gt;Right click on WebContent select&lt;i&gt; New -&amp;gt; Portlet&lt;/i&gt;.&lt;/li&gt;
&lt;li&gt;Name it myportlet and click next.&lt;/li&gt;
&lt;li&gt;Select Browser (URL) Portlet.&lt;/li&gt;
&lt;li&gt;On next screen in the Content URL input box type &lt;a href=&quot;http://www.google.com./&quot;&gt;http://www.google.com.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Check the checkboxes :&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;Has TitleBar&lt;/li&gt;
&lt;li&gt;Minimizable&lt;/li&gt;
&lt;li&gt;Maximizable&lt;/li&gt;
&lt;li&gt;Floatable&lt;/li&gt;
&lt;li&gt;Deletable&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Click next&lt;/li&gt;
&lt;li&gt;Drag the portlet onto the portal.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;Step 3: Deploy on server&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Right click on the sampleWEB and select &lt;i&gt;Run As -&amp;gt; Run on Server&lt;/i&gt;.&lt;/li&gt;
&lt;li&gt;It will open the server window.&lt;/li&gt;
&lt;li&gt;Select the Oracle Weblogic server from the dialog box and Click next.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;These are the minimum steps to build a sample portal.&lt;/div&gt;&lt;div&gt;You can access the application by: &lt;a href=&quot;http://localhost:7001/sampleWEB&quot;&gt;http://localhost:7001/sampleWEB&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Enjoy the sample..&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/7577303770847429039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2009/08/weblogic-portal-example.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/7577303770847429039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/7577303770847429039'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2009/08/weblogic-portal-example.html' title='Weblogic Portal Example'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2859304543308190020.post-8269016462967546407</id><published>2009-07-15T14:53:00.001+05:30</published><updated>2017-02-28T14:26:40.258+05:30</updated><title type='text'>Java + You</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0&quot; height=&quot;225&quot; id=&quot;flashObj&quot; width=&quot;300&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://c.brightcove.com/services/viewer/federated_f9/1640183659?isVid=1&amp;publisherID=1460825906&quot; /&gt;&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot; /&gt;&lt;param name=&quot;flashVars&quot; value=&quot;videoId=1656454262&amp;playerID=1640183659&amp;domain=embed&amp;&quot; /&gt;&lt;param name=&quot;base&quot; value=&quot;http://admin.brightcove.com&quot; /&gt;&lt;param name=&quot;seamlesstabbing&quot; value=&quot;false&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;&lt;param name=&quot;swLiveConnect&quot; value=&quot;true&quot; /&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot; /&gt;&lt;embed src=&quot;http://c.brightcove.com/services/viewer/federated_f9/1640183659?isVid=1&amp;publisherID=1460825906&quot; bgcolor=&quot;#FFFFFF&quot; flashVars=&quot;videoId=1656454262&amp;playerID=1640183659&amp;domain=embed&amp;&quot; base=&quot;http://admin.brightcove.com&quot; name=&quot;flashObj&quot; width=&quot;300&quot; height=&quot;225&quot; seamlesstabbing=&quot;false&quot; type=&quot;application/x-shockwave-flash&quot; allowFullScreen=&quot;true&quot; swLiveConnect=&quot;true&quot; allowScriptAccess=&quot;always&quot; pluginspage=&quot;http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.javachamp.in/feeds/8269016462967546407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.javachamp.in/2009/07/java-you.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/8269016462967546407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2859304543308190020/posts/default/8269016462967546407'/><link rel='alternate' type='text/html' href='http://www.javachamp.in/2009/07/java-you.html' title='Java + You'/><author><name>Vinod Kumar Kashyap</name><uri>http://www.blogger.com/profile/04741524013101585935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>