JAVA Curriculum

Duration 16 days

Links for reference

 http://java.sun.com/docs/books/tutorial/ 

http://www.w3schools.com/ 

http://java.sun.com/javaee/reference/tutorials/

http://java.about.com/od/javasyntax/a/nameconventions.htm 

Day 1

  1. Installation of Java & Eclipse for your work & understand and setting about path and classpath variables in the Environment.
  2. Basics of Java
  3. Getting Starting
  4. Naming  conventions for variables, methods, classes, packages, Java-Beans.

http://java.sun.com/docs/books/tutorial/getStarted/index.html

http://java.about.com/od/javasyntax/a/nameconventions.htm 

To do: Replicate the hello world example in your own machine.

Day 2 & 3

  1. Object-Oriented Programming Concepts
  2. Language Basics
  3. Classes and Objects
  4. Interfaces and Inheritance
  5. Numbers and Strings
  6. Generics
  7. Packages

Link:

http://java.sun.com/docs/books/tutorial/java/index.html 

To do:

  1.  Write code to exhibit the 4 Object-Oriented Programming Concepts of JAVA.
  2. Write a sample code using the concept of generics.
  3. All the above code should have a proper package structure, with class comments, code level comments, proper formatting & naming conventions.

Day 4

  1. Exceptions
  2. Basic I/O
  3. The Platform Environment (just for reading – not in depth)
  4. Regular Expressions (just for reading – not in depth)

Link:

http://java.sun.com/docs/books/tutorial/essential/index.html 

To do:

  1. Write a sample exception class and use it in another sample class.
  2. Write a class to use the various I/O API’s that you have learnt.
  3. All the above code should have a proper package structure, with class comments, code level comments, proper formatting & naming conventions.

Day 5

  1. Collection framework
  2. Collection Interfaces & their Implementations.
  3. Understand about what unique functionalities each of the implementation has.

Link:

http://java.sun.com/docs/books/tutorial/collections/index.html 

To do:

  1. Write a class trying to use a few collection objects; example - List, Map, Set.
  2. Write an object model trying to describe the structure within a school using one or more of collection objects.
  3. All the above code should have a proper package structure, with class comments, code level comments, proper formatting & naming conventions.

Day 6 – 7 can be used to revise a topic and for completing any pending work.

Day 8 & 9

  1. Concurrency Chapter
  2. Threading concepts (definition, starting threads, pausing, interrupts, joins, wait & notify)
  3. Synchronization concepts
  4. Deadlock

Link:

http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html 

To do:

  1. Write a thread class using the three methods possible (extending thread, implementing runnable, anonymous inner thread)
  2. Make the thread sleep for some time and wake up.
  3. Use two threads to demonstrate wait and notify concept.

Day 10

  1. SQL concepts

Link:

http://www.w3schools.com/sql/default.asp 

To do:

  1. If time permits install mysql and create a table and practice a few queries.
  2. Try to complete the quiz online http://www.w3schools.com/sql/sql_quiz.asp 

Or

  1. Practice all that you learnt in the online database simulator with a sample table - http://www.w3schools.com/sql/sql_tryit.asp 
  2. Try to complete the quiz online http://www.w3schools.com/sql/sql_quiz.asp 

Day 11

  1. Xml
  2. HTML
  3. Java Script

Link:

http://www.w3schools.com/xml/default.asp 

http://www.w3schools.com/html/default.asp 

http://www.w3schools.com/js/default.asp 

To do:

  1. Try to complete the following quizzes
    http://www.w3schools.com/xml/xml_quiz.asp
    http://www.w3schools.com/html/html_quiz.asp 
    http://www.w3schools.com/js/js_quiz.asp 

Day 12 - 15

  1. Read about JSP
  2. Read about servlet
  3. Building a web application with the folder structure.
  4. Read about J2EE

Link:

http://java.sun.com/javaee/reference/tutorials/ 

http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPIntro.html 

http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets.html 

http://java.sun.com/products/servlet/articles/tutorial/ 

http://download.oracle.com/docs/cd/E17477_01/javaee/5/tutorial/doc/ 

http://www.adp-gmbh.ch/blog/2004/october/13.html 

To do:

Create a sample web application to take input from the user, save it into the collection object, apply some business logic to it and then retrieve it and display it to the user. If possible, try to use Database also.

Tools: eclipse & tomcat

Technologies: servlet, jsp, js

Optional: mysql

Hint:  By default, tomcat will come with sample web applications for servlet and jsp.

http://localhost:8080/examples (after your tomcat installation)

Day 16

  1. Spring - Read the basic concepts & understand the working.
  2. Hibernate- Read the basic concepts & understand the working.

Link:

http://en.wikipedia.org/wiki/Spring_Framework 

http://en.wikipedia.org/wiki/Hibernate_%28Java%29 

http://docs.jboss.org/hibernate/stable/core/reference/en/html/ 

http://static.springsource.org/spring/docs/2.5.x/reference/index.html 

To do:

Optional but better if you attend the 45 – 60 minute online quiz covering all the topics that have been completed in the last 15 days.