0% found this document useful (0 votes)
367 views

Complete Java Training in Naresh I Technologies

Course Details

Uploaded by

Apurva
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
367 views

Complete Java Training in Naresh I Technologies

Course Details

Uploaded by

Apurva
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 24
JAVA (x collaboration with NASSCOM’ futureskills futureskills Full Stack JAVA DEVELOPER Program Full Stack DATA SCIENCE & Al Program ISO 9001:2015 Certified Company @ 040 - 2374 6666 w® NARESH z ali areshit.com technologies ® www.nareshit.comOur Training Methodology Generate f Awareness On-Job Learning & Orientation Interactive Teaching Methodologies Self Learning oY Materials & POC’s Knowledge-based Learning - Theory Sessions Self Learning - First Order Training Material Hands-On Learning - Lab Sessions Self Learning - POC & Project Development Awareness Generating - Technical, HR & Management - Industry Interaction Sessions re‘NARESH ¢ Core Java Programming Languages © Low Level Programming Language © High Level Programming Language © Procedural Vs object oriented programming oo Introduction to Java © Java Programming Language © Java History © Java Platforms © Java Features © Java Versions © JDK ,JRE, JVM, JIT © What is OpenJDK/AdaptlDK © Differences between JDK and OpenJDK © Which one preferred by industry either JDK/OpenJOK @ Java Features/Character Set of Java Comments & Java Tokens — Identifiers, Keywords, Separators © Naming rules for Identifiers © Naming conventions ® Installation of JDK on all operating systems © Download JDK and install JDK © Windows 32&64bit © Linux 32&64bit © Mac 32&64bit © AIX (optional) © Environment Variables © Version Checking > Structure of Java Program Documentation Section © Package Statement © Import statements © Class definition ® First Java Program © Writing © Saving © Compilation © Execution © Working with Jshell > Literals © Numeric Literals © Integer, Floating-point © Character Literals © Boolean Literals © String Literals © null literal ® Variables & Data Types © Primitive Data Types © Reference Types © Local Variables oP Type Conversions © Auto Conversion/Widening/implicit conversion © Casting/narrowing/explicit conversion } Operators © Arithmetic Operators Increment/ Decrement Operators © Assignment Operators © Relational Operators © Negation Operator © Bitwise Complement Operator © Logical Operators © Bitwise Operators © Shift Operators © Conditional Operator © new Operator © instance of Operator © Operators Precedence © Operators Associativity © Numeric Type Promotions4 Reading Data from Keyboard © Using Scanner class © Getting different Primitive data oo Control Structures © Decision Making Statements — if, if.else, nested if, ladder if, switch © Repetitive Statements — while, do...while, for, labelled loops © Branching Statements - break, continue, return > Methods © Method Syntax © Zero Parameters Method © Methods with Parameters © Method Returns Void © Method Returns Value © Overloading Methods © In-out implementation ® Arrays © Single Dimensional Arrays © Enhanced for loop © Multi Dimensional Arrays © Jagged Arrays © Variable Arguments (Var-Args) © Method Passing Arrays © Method returns Array © Case Study > Command-line Arguments Working with Java IDEs © Eclipse © Netbeans IDE © Intellij IDE © Creating Project with IDE © Debugging a Java Program «NARESH } Object Oriented Programming © Introduction © Procedure Oriented Vs Object Oriented Approach © Class & Object © Java Modifiers © Access Modifiers * Non Access Modifiers © Encapsulation © Getter & Setters © Instance & Class Variables © Instance & Class Methods © Constructors © Blocks © Overloading Constructors © this keyword © Constructor Vs Method © Passing & Returning Object from Method © Inheritance © Method Overriding © super keyword © Super Constructors © Polymorphism © Static Binding Vs Dynamic Binding © Relationships © Object Cloning - Shallow & Deep © Design Patterns © Case Study oo JVM Architecture e Java Runtime Environment © Memory Areas of JVM © Class Loaders © Execution Engine — Interpreter & JIT Co Reflection API © Reflection in Java © Classes in java.lang.reflect © Methods of java.lang.Class © Getting Complete information of a Java class © Access Private constructor from outside of a class@ Static member execution flow Non-Static/Instance member execution flow Abstraction © Abstract Methods © Abstract class, Class Vs Abstract Class © Interfaces © Multiple Inheritance using Interfaces © Interface Vs Abstract class ¢ default and static methods in Interface © public & private static methods in interface © Marker Interface ¢ Functional Interface * Anonymous Class © Lambda Expressions © Method reference © Reference to a static method © Reference to a instance method © Reference to a constructor © Abstract class with constructor and its importance © Case Study oo Inner Classes © Nested Top Level/ Static Inner Class © Member Classes © Local Classes © Anonymous Class > Packages © Need of Packages © Built-in Packages ¢rtjar and Java Modules © Preparation of JAR file and How to run it. © Uses of JAR files © User-defined Packages © Package naming rules + Importing packages © Sub-Packages classpath Environment Variable + Static Imports ‘NARESH ¢ > String Handling © String StringBuffer StringBuilder © String Vs StringBuffer © StringBuffer Vs StringBuilder © StringJoiner © Immutablitiy © Creating Immutable class © StringTokenizer © String Pool with memory management > Wrapper Classes © Need of Wrapper Classes © List of Wrapper Classes ‘© Wrapper Class Methods © Boxing & UnBoxing © Auto Widening © Widening beats Boxing © Widening beats Varargs © Boxing beats Varargs Exception Handling © What is Exception + Exception Propagation ¢ Hierarchy of Exception classes Exception Types © Exception Vs Error Checked Vs Unchecked Exceptions + Keywords used for Exception Handling — try, catch, finally, throw, throws © try with catch ¢ try with multiple catch blocks © Nested try blocks * finally block © User-defined / Custom Exceptions ¢ throw statement © throws keyword © throw Vs throws © Method Overriding with Exception Handling © “try” with multiple resources © Adding logic for try block with parameter © Chained Exceptions ¢ Multicatch in Java © try with resourcesoo 10 Streams © Streams in Java © Working with jav.io.File © Byte Streams © Input Streams & Output Streams © Character Streams © Readers & Writers © Serialization & De-serialization, SerialCersionUID variable © Externalization © transient Modifier © nio package © Log files creation oo Multithreading with Executor Framework © Multitasking © What is Thread? © Multithreading Main Thread Lifecycle of a Thread © Creating Child Threads ¢ implements Runnable Vs extends Thread © Thread Priorities © Thread class method to pause thread execution « yield() ¢sleep() ¢join() wait() & notify() ¢ interrupt() to interrupt thread pause © Daemon Threads © Thread Synchronization © Deadlock & Prevention of Deadlock © Deadlock Vs Starvation © Inter Thread Communication © Thread Pooling, Thread Group © Concurrent linked queue © ShutdownHook © Executor Framework © CountdownLatch/cyclic barrier © Semaphore, Exchanger «NARESH Synchronization © What and Why? © synchronized method © synchronized block © static synchronization ¢ Inter-thread Communication © Interrupting Thread } Garbage Collection © How Automatic Garbage Collection Works © Old Generation , Eden Space © Mark,Sweep and Compact Operations © Different Garbage Collectors © Which Garbage collector we need to use? © finalize() of java.lang.Object © Object class methods © Usage of equals and hash code method © System.ge() © Runnable.gc() © How to increase java heap size ? © Runtime class Enum Enums © enum in switch © values() and valueOf( ) method © Enum field, methods and constructors oo Generics © Generics © Advantage of Java Generics © Generic Class © Type Parameters © Generic Methods © Wildcard in Generics © Performing multiple task by multiple thread y © ThreadDump (Only Overview)2 Collections Framework © Limitations of Array © Introduction to Collections © Collection Interfaces © List Interfaces © Set Interfaces © Queue Interfaces ¢ List Implementation Classes — ArrayList, Vector, Stack, LinkedList © Cursors in Collection ~ Iterator, listIterator,enumeration,spliterator © Set Implementations Classes — HashSet, LinkedHashSet, TreeSet, EnumSet © Queue Implementaion Classes - ArrayDeque, PriorityQueue © Comparable Interface © Comparator Interface © Comparable Vs Comparator © Map Interface ‘* Map Implementation Classes — HashMap, LinkedHashMap, IdentityHashMap, WeakHashMap, Hashtable, TreeMap, EnumMap © Internal Implementation of HashMap © Arrays Class © Concurrent Collection API © Traditional Collections Vs Concurrent Collections © Collections Factory Methods © Need to override hashCode() and equals() © Preparation customized linkedlist/ implementation of LinkedList code? © Differences between HashMap and ConcurrentHashMap > Java Stream API © Advantages of using Stream API © Stream Interface methods — forEach, map, filter, limit, sorted © Parallel Processing — Collectors & Statistics © Predefined Functional Interfaces — Consumer, Function, Predicate © Optional Class 2 e I «NARESH? Utility Classes © StringTokenizer © Date, Calendar, Currency classes © Formatting Date and Time © Locale, Formatter, Random classes © Timer & TimerTask Classes © Date/Time API > Regular Expressions © Use of Regular Expression © java.util.regex package } Networking © Introduction © InetAddress © Socket Programming © Datagrams © URL & URLConnection Annotations © Use of Annotations © Type of Annotations © Built-in Java Annotations © Custom Annotations > GUI Programming © AWT © Swings © Java FX © APPLETS ® Java 8 Features © Lambda Expressions © Marker and Functional Interfaces © Pipelines and Streams © Date and Time API © Default Methods © Type Annotations © Nashorn JavaScript Engine © Concurrent Accumulators © Parallel operations © Predicate © PermGen Space Removed TLS SNI2 Java9 Features © The Java Platform module system © Dynamic Linking ¢ JShell: the interactive Java REP © Improved Javadoc © Collection factory methodsFactory Methods for Immutable List, Set, Map and Map.Entry © Stream API improvements © Private interface methods © HTTP/2 © Multi-release JARs © Multi-Resolution Image API © CompletableFuture API Improvements © Diamond Operator for Anonymous Inner Class © Miscallenous © GC (Garbage Collector) Improvements © Stack-Walking API Filter Incoming Serialization Data © Deprecate the Applet API © Indify String Concatenation © Enhanced Method Handles « Java Platform Logging API and Service © Compact Strings Parser API for Nashorn > Java10 Features © The Local Variable Type Inference © Time-Based Release Versioning © Garbage-Collector Interface © Parallel Full GC for G1 © Heap Allocation on Alternative Memory Devices © JDK Forest into a Single Repository © Unicode Language-Tag Extensions © Root Certificates © Thread-Local Handshakes © Experimental Java-Based JIT Compiler © Application Class-Data Sharing © API Changes(Additions and Removals etc) a “4 ‘NARESH ¢ Po Java 11 Features © New String methods(isBlank, lines, repeatetc). © New File methods (Writestring,readstring, © isSamefile) © Pattern recognizing methods © Epsilon Garbage Collector © Removed the Java EE / CORBA module and © Thread Functions © Local-Variable Syntax for Lambda Parameters © TimeUnit Conversion © Optional.isEmpty() © Adapt JDK and Open JDK vs Oracle JDK © Changes Overview ® Java 12 Features: JVM Changes JEP 189 — Shenandoah: A Low-Pause-Time Garbage Collector (Experimental) © JEP 346 — Promptly Return Unused Committed Memory from G1 © JEP 344 - Abortable Mixed Collections for G1 Switch Expressions © The new Syntax removes the need for break statement to prevent fallthroughs. © Switch Expressions don’t fall through anymore. © Furthermore, we can define multiple constants in the same label. © default case is now compulsory in Switch Expressions. © break is used in Switch Expressions to return values from a case itself. File mismatch() Method © If the bytes are not identical. In this case, the position of the first mismatching byte is returned File sizes are not identical. In this case, the size of the smaller file is returned.a = =—h—kshtét~”*C—ENA REESE «NARESH? > Compact Number Formatting Teeing Collectors in Stream API © Teeing Collector is the new collector utility introduced in the Streams API. © This collector has three arguments ~ Two collectors and a Bi-function. Java Strings New Methods ¢ indent(),transform() © Optional describeConstable() © String resolveConstantDesc() > _!VM Constants API © Anew package java.lang.constant is introduced with this JEP. JEP 305: Pattern Matching for instanceof Raw String Literals is removed from JDK 12. Java 13 Features © Enhancements for Switch Expressions © Text Blocks instead of Raw String Literals © Dynamic CDS Archives © ZGC returns unused storage © Renewed Socket API‘NARESH ¢ Advanced Java Introduction © About Java Platforms © Applications of Java © About API (Application Programming Interface) © Static Blocks © Introduction to interfaces © Runtime Polymorphism. oo Persistence ‘© What is Persistence? © File management system © Disadvantages of File management system © Database management system © Advantages of Database management system 2 JDBC © Introduction to JDBC © Why JDBC? & ODBC Vs JDBC © Approch-1 Vendor specific library © Disadvantages © Approch-2 X/Open standards © Disadvantages © Approch-3 ODBC standards © Disadvantages © Approch-4 JDBC standards © Advantages JDBC API and JDBC Drivers © About JDBC API © What is a JDBC Driver? © JDBC architecture © Types of JDBC Drivers © JDBC-ODBC bridge driver © Advantages & Disadvantages © Native API Partly Java Driver © Advantages & Disadvantages © Net-Protocol all/pure java driver © Advantages & Disadvantages © Native-Protocol pure java driver © Advantages > JDBC API © JDBC Packages © Java.sql, Javax.sql © Interfaces and classes in above packages © Versions of JDBC API © Steps for developing JDBC application sQu © Introduction to SQL © Types of SQL queries Establishing Connection to Database About DriverManager class © Methods of DriverManager © What is registering driver with DriverManager © Different methods of registering driver with DriverManager © About getConnection method of DriverManager © Syntax of URL to communicate with database © Autoloading of class driver in JDBC 4.0 © Example with Application Statement interface ‘© What is Statement? & Need of Statement © Characteristics of Statement © How to get Statement object? © Methods of Statement © Passing SQL statements to Database © About execute, executeUpdate, executeQuery, largeExecute Updates methods © Example with Application 9. = &oP PreparedStatement interface © What is PreparedStatement? © Need of PreparedStatement © Difference between Statement and PreparedStatement. © How to get PreparedStaement object © Defining parameters © How to pass values to PerparedStatement object © What is SQL Injection attack & how to overcome © Example with Application > Resultset Interface © What is ResultSet?, © Need of ResultSet © How to get resultset object © Methods of ResultSet © Reading data, Various types of ResultSet © Resultset types © TYPE_SCROLL_SENSITIVE © TYPE_SCROLL_INSENSITIVE © TYPE_FORWARD_ONLY © Resultset modes © CONCUR_READ_ONLY, CONCUR_UPDATABLE © Example with Application SQL 99 Datatypes BLOB © Inserting blob type, Reading blob type clos © Inserting clob type, Reading clob type © Array, Inserting array type © Reading array type © Object, Inserting object © Reading object © Example with Application > Metadata © Resultset Metadata © Need of ResultsetMetaData © How to get metadata © DatabaseMetadata © How to get database metadata © Parameterizedmetadata © How to get parameterizedmetadata © Example with Application ‘NARESH ¢ ro CallableStatement © About CallableStatement © Advantage of CallableStatement © Creating CallableStatement object © Calling Procedure using CallableStatement © Calling functions using Callable Statement © About PL/SQL Programming vs Manual on Batch Queries Batch updates © What is batch processing © Batch updates using Statement object © Batch updates using PreparedStatement object 4 Transaction Management © Transaction Definition © ACID Properties © Atomicity, Consistency,|solation, Durability © Methods in Transaction Management © setAutoCommit(), setSavePoint() © commit(), rollback() © Example with All Application Connection Pooling © What is connection pooling? © Advantages of connection pooling © Disadvantage of DriverManager © About DataSource © JDBC connection pooling © Isolation Levels © Example with Application 2 RowSet © What is RowSet? © What is difference between ResultSet and RowSet © Types of RowSets © JdbcRowSet © CachedRowSet © WebRowSet © Example with Application Po Communicating with difference databases © Communicating with MYSQL © Working with CSV files © Communicating with MS-EXCEL © Communicating with PostgreSq| © Example with Application> JDBC 4.0 Features © Auto-loading of JDBC driver class © Connection management enhancements © Support for Rowld SQL type © DataSet implementation of SQL using Annotations © SQL exception handling enhancements © SQL XML support © Example with Application ‘NARESH ¢ oP Working With Properties File © Working With Date Values © Procedure To Create Desktop icon (jar file execution) Serviet JEE © JEE technology © Components of JEE technology © What is Enterprises Application © What is Web Application © Types of Web Application © Presentation Oriented Web Application © Service Oriented Web Application © About Web Client, About WebServer © About ApplicationServer © Diff Between WebServer And Application Server oo Introduction © Server side technologies © Need of server side technologies Client side technologies © What is Servlet? & Advantages of Servlet © Difference between CGI and Servlet oo Serviet API © Versions of Servlet API © Packages of Servlet API © About Servlet Container © Responsibilities of Servlet Container > HTTP Protocol © What is HTTP? © What is HTTP Request format & Response format oP Developing Servlet © Serviet interface © Methods of Serviet interface © Developing servlet by implementing Servlet interface © Life cycle methods of Servlet ‘© Webapplication directory structure © Deployment descriptor file (web.xml) © What is deployment? © Types of deployments © Deployment, Console deployment © Tool deployment © Deployment webapplication in tomcat server © URL patterns Developing And Deploying Servlet Apps in Diff Servers Like © Tomcat Server © JBoss Server / WildFly © Weblogic Server © GlassFish ® ServietRequest © Methods of ServietRequest © About request parameters © About request headers 4 ServletResponse © Methods of ServletResponse © MIME types © Generating responseoP ServietConfig © What is ServletConfig? © What is need of ServietConfig © Methods of ServletConfig © Different ways of getting ServletConfig object. © Defining config initial parameters in web.xml oo GenericServlet © What is GenericServiet? © Methods of GenericServiet © About init(ServletConfig),init() method oo Working with welcome-file © Configuring welcome-file in web.xml Methods of loading Serviet © About load on start up © When client send first request ® ServietContext © What is ServletContext?, Need of ServletContext © Methods of ServletContext © Different ways of getting ServletContext object © Context init parameters © Defining Context init parameters in web.xml > HttpServiet © What is HttpServiet? © Methods of HttpServiet © HTTP Request methods © About public service and protected service methods © About doXxX() methods © Difference between GenericServiet and HttpServlet © Diff Between doGet(-,-) and doPost -,-) methods > HttpServietRequest © HttpServietRequest VS ServletRequest © How to read request parameters of HttpServietRequest © How to read request headers of HttpServietRequest ‘NARESH ¢ oP HttpServietResponse © HttpServletResponse VS ServietResponse © About HttpServietResponse methods © Response status codes Html To Servlet Communication Form Validations Different Types of Form Components Working With Multiple Hyperlinks Working With Multiple Submit Buttons War File Creation Servlet To DataBase Software Communication RequestDispatching © What is RequestDispatcher? © What is need of RequestDispatcher? © RequestDispatching methods Include © Forward © Difference between include and forward methods © Getting RequestDispatcher © Using ServietRequest © UsingServietContext © Difference between getting RequestDispatcher using ServletRequest and ServietContext © What is Servlet Collaboration? } Redirecting © About sendRedirect method © Difference between sendRedirect and forward methods © Response.setStatus, response.setHeader methods > Attributes © What is Attribute © Difference between parameter and attribute © Scope of Attributes © Request scope, Context scope © Session scope © Adding, removing and modifying attributes a)2 Thread Saftey In Servlet Programming State and Session Management © About connectionless protocol © About connection oriented protocol © Stateless protocol © What is state/session management © Need of session management © Session management methods © URL rewriting, Hidden form fields © Cookies, HttpSession oP URL Rewriting © What is URL rewriting © URL rewriting techniques © Disadvantages of URL rewriting oo Hidden form fields © What is hidden form fields © Disadvantages of hidden form fields ® Cookies © What is Cookie, © How to create Cookie © Methods of Cookie © Types of Cookies © Non Persistent Cookie © Persistent Cookie © How to add cookie to response © How to read cookie from request © Deleting cookie from servlet © Properties of Cookie © Disadvantages of Cookies HttpSession © What is HttpSession © Advantage of HttpSession © How to create HttpSession object © How to read HttpSession object from request ¢ Invalidating HttpSession © Using invalidate method © Using session config in web.xml © By setting time © HttpSession attribute > Error Handling in Servlet © Configuring in web.xml © Programmatically ‘NARESH ¢ } Filters © What is Filter? © Need of Filter & Lifecycle of Filter © Filter mapping in web.xml © About FilterConfig © Defining config parameters in web.xml © About FilterChain interface © Methods of FilterChain © What is Filter chaining? © Working with filter chaining Co Listeners © What is Listener? © Usage of Listener © About Event Delegation Model Architecture © Types of Listeners © RequestListener © ServietContextListener © HttpSessionListener © Types of Attribute Listener © Request AttributeListener © HttpSessionAttributeListener © ServletContextAttributelistener © About Event classes Authentication and Authorization (Security In Servlet Programming) © Understanding Authentication Mechanism © HTTP basic authentication © HTTP Digest authentication © HTTPS Client authentication © HTTP form based authentication Working Connection Pooling © Connection pooling in difference servers © Tomcat, Weblogic, Glassfish © JBoss Server / WildFly © Developing servlet using serverside connection pooling Working with domains © Creating domain in weblogic server © Deploying webapplication using console © Creating domain in glassfish server © Deploying webapplication using console® Working with Serviet 2.5/3.0/3.1 features © Async Servlet ¢ File Uploading and Downloading © Non-blocking I/O © HTTP protocol upgrade mechanism © Different Types Of URL Patterns © Dynamic Registration Of Servlet (Developing Servlet Program Without web.xml) “NARESH? oP Annotations in Servlet Programming © Introduction to Annotations © Types of Annotations © Annotations Vs web.xml JsP Introduction © What is JSP? © Advantages of JSP & Applications of JSP © Difference between JSP & Servlet oo JSP Basics © JSP Life cycle, JSP Lifecycle methods © jspinit, _jspService © jspDestroy, Saving jsp file as a, © Public resource, Private resouse © JSP tags > JSP Tags © three categories of tags © scripting elements, directives © standard actions Scripting Elements © What is scripting elements © Types of scripting elements © Declaration tag © Expression tag © Scriptlet > JSP implicit object © What is jsp implicit objects © Need of jsp implicit objects © Implicit objects of jsp © Request, Response, Page © pageContext, out, session © exception, application, config Co Directives © What is directive? © Types of directives © Page directive, Include directive © Taglib directive > Standard Actions © What is standard action © Standard actions © © ©

You might also like