Learning Path for JAVA Programming Language...Help!

Java Programming Language - This is the logo used by SUN Microsystems for its Java Programming Language.
Philippines
June 21, 2007 8:37am CST
Gud day everyone... I would like to start this discussion thread about the Java Programming Language. I already have the knowledge of programming in Java but I still have the confusion or kindda wonder on what learning path do i have to take to learn Java programming the best possible way. I am a College Instructor from the school where I graduated and currently teaching programming subjects. What do you think will be the learning path that I have to take to learn Java programming the best possible way?
3 responses
@corsario (27)
• Portugal
21 Jun 07
I would start learning the basic sintax of the language as well as basic variable types. Make the traditionl "Hello World", etc. Then I would walk to learn how to work with methods (functions), knowing the scope of variables (global, local, etc) and how to use them. After feeling comfortable with method (function) using, would take a look at class organization (object creation, manipulation, etc), which is very important given that JAVA is an object oriented language. By now you would feel comfortable to start working with more advanced things like reading/writing text/objects to files (learning how to use the TRY-CATCH sintax so that when something goes wrong you can divert the program flow and get the exception), manipulate strings (StringTokenizer, one of your best friends), getting input from user (not as 'easy' as it looks like). Finally, with previous knowledge already consolidated, it would be a good idea to start looking at thread creation/manipulation and data transfer through sockets/pipes (creating multi-threaded servers/clients, etc). This is my opinion of course, at least it is what makes more sense to me and +- the path I took in University. Some of the steps might be related(for instance I learned how to use StringTokenizer and User Input right when I started to learn JAVA because the things I did needed both), but I think this path is a reasonable one. Also you'll learn better when you need to use something for some work, let us say you need to get info from TXT file to make some program even though you haven't learned how to manipulate user created classes/objects: go ahead, doing that before learning how to create your own object won't be a bad thing. P.S.: Always but ALWAYS have the JAVA Docs at hand. You can get them online or download it from SUN's JAVA page. Whenever you don't know which methods to use with something, go to the docs, they have extensive list of methods for each type of object/class with knowledge of how to use it and what it will return/do. ;) Good Luck!
• Philippines
22 Jun 07
Thanks a lot man... by the way, what's your course? Are working right now? What kind of work? Pls reply...
• Philippines
22 Jun 07
hello again! By the way... which path is best for learning java? a path that would end to application programming or a path that would end to programming web application?
• Portugal
22 Jun 07
I'm currently finishing my 2nd Cycle (Master's) in Informatics Engineering at University and haven't got that much of professional work experience given that here is normal to be a full time student until you reach these kind of 5 years course (Bachelor+Master). Regarding the aim of your JAVA programming,I don't think there is a best path, because it depends of your area and needs (that is, the best path is the one that ends on your needs as a professional). In my academic works I've used JAVA less regarding it as web application and more as one in a more "traditional" sense (open it like any "standalone" app). Personally I find it best and simpler to use other technologies for programming web applications (PHP, Ruby on Rails, etc), but this can be that I'm not that used to work with JAVA for web apps, though I've already made some simple ones. One should learn both paths though, to be prepared whenever it's needed to work with whichever a client demands.
@mnvamsi (539)
• India
4 Aug 07
you are a teacher.. ok then lets start.. Follow all the steps given above.. learn how to input the info into the system using "Buffere$Rea$er" etc this woul$ make your stu$ents learn java more carefully.. make your stu$ents listen to you carefully by telling the some interestint concepts in java which they never seen for/in loop in java 5.0 java latest release..
@megaplaza (1441)
• Nigeria
10 Jul 07
i think it will be good if you start with j2se, thats you should specialise in developing standard java desktop porgrams, since you are a tutor.