60 Free Java programming and Design books online

A huge collection of books, tutorials and resources related to Java. All of them are free and available online.

Java Links

  1. Java Download
  2. jdk and JCreator
  3. Java
  4. Intro to Programming
  5. Java Tutorial
  6. Stanford Java Tutorial
  7. Intro to Java Programming
  8. Java Lecture Notes
  9. Java Tutorials
  10. Java Coffee Break Tutorial
  11. Data Structures
  12. Java Data Structures Tutorial
  13. Tutorial-Java
  14. Java Tutorial Beginners
  15. Basic Tutorial-Java-Very Good
  16. www.freeprogrammingresources.com
  17. Intro to Programming
  18. Blue Pilican Java Videos
  19. Java Language Specifications
  20. Exploring Java
  21. Core Servlets and JavaServer Pages
  22. Bleeding at the Keyboard: A Guide to Modern Programming with Java

Java Books

  1. UML for Java Programmers
  2. Core Java Volume II
  3. Data Structures and Algorithm Analysis
  4. Data Structures & Algorithms with Java
  5. Java Au Naturel
  6. Java General
  7. Data Structures with Java
  8. Java For Dummies
  9. Java Essentials
  10. Java Essentials II
  11. Java E-Books
  12. Data Structures and Algorithms with OO Design Patterns
  13. Advanced Programming for Java 2 Platform
  14. Java Naitive Interface
  15. Securing Java
  16. Java Client Programming
  17. Java Look and Feel Design Guidlines
  18. Various Java Books
  1. Tutorial for building J2EE Applications using JBOSS and ECLIPSE ( 1847 ) 
    This tutorial is about building Java 2 Platform, Enterprise Edition (J2EE) components using Eclipse as an Integrated Development Environment (IDE) and JBOSS as the Application Server. Tutorial covers step-by-step development of J2EE components, starting from setting up Eclipse, JBOSS and Lomboz. Lomboz uses Xdoclet (Attribute Oriented Programming) for rapid development of J2EE components.

  2. Java Certification FAQ ( 1186 ) 
    Frequently asked Questions on Java Programmer Certification by Marcus Green

  3. Java 5 Tutorials and Training Materials ( 1075 ) 
    The tutorials were originally based on the second edition of Marty's book Core Web Programming, and then updated based on new features in Java 5 .

  4. Core Servlets & JSP. ( 980 ) 
    Costomized Free Tutorials & Training Course Materials of JSP, Servlets, Apache Struts, JSF, & Java 5 Programming according to your requirements.

  5. Core Servlets and JavaServer Pages (JSP) ( 971 ) 
    Free online version of the first and the second edition of Core Servlets and JavaServer Pages (JSP)is available.

  6. Java Boutique's JNews Newsletter ( 954 ) 

    The Java Boutique JNews Newsletter will keep you informed about the latest Java applets, Java industry news, and developer trends. JNews brings you a roundup of applets that you can use on your Web site to attract visitors, generate traffic, and add some spice to your site!

  7. JARS Java Update ( 939 ) 
    An update from the #1 Java Review Service.

  8. Chapter 5: Substitutes for C Constructs ( 883 ) 
    This chapter suggests replacements for several omitted C constructs whose replacements are not so obvious.

  9. Chapter 3: Methods Common to All Objects ( 850 ) 
    This chapter tells you when and how to override the nonfinal Object methods.

  10. Java5 J2EE interview questions and answers ( 545 ) 

    Arun Kumar _ Java 5_J2EE Interviews Questions and Answers

  11. Java Study Guide - SCJP Tiger ( 337 ) 

    The purpose of this document is to help in preparation for exam CX-310-055 (Sun Certified Programmer for the Java 2 Platform, Standard Edition 5.0).

    This document should not be used as the only study material for SCJP Tiger (Sun Certified Programmer for the Java 2 Platform, Standard Edition 5.0) Test. It covers mostly Java 5.0-specific objectives. I tried to make this document as much accurate as possible, but if you find any error, please let me know.

    Table of Contents

    I. Exam Objectives
    1. Declarations, Initialization and Scoping
    2. Flow Control
    1. Develop code that implements an if or switch statement; and identify legal argument types for these statements.
    2. Develop code that implements all forms of loops and iterators, including the use of for, the enhanced for loop (for-each), do, while, labels, break, and continue; and explain the values taken by loop counter variables during and after loop execution.
    3. Develop code that makes use of assertions, and distinguish appropriate from inappropriate uses of assertions.
    4. Develop code that makes use of exceptions and exception handling clauses (try, catch, finally), and declares methods and overriding methods that throw exceptions.
    5. Recognize the effect of an exception arising at a specified point in a code fragment. Note that the exception may be a runtime exception, a checked exception, or an error.
    6. Recognize situations that will result in any of the following being thrown: ArrayIndexOutOfBoundsException, ClassCastException, IllegalArgumentException, IllegalStateException, NullPointerException, NumberFormatException, AssertionError, ExceptionInInitializerError, StackOverflowError or NoClassDefFoundError. Understand which of these are thrown by the virtual machine and recognize situations in which others should be thrown programatically.
    3. API Contents
    1. Develop code that uses the primitive wrapper classes (such as Boolean, Character, Double, Integer, etc.), and/or autoboxing & unboxing. Discuss the differences between the String, StringBuilder, and StringBuffer classes.
    2. Given a scenario involving navigating file systems, reading from files, or writing to files, develop the correct solution using the following classes (sometimes in combination), from java.io: BufferedReader, BufferedWriter, File, FileReader, FileWriter and PrintWriter.
    3. Develop code that serializes and/or de-serializes objects using the following APIs from java.io: DataInputStream, DataOutputStream, FileInputStream, FileOutputStream, ObjectInputStream, ObjectOutputStream and Serializable.
    4. Use standard J2SE APIs in the java.text package to correctly format or parse dates, numbers, and currency values for a specific locale; and, given a scenario, determine the appropriate methods to use if you want to use the default locale or a specific locale. Describe the purpose and use of the java.util.Locale class.
    5. Write code that uses standard J2SE APIs in the java.util and java.util.regex packages to format or parse strings or streams. For strings, write code that uses the Pattern and Matcher classes and the String.split(...) method. Recognize and use regular expression patterns for matching (limited to: . (dot), * (star), + (plus), ?, \d, \s, \w, [], ()). The use of *, +, and ? will be limited to greedy quantifiers, and the parenthesis operator will only be used as a grouping mechanism, not for capturing content during matching. For streams, write code using the Formatter and Scanner classes and the PrintWriter.format/printf methods. Recognize and use formatting parameters (limited to: %b, %c, %d, %f, %s) in format strings.
    4. Concurrency
    1. Write code to define, instantiate, and start new threads using both java.lang.Thread and java.lang.Runnable.
    2. Recognize the states in which a thread can exist, and identify ways in which a thread can transition from one state to another.
    3. Given a scenario, write code that makes appropriate use of object locking to protect static or instance variables from concurrent access problems.
    4. Given a scenario, write code that makes appropriate use of wait, notify, or notifyAll.
    5. OO Concepts
    1. Develop code that implements tight encapsulation, loose coupling, and high cohesion in classes, and describe the benefits.
    2. Given a scenario, develop code that demonstrates the use of polymorphism. Further, determine when casting will be necessary and recognize compiler vs. runtime errors related to object reference casting.
    3. Explain the effect of modifiers on inheritance with respect to constructors, instance or static variables, and instance or static methods.
    4. Given a scenario, develop code that declares and/or invokes overridden or overloaded methods and code that declares and/or invokes superclass, overridden, or overloaded constructors.
    5. Develop code that implements "is-a" and/or "has-a" relationships.
    6. Collections / Generics
    1. Given a design scenario, determine which collection classes and/or interfaces should be used to properly implement that design, including the use of the Comparable interface.
    2. Distinguish between correct and incorrect overrides of corresponding hashCode and equals methods, and explain the difference between == and the equals method.
    3. Write code that uses the generic versions of the Collections API, in particular, the Set<E>, List<E>, Queue<E> and Map <K,V> interfaces and implementation classes. Recognize the limitations of the non-generic Collections API and how to refactor code to use the generic versions.
    4. Develop code that makes proper use of type parameters in class/interface declarations, instance variables, method arguments, and return types; and write generic methods or methods that make use of wildcard types and understand the similarities and differences between these two approaches.
    5. Use capabilities in the java.util package to write code to manipulate a list by sorting, performing a binary search, or converting the list to an array. Use capabilities in the java.util package to write code to manipulate an array by sorting, performing a binary search, or converting the array to a list. Use the java.util.Comparator and java.lang.Comparable interfaces to affect the sorting of lists and arrays. Furthermore, recognize the effect of the "natural ordering" of primitive wrapper classes and java.lang.String on sorting.
    7. Fundamentals
    1. Given a code example and a scenario, write code that uses the appropriate access modifiers, package declarations, and import statements to interact with (through access or inheritance) the code in the example.
    2. Given an example of a class and a command-line, determine the expected runtime behavior.
    3. Determine the effect upon object references and primitive values when they are passed into methods that perform assignments or other modifying operations on the parameters.
    4. Given a code example, recognize the point at which an object becomes eligible for garbage collection, and determine what is and is not guaranteed by the garbage collection system. Recognize the behaviors of System.gc and finalization.
    5. Given the fully-qualified name of a class that is deployed inside and/or outside a JAR file, construct the appropriate directory structure for that class. Given a code example and a classpath, determine whether the classpath will allow the code to compile successfully. Write code that correctly applies the appropriate operators including assignment operators (limited to: =, +=, -=), arithmetic operators (limited to: +, -, *, /, %, ++, --), relational operators (limited to: <, <=, >, >=, ==, !=), the instanceof operator, logical operators (limited to: &, |, ^, !, &&, ||), and the conditional operator ( ? : ), to produce a desired result. Write code that determines the equality of two objects or two primitives.

    Visit the website