Course Code: MCA413
Course Title: Programming in JAVA (4 Credits)
Unit 1: Getting Started Features of Java; Java Magic: Byte Code.
Unit 2: Basics of Java Keywords; Working of Java; Including Comments; Data Types in Java - Primitives Data Types, Abstract / Derived Data Types; Variables in Java; Naming Variables; Using Classes in Java - Standard for Coding; Declaring Methods in Java; Code to Display Test Value; The main Method; Invoking a Method in Java; Saving, Compiling and Executing Java Programs.
Unit 3: Operators and Control Statements: Operators - Arithmetic Operators, Increment and Decrement Operators, Comparison Operators, Logical Operators, Operator Precedence; Control Flow Statements - If-else Statement, Switch Statement, For Loop, While Loop, Do…While Loop, Break Statement, Continue Statement.
Unit 4: Arrays and Strings - The String Constructors, Special String Operations, Character Extraction, String Comparison, Searching Strings, Modifying a String, StringBuffer.
Unit 5: Inheritance, Package and Interface: Inheritance - Types of Relationships, What is Inheritance? Why Generalize? Implementing Inheritance in Java, Access Specifiers, The Abstract Class. Packages - Defining a Package, Understanding CLASSPATH; Interface - Defining an Interface, Some Uses of Interfaces, Interfaces versus Abstract Classes.
Unit 6: Exception Handling: Definition of an Exception; Exception Classes; Common Exceptions; Exception Handling Techniques.
Unit 7: Streams in Java: Abstract Streams; Stream Classes; Readers and Writers; Random Access Files; Serialization.
Unit 8: Applets: What are Applets? The Applet Class; The Applet and HTML; Life Cycle of an Applet; The Graphics Class; Painting the Applet; User Interfaces for Applet; Adding Components to user interface; AWT Controls.
Unit 9: Event Handling: Components of an Event; Event Classes; Event Listener; Event-Handling; Adapter Classes; Inner Classes; Anonymous Classes.
Unit 10: JDBC: Database Management; Mechanism for connecting to a back end database; Loading the ODBC driver.
Unit 11: RMI, CORBA and Java Beans: Remote Method Invocation (RMI) – Introduction, RMI Terminology; Common Object Request Broker Architecture (CORBA) – Introduction, What is Java IDL? Example: The Hello Client-Server; Java Beans – Introduction, the BeanBox, Running the BeanBox.
Unit 12: JSP and Servlets: Java Server Pages (JSP) – Introduction, What is needed to write JSP based web application? How does JSP look? How to test a JSP? Servlets – Introduction, History of Web Application, Web Architecture, Servlet Life Cycle.
Unit 13 Swing: Concepts of Swing; Java Foundation Class (JFC); Swing Packages and Classes; Working with Swing- An Example; Swing Components.
Unit 14 Networking: Networking in Java; URL Objects.