Java Core & Advance Java

What you’ll learn ?

 
  • Experiment with different methods to manipulate strings in Java, such as toUpperCase, split, and contains.Experiment with different methods to manipulate strings in Java, such as toUpperCase, split, and contains.
  • Make use of multi-threading in Java to create concurrent programs.
  • Utilize Java applets to create simple interactive web applications.
  • Combine various JDBC operations to interact with a database in a Java program.
  • Solve problems related to file handling in Java using appropriate classes and methods.
  • Predict outcomes of string operations like compareTo and compareToIgnoreCase.
  • Survey various AWT controls to understand their functionalities and event handling.
  • Compare Java applets with Swing components to understand their differences in event handling.
  • Examine the life cycle of Java applets and their unique characteristics.
  • Differentiate between Lambda expressions and anonymous inner classes in the context of multi-threading in Java.
  • Distinguish between JSP and servlets in terms of functionality and their roles in a web application.
  • Conclude which JSTL tags are most appropriate for specific tasks in JSP, such as looping or conditional logic.
  • Inspect an HTML form to ensure proper data collection and integration with JSP or servlets.
  • Draw relationships between different JSP implicit objects and their usage scenarios.
  • Appraise various session management techniques, including cookies and sessions in JSP.
  • Argue the merits of using JDBC with JSP for database connectivity and data manipulation.
  • Assess the security implications of session and cookie management in web applications.
  • Defend the use of servlets for specific tasks within a larger web application context.
  • Estimate the impact of context parameters on servlet operations and web application configuration.
  • Judge the best approach for reading and writing cookies in a web application based on given requirements.

Syllabus

Strings in Java
  • Basics of strings in Java
  • Important String class methods
  • Comparing two strings
  • Printing an object using toString() method
  • StringBuffer & StringBuilder classes
  • Finding length without using an in-built function
  • Explanation of isletter, isDigit, isWhitespace, isUpperCase, isLowerCase
  • Programs of isLetter, isDigit, isWhitespace, isUpperCase, isLowerCase
  • Explanation of toUppercase, toLowercase, toString
  • Programs of toUppercase, toLowercase, toString
  • Explanation of reverse and delete methods
  • Programs of reverse and delete methods
  • Explanation of Insert, compareTo, compareToIgnoreCase
  • Programs of Insert, compareTo, compareToIgnoreCase
  • Explanation of getBytes, getChars(), lastindex, matches
  • Programs of getBytes, getChars(), lastindex, matches
  • Explanation of split, subSequence, valueOf
  • Programs of split, sunSequence, valueOf
  • Explanation of join, contains
  • Programs of join and contains
  • Basics of MultiThreading
  • Implementing Runnable interface for Multithreading
  • Extending Thread class for Multithreading
  • Thread Names, Priorities, the parent thread
  • Method main as a thread
  • Anonymous inner classes
  • LAMBDA expressions
  • Introduction to DBMS & Databases
  • Creating a Database and Table using MySQL Workbench GUI
  • Creating a Database and Table at the command prompt
  • Issuing SQL statements on Command prompt
  • Alter table queries
  • Indexes
  • Constraints
  • Basics of JDBC & its architecture
  • Steps for JDBC coding
  • Coding a JDBC program for SQL statement Select
  • Coding a JDBC program for SQL statement Insert
  • Coding a JDBC program for SQL statement delete
  • Coding a JDBC program for SQL statement update
  • Basics of streams
  • Using BufferedReader and InputStreamReader classes
  • Reading from a file
  • Writing on a file
  • Copying the content of a file into another
  • Using BufferedReader class to read files
  • Serialization of objects
  • Deserialization of objects
  • Basics of Java Applets
  • Writing your first applet and understanding life cycle
  • Working with colors and fonts
  • Passing parameters to an applet
  • Passing parameters to an applet – execution
  • First Applet in Netbeans
  • Drawing figures
  • Basics of event handing
  • Handling mouse events
  • AWT Controls
  • Using Fonts and Colours in AWT Controls
  • Positioning AWT Controls by setBounds() method
  • Handling Button events
  • Handling Checkbox events
  • Handling Radio button events
  • Handling Scrollbar Events
  • Handling List Events
  • First Example of an Applet form project
  • Using AWT Controls from Palette Box
  • Autogenerated Code
  • Handling Button events through Applet forms
  • Handling Checkbox events through Applet forms
  • Handling Choice events through Applet forms
  • Differences between Applets and Frames
  • First Example of a Frame
  • Getting more comfortable – Another example of a Frame
  • Second Example of a Frame – Execution
  • Changing the Title and Size of a Frame Window
  • Changing the background color of a Frame window
  • Basics of Swings & differences from Applets
  • First sample program of swings
  • Using setBounds() and setFonts() with swing controls
  • Using JCheckBox class object
  • Creating a tree structure using JTree class object
  • Handling events of JButton objects
  • Handling events of JCheckBox object
  • Handling events of JRadioButton objects
  • First Sample swing Program in Netbeans
  • Using Swing controls in JApplet project
  • Event Handling in Japplet
  • Using JOptionPane class for message dialog boxes
  • First sample JApplet Form swing
  • More stuff on JApplet Form swings
  • First Example program of JFrame Project
  • Working with DateChooser
  • Creating a MenuBar – Menu objects, MenuItem Objects
  • Handling Events of MenuItems
  • Requirements
  • Introduction to web applications
  • Installing Tomcat server
  • Installing Eclipse IDE
  • Connecting Eclipse to Tomcat
  • The very first program of JSP
  • JSP Tags
  • Implicit objects in JSP
  • Request implicit object of JSP
  • JSP tags practical examples
  • Using import
  • JSP tags practical examples
  • Including pages into a JSPpage
  • Difference between jsp:forward and jsp:include
  • Creating a Java class within the Scriptlet tag
  • Using Products class within the Scriptlet tag
  • Using Authors class within the Scriptlet tag
  • Steps to write a java class outside JSP code
  • Interest calculation class outside JSP code
  • Students class outside JSP code
  • Partial execution on the console window
  • Using Eatables class outside the JSP code
  • Using two packages in JSP code
  • Using inheritance example in JSP code
  • Introduction to HTML
  • Writing firs program
  • Changing background color and text color
  • Inserting headings
  • Alignments of headings
  • Paragraphs and pre-formatting tags
  • Formatting tags
  • Comments in HTML
  • Drawing a horizontal line
  • Inserting images
  • Using hyperlinks
  • Understanding HTML entities
  • Examples of HTML entities
  • Some more important tags
  • Using style attribute for color and font size
  • Div and span tags
  • Marquee tag for scrolling text
  • Unordered lists
  • Subsists under unordered list
  • Ordered lists
  • Subsists under ordered list
  • Definition list
  • Creating tables
  • Adding caption of a table
  • Basics of HTML forms
  • Reading data from Textboxes
  • Reading data from countries form
  • Reading data from schools’ form
  • Alternative to getParameter() method
  • Reading data from laptops form
  • Reading data from dropdown list
  • Reading data from careers form
  • Reading data from radio buttons (option buttons)
  • Reading data from businesses types form
  • Reading data from a single checkbox
  • Reading data from a group of checkboxes
  • Basics of session management
  • Storing & retrieving from a session object
  • Storing food items in a session
  • Another practical example of sessions
  • Concepts of cookies
  • Storing & retrieving cookies
  • Cookies for storing credentials of user
  • Working with multiple cookies
  • Storing courses names in cookies
  • Basic concepts of JSTL
  • Using & JSTL tags
  • Dairy products JSTL example
  • Using JSTL tag
  • Testing grades examples
  • Using JSTL tag
  • Printing reverse counting
  • Using , & JSTL tags
  • Choosing examination centre example
  • Understanding DBMS, databases & tables etc.
  • Getting familiar with JDBC API
  • Steps for JDBC coding
  • Downloading XAMPP for MySQL
  • Alert ! Listen before you proceed
  • Learning SQL
  • How to create a database and tables using GUI in XAMPP
  • Importing MySQL connector
  • Executing SQL command select in JDBC code
  • Displaying the rows in HTML table
  • Executing SQL command insert in JDBC code
  • Basics of servlets
  • Difference between servlets and JSP
  • Introduction to important classes and interfaces
  • First servlet Program – Reading from an HTML form
  • Employees servlet
  • Creating an HTML form within a servlet
  • Creating teachers form within a servlet
  • Dealing with numbers in servlets
  • Interest calculation servlet
  • Introduction to RequestDispatcher interface
  • Coding with RequestDispatcher interface
  • Introduction to SendRedirect method and difference from forward method
  • Coding with sendRedirect method
  • Working with hidden fields
  • URL rewriting
  • Passing voters’ details using URL rewriting
  • Introduction to cookies
  • Writing and reading cookies
  • Login and logout with cookies example
  • Storing customer’s details in cookies
  • Introduction to sessions
  • Writing and reading session objects
  • Storing students’ details in sessions
  • Introduction to ServletContext and ServletConfig interfaces
  • Storing and retrieving a single context parameter
  • Storing & retrieving multiple context parameters
  • Storing product details as context parameters
  • Storing & retrieving a single config parameter
  • Storing & retrieving multiple config parameters
  • Storing train details as config parameters
  • JDBC code for select SQL statement
  • Displaying the records of universities database
  • JDBC code for insert SQL statement
  • Inserting records in the citizen’s table
  • JDBC code for delete SQL statement
  • Deleting a university record