Tuesday, November 5, 2013

Introduction To java, Part1-First Step Towards Java

Before we start learning Java we should prepare our machine so that our machine should understand as well as process the code written in Java language.

To configure our system for java, we should know following :
  1. As per our operating system being installed in our system, which extension of file we need to use for installing java. ( as for window it requires .exe file and for linux .tar file)
  2. which version of Java is released and as per requirement which version of Java we should install.
To get these information please visit ORACLE OFFICIAL WEBSITE and get the supported file and required version.
  • After downloading the required file where you should install it, by default if you follow the installation instruction for windows operating system then it will be installing in "C" drive inside program files, but i will not suggest to install it inside program files directory because later when u will be installing build tool like ant then you will be facing problem. so i will suggest to install it in "C" drive but in separate Java directory. 
  • After installing the Java we need to set the path for installed java so that our system could understand that newly installed software.
  • I am not going to explain how to set the system variable and path for Java, because if you will Google it you can find lots of link. (it is always better to take little effort! so dig to Google for this step) or you can follow my another post http://learntechnolgy.blogspot.in/2014/03/configuring-java-in-windows.html
In upcoming posts,i will explain why we need to set the path ? What is system variable and class-path.

Wednesday, October 30, 2013

Right Path To Start Learning Java

 " Execution of a plan is more important than the plan itself "

After being a fresh graduate and looking to get a job in I.T as well as learning the technology is fun.At this stage of life we explore new things and face such a situation that makes us to fight for our desire. But the most difficult situation comes when we have to choose the  right technology for learning. And as i feel JAVA is one of most widely accepted computer programming language.
People have different ideas about java. But personally i feel JAVA IS A REVOLUTION.

According to my Experience and Path that I have followed I would like to share some of my ideas:

1) First thing we need to choose right approach to learn any programming language.In java programming language, approach matters because its really very vast and one can't grab all things and keep everything in mind.
  • What I would suggest is LEARN THE THINGS BY DOING.
  • Choose perfect resource like right books , websites, different forums on social networking site.
  • In initial days of learning I would not prefer to use different websites.
  • what I would suggest is to choose just one book and one good mentor(one who can guide you it may be a person or any coaching center) and that is enough for initial days of learning.
 2) After adopting proper approach its time to dive into the JAVA. In initial days of learning it needs lots of concentration and determination ( if u have not familiar with Object- Oriented Programming language)

3) While learning one should focus on writing the things more and more then going into practice.

4) In early days just learn few java syntax then straight dive into Object Oriented Concepts.

5) Object Oriented Concepts means how Java use OOPs concept : like Encapsulation, Abstraction, Inheritance, Polymorphism.

6) It's very necessary to learn these OOPS concepts prior to learning deep java syntax and concept. Because through these concepts One can gradually start figuring out how different OOPS concepts are bounded together to form JAVA and more higher concepts.

7) So be very attentive when You start learning specially for initial 15 days.

8) Instead of learning new things more, keep on revising the concepts like if u plan to cover 4-5 topics in day then what i will suggest make it short make it 2-3 topic in learning list and add earlier topics on revising list.

9) One important thing I want to share what I had faced when I was in initial days of learning, my mind used to deviates lot and I used to think how java is doing this why java is doing this? And those things were always in mind and had always distracted me from right track .I had wasted lots of my time in initial days. so what I would suggest to new learner is as java is so vast and lots of question will be coming in mind , but in initial days  try to avoid these question as much as u can. just treat yourself as dumb and focus on what is important according to time and situation.

11) Thoughts about internal structure and going deep in that is good after you have achieved one level at least when you are at pro level.

12) Always set a target for you each and every day , stay focused on that and try to achieve that.

13) I suggest you to follow these steps and you will enjoy learning. And these approaches will boost your confidence.

Here i am going to share links to some very useful books and u can choose any one of those but focus on only one book 


you can get source code of this book on : http://www.headfirstlabs.com/books/hfjava/


3) I will suggest this book and i am personally fan of this book but study this with HEAD FIRST: SCJP by kathy siera My Suggestion.