Java Programming, Fifth Edition provides the beginning programmer with a guide to developing applications
using the Java programming language. Java is popular among professional programmers because it
can be used to build visually interesting graphical user interface (GUI) and Web-based applications. Java
also provides an excellent environment for the beginning programmer—a student quickly can build useful
programs while learning the basics of structured and object-oriented programming techniques.
This textbook assumes that you have little or no programming experience.
JDK 1.5 introduces several extensions to the Java programming language. One of these
is the introduction of generics.
This tutorial is aimed at introducing you to generics. You may be familiar with
similar constructs from other languages, most notably C++ templates. If so, you’ll soon
see that there are both similarities and important differences. If you are not familiar
with look-a-alike constructs from elsewhere, all the better; you can start afresh, without
unlearning any misconceptions.
Generics allow you to abstract over types.
Introduction to java programming: Chapter 24 - Multithreading's Objectives is to understand the concept of multithreading and apply it to develop animation; develop task classes by implementing the Runnable interface in cases of multiple inheritance; create threads to run tasks using the Thread class; control animations using threads.
Introduction to java programming: Chapter 20 - Lists, Stacks, Queues, Trees, and Heap's Objectives is to describe what a data structure is; explain the limitations of arrays; implement a dynamic list using an array; implement a dynamic list using a linked structure.
Introduction to java programming: Chapter 22 - Java Collections Framework's Objectives is to describe the Java Collections Framework hierarchy; use the Iterator interface to traverse a collection; discover the Set interface, and know how and when to use HashSet, LinkedHashSet, or TreeSet to store elements.
Introduction to java programming: Chapter 23 - Algorithm Efficiency and Sorting's Objectives is to estimate algorithm efficiency using the Big O notation; understand growth rates and why constants and smaller terms can be ignored in the estimation.
Introduction to java programming: Chapter 25 - Netorking's Objectives is to comprehend socket-based communication in Java, understand client/server computing, to implement Java networking programs using stream sockets, obtain Internet address using the InetAddress class, develop servers for multiple clients.
Introduction to java programming: Chapter 26 - Internationalization's Objectives is to describe Java's internationalization features; to construct a locale with language, country, and variant; to display date and time based on; to display numbers, currencies, and percentages based on locale.
Introduction to java programming: Chapter 27 - JavaBeans and Bean Events's Objectives is to know what a JavaBeans component is; discover the similarities and differences between beans and regular objects; understand JavaBeans properties and naming patterns.
Introduction to java programming: Chapter 28 - Containers, Layout Managers, and Border's Objectives is to know the internal structures of the Swing container, understand how a layout manager works in Java, use CardLayout, GridBagLayout, BoxLayout LayeredLayout, and SpringLayout.
Introduction to java programming: Chapter 29 - Menus, Toolbars, Dialogs, and Internal Frame's Objectives is to create menus; learn the menu components JMenuBar, JMenu, JPopupMenu JMenuItem, JCheckBoxMenuItem, and JRadioButtonMenuItem; create popup menus; use JToolBar to create tool bars.
Introduction to java programming: Chapter 30 - MVC and Swing MVC Component's Objectives is to use the model-view-controller approach to separate data and logic from the presentation of data; implement the model-view-controller components using the JavaBeans event model; use JSpinner to scroll the next and previous values.
Introduction to java programming: Chapter 31 - JTable and JTree's Objectives is to use JTable to display and process tables; use JTree to display data in a tree hierarchy; create custom renderers for JSpinner, JList, JComboBox, JTable, and JTree.
Introduction to java programming: Chapter 32 - Java Database Programming's Objectives is to become familiar with the JDBC API; learn how to load a driver, connect to a database, execute statements, and process result sets using JDBC; use the prepared statements to execute precompiled SQL statements.
Introduction to java programming: Chapter 33 - Advanced Java Database Programming's Objectives is to execute SQL statements in a batch mode; to process updateable and scrollable result sets; store and retrieve images in JDBC.
Introduction to java programming: Chapter 34 - Servlet's Objectives is to understand the concept of servlets; run servlets with Tomcat; know the servlets API; create simple servlets; create and process HTML forms; develop servlets to access databases.
Introduction to java programming: Chapter 35 - JavaServer Page's Objectives is to know what is a JSP page is processed, to comprehend how a JSP page is processed, to learn how to use JSP constructs, to become familiar with JSP predefined variables and JSP directives.
Introduction to java programming: Chapter 36 - Remote Method Invocation's Objectives is understand how RMI works; learn the process of developing RMI applications, Know the differences between RMI and socket-level programming, develop three-tier applications using RMI, use callbacks to develop interactive applications.