OGIES 6/7 A- Core Java The Core Java segment deals with the basics of Java. It is designed keeping in mind the basics of Java Programming Language that will help new students to understand the Java language, its syntax, its simplicity and what makes it a language of choice among so many languages available in the marketplace. It also talks about the Architecture of Java and the uniqueness of Java that makes it a platform along with programming language of choice. Audience The course is designed for Students to make them familiar with the Java Programming Language and the techniques used in industry to implement a project Prerequisites Students should have some basic-level knowledge of programming in any programming language, preferably C or C++, or other OOP languages. Approach Extensive practical exercises take students through all major aspects of the design and development of Java programs Objectives After completing this course, the student should be able to: Apply OOP principles Design OO applications using abstraction, encapsulation, modularity, and hierarchy Create applications Use Java Exceptions to guarantee graceful error recovery of application Do input/output using Java Use JDBC to access data base tables 1. Introduction What is Java and its Origin. Installing JDK. Object Oriented Programming Compiler Working. Introduction to Bytecode Using Javap JVM Architecture. Working of Interpreter and JITC. Explanation of Platform Independency. Structure of JDK and JRE. Path and Classpath concept. A First Simple Program. Creating Instances (Compiler and JVM working). Stack and Heap Concept Difference b/w Pointer and Reference.
2. Basic Concepts Methods 1. Types of Methods 2. Accessing Methods 3. Use of this Keyword. 4. Compiler And JVM Working Variables 1. Types of Variables 2. Accessing Variables 3. Use of this Keyword 4. Shadowing Concept 3. Operators Assignment Relational Arithmetic Conditional Short Circuit Non Short Circuit Operator Overloading instanceof If and Switch Statements Loop And Iterators 4. Packages Declaration and Importing Use of d command 5. Java Code Conventions Identifier and rule for its declaration Class, Methods and Variables Declaration rule Source file declaration rule. 6. Inheritance What is inheritance and why it is required. Use of super Keyword TypeCasting and its requirement ClassCast Exception. 7. Modifiers 8. Coupling 9. Cohesion 10. Encapsulation 11. HAS-A and IS-A relationship.
12. Init Block 13. Init Block in Inheritance 14. Constructors 15. Constructors in Inheritance. 16. Arrays 17. Use of reflection code to see Methods and Variables of a Class. 18. Static Keyword Static block Static block in Inheritance Static methods Static variables 19. Final Keyword Final methods Final variables Final class Compiler Working 20. System.out.print code Explanation. 21. Main method Explanation 22. Overriding Reflection code Overriding of hashcode() Overriding of tostring() 23. Difference b\w = = and equals() 24. Introduction to Object Class 25. Overriding of equals() 26. Wrapper Classes Boxing and UnBoxing Concept AutoBoxing and AutoUnBoxing concept Conversions Concept of == = & equals() in AutoBoxing. 27. Command line argument and Var-arg concept 28. Overloading Widening concept in Overloading AutoBoxing in Overloading Var-arg in Overloading Hierarchy Concept in Overloading. 29. Polymorphism 30. Singleton Pattern 31. Abstract Keyword Interfaces Abstract class Abstraction 32. Explanation of OOPS concept
33. Garbage Collection Introduction How GC Work Java Memory Management 34. Exception and Assertions Exception Introduction Exception Hierarchy Handling Exceptions Catching An Exception Using try & catch Finally Uncaught Exception Handling an Entire class Hierarchy Of Exception Exception Matching Creating An Exception Assertion Mechanism Enabling Assertions 35. Inner classes Introduction Regular inner Class Method Local Inner Class Anonymous Inner Class Static Nested Class 36. Strings Introduction to String Class Interning concept Strings Are Immutable Important Methods In String Class Tokenizing String Buffer & String Builder Class Methods In String Buffer & String Builder Class 37. MultiThreading Difference between Thread and Process The Thread class and Runnable interface. Creating your own threads The synchronized method and block Deadlocks Avoiding dead locks Volatile Keyword 38. Java I/O package Decorator Pattern Introduction to Files and Streams DataInputStream and DataOutputStream
FileInputStream and FileOutputStream Reader and Writer Why use Readers and Writers Object serialization using ObjectInputStream and ObjectOutputStream using transient keyword 39. Scanner Class 40. Collection and Generics Introduction hashcode() and equals() methods Introduction To Map, Set, List Map, Set, List Interfaces in Java Implementation Of Map, Set, List Comparator and Comparable Classes Generic Methods Generic Classes 41.Building Jar files. Java Database Connectivity API (JDBC) Design of JDBC Typical uses of JDBC Types of JDBC Drivers Getting a JDBC driver and loading it through java.sql.driver Manager class The Connection, Statement, and Result Set interfaces Accessing a database using JDBC and using SQL queries. The Prepared Statement and Callable Statement Scrollable and Updatable ResultSets Advance Java Introduction to Web Applications The Web App Architecture Why servlets over CGI, The Servlet inheritance hierarchy Servlet lifecycle Difference between send redirect and forward The ServletConfig and ServletContext Writing your servlets Installing and understanding Servlet Container Starting and Stopping Servlet Container Running your servlets
State Management & Filters JSP Session tracking using HTTPSession, Cookies, Hidden Form Fields and URL rewriting Understanding the limitations of the session tracking techniques Debugging using Eclipse IDE The web.xml files tags. The FilterServlet API Packaging web application and deploying it Listener The Java Server Pages (JSP 2.0) The JSP life cycle JSP directives, Limitations of Servlets over JSP and vice-versa Implicit objects Attributes Session tracking Servlet, JSP communication Introduction to Struts 2.0 Struts 2: The Modern web application framework Saying Hello to Struts 2 Introduction to Struts 2 Actions & Interceptors. Introduction to Data Transfer: OGNL and Type Conversion Introduction to Struts Tags and its Use. IDE and Server : IDE:- MyEclipse, Eclipse, NetBeans (any) Server:- Apache Tomcat 7.0, WebLogic. Minor Project PROJECTS