Application Development in JAVA Duration Lecture: Specialization x Hours Core Java (J2SE) & Advance Java (J2EE) Detailed Module Part I: Core Java (J2SE) Getting Started What is Java all about? Features of the Java Language The Java Environment Installing the JDK Compiling a Java Program Executing a Java Application Object-Oriented Programming in Java Java Program Structure Setting up Your Application Development Environment Introducing NetBeans o Obtaining NetBeans o Installing NetBeans NetBeans Setup o Staring Apache Tomcat Setting up NetBeans o Configuring JAVA Creating a Project o Creating new Application o Importing Existing Application Compiling & Running a Program Uninstalling and Reinstalling NetBeans Data Types, Variable, Comments & Operators Primitive Data Types o Byte o Short o Integer o Char o Long o Float o Double o Boolean Variables o Declaring Variable o Assigning Variable Comments o Single Line Comments o Multiple Line Comments o Javadoc Comments Operators in Java o Assignment Operator (=) o Arithmetic Operators (+, -, *, /, %) o Unary Operators (+, -, ++, --,!) o Equality & Relational Operators (==,!=,>, >=,<,<=) o Conditional Operators (&&,,?:) o Type Comparison Operators (instanceof) o Bitwise Operator (~, <<, >>, >>>, &, ^, ) Control Flow of a Java Program Selection Statement o if statement o else-if statement o switch case Loop Statement
o while loop o do-while loop o for loop o enhanced for loop Transfer Statement o break o continue o return Nesting of Loops & Selection Statements Assert Statement Arrays, Strings & Enums Arrays o Array as an Object o Creating Arrays Single Dimension Array Multi Dimension Array o Assigning Values to Array o Retrieving Values from Array o Length of an Array o Irregular Arrays String o String as a Class o Creating String Object o Operation on String o Joining & Comparing String o Accessing & Extracting Substring o Using StringBuffer Class o Tokenizing a String Enums o Creating enums Adding Constant in enum Accessing Values from enum o Enum in Swith Case Objects & Classes Introduction to Object Oriented Programming (OOPs) Pillars of OOPs o Abstraction o Encapsulation o Inheritance o Polymorphism Defining Classes Access Specifiers o Public o Private o Protected o Default Defining Methods Accessing Variable & Methods Returning from a Method Arguments & Parameters Actual & Formal Parameter Constructors o Use of Constructor o Default Constructor o Parameterized Constructor o Use of this & super Keyword Passing Argument to a Method Local, Class & Static Variables Static Block Packages o Understanding Packages o Compiling a Package o Importing & Accessing a Package Nested and Inner Classes final, finally & finalize() Keyword Anonymous Class Wrapper classes Generic Classes
Inheritance, Overloading & Overriding Inheritance o Use of Inheritance o Types of Inheritance Single inheritance Multilevel inheritance Hierarchical inheritance Multiple inheritance o Deriving a Class o Using extends Keyword o this & super Keyword Usage o Calling Base Class Constructor Overloading o Overloading of Methods o Overloading of constructors Overriding o Overriding of Base Class Method Abstract Classes & Methods o Use of an abstract Class o Creating abstract Classes o Creating abstract Method Interface Error & Exception Handling Error v/s Exception Type of Exceptions o Checked Exception o Unchecked Exception The try-catch-finally Statement Multiple Catch Block User Define Exception with throw Understanding Stream Understanding Streams Input and Output Streams Binary and Character Streams Basic Input/Output Stream Operations Stream Readers and Writers Getting Data from the Keyboard Writing to the Command Line The Printf() Method File Handling in JAVA Managing Files o Getting Information About Files o Copying, Renaming, and Deleting Files o Organizing Files Creating a Directory Building a List of all the Files in a Directory Reading and Writing Files o Accessing Files Opening Files in Read Mode Opening Files in Write Mode Closing a File o Writing to a File o Reading from a File Reading Files Piece by Piece Reading a file into a String Serializing Object o Storing Object in a File o Reading Object from a File The Collection Framework Understanding the Collections Framework Core Collection Interface o Collection Interface o Iterator Interface o Set Interface o List Interface o ListIterator Interface
o Map Interface o SortedSet Interface o SortedMap Interface Core Collection Classes o HashSet Class o TreeSet Class o ArrayList Class o LinkedList Class o HashMap Class o TreeMap Class o Vector Class o Stack Class Sorting Algorithms Threading Techniques Understanding Threads Extending Thread class Creating Threads Stopping a Thread Implementing the Runnable Interface Synchronization Using wait() & notifyall() methods Using Thread Priority Graphical Programming Introduction to Swing Creating Frames Using Panel & Container Text field, Password Field & Text Area Performing Action Using Buttons Jtree Tabbed Pane Layouts o Flow Layout o Border Layout o Grid Layout o Gridbag Layout Creating Menubar Using Listener o Action Listener o Item Listener o Focus Listener Part II: JAVA Database Connectivity (JDBC) Introduction to JDBC JDBC Driver o JDBC-ODBC Bridge Driver o Native-API Driver o Network Protocol Driver o Native Protocol Driver JDBC Connection o Importing JDBC Driver o Registering JDBC Driver o Database URL Formulation o Creating Connection Object Prepared Statement o Overview of Prepared Statement o Normal Statement v/s Prepared Statement o Creating Prepared Statement Object o Passing Values to Prepared Statement Parameters Result Sets o Retrieving Values from Result Sets o Modifying Values from Result Sets Closing Database Connection DML & DDL Statements using JDBC
Part III: Advance JAVA (J2EE) Introduction to J2EE Need of Web Application Http Protocol Static & Dynamic Page Concept Working of Browser What is Java 2 Platform for Enterprise Edition? Web Application & Http Basics Design Your Application Introduction to HTML o Getting Started o Building Links o Images & Special Character o Interactive Document Content Text Boxes Password Boxes Text Area Radio Button Check Box Drop Down List File Uploading Box Passing Values from FORMS o GET Method o POST Method Introduction to CSS Files o Problems of HTML Formatting o How CSS Fixes Formatting Problems o An Introduction to CSS o CSS-The Language The Style Sheet o Adding CSS to Your Pages o Creating New Styles in External Style Sheets o Creating Embedded and Inline Style Sheets Applying Styles o Tags, Classes, IDs Servlet Programming Introduction to Servlets Servlet Life Cycle Request Handling Response Generation Handling Cookies o Setting a Cookie o Reading a Cookie o Setting Cookie Attribute Session Tracking o Starting a Session o Destroying a Session o Retrieving and Setting Session ID o Creating & Deleting Session Variable Http Request Handlers Using Filters The RequestDispatcher JAVA Server Pages (JSP) Introduction to JSP JSP Page Lifecycle JSP Tags o Directive o Declarative o Scriptlet o Expression o Action o Comments JSP Implicit Objects o Application o Session o Request & response o Page
o pagecontext o out o config o exception Mail Functionality in JAVA Developing JSP Pages Using Custom Tags Database Driven Website in JSP o Loading & Registering JDBC Driver o Creating Connection Object o Creating Statement Retrieving & Modifying Data o Displaying Output in HTML Division Creating Flicker-Free Pages Using AJAX in JAVA with Database Introduction to Struts Framework Introduction to MVC Framework What is Struts? Setting Up Struts in Project in Eclipse Creating the Action Class Adding ActionForward Deploying the Struts Application Adding the Form Bean Configuring Form Bean in struts-config.xml Using Struts Tag Libraries Introduction to Validation Framework o Client Side Validation o Introduction to Standard Validator-Rules.xml o Creating Custom Validator Rules Exception Handling in Struts Using AJAX in Application Introducing AJAX Using AJAX in JAVA o XMLHttpRequest Object o Sending Data to Server o Processing Data in JavaScript o Receiving the Output