Syllabus - Java Programming (IT-504 (C))


Information Technology

Java Programming (IT-504 (C))

V-Semester

UNIT-I

The Java Environment: Java Development Kit (JDK), Java virtual machine, Java programming environment(compiler, debugger), Java Applications Programming Interface(API), Basic idea of application and applet. Java as an object oriented language: objects, classes, encapsulation, inheritance and software reuse, polymorphism, abstract classes and abstract methods, defining interfaces, finalize() method; Packages, scope and lifetime; Access specifies; Constructors; Copy constructor; this pointer; arrays; Memory allocation and garbage collection implementing & applying interfaces, extending interfaces, variables

UNIT-II

AWT: Containers and components, AWT classes, window fundamentals: Component, Container, Panel, Window, Frame, Canvas, AWT Controls, Layout Managers and Menus: adding and removing control, Labels, Button, Check Box, Radio Button, Choice, menu, Text area, Scroll list, Scrollbar; Frame; Layout managers- flow layout, Grid layout, Border layout, Card layout. Java Event Handling Model: Java’s event delegation model – Ignoring the event, Self-contained events, Delegating events; The event class hierarchy; There lationship between interface, methods called, parameters and event source; Adapter classes; Event classes action Event, Adjustment Event, Container Event, Focus Event, Item Event, Eye Event, Mouse Event, Text Event, Window Event. Applets: Applet security restrictions; the class hierarchy for applets; Life cycle of applet; HTMLTags for applet Introduction to Swing: swing library, Building application susing Swings

UNIT-III

Multithreading and Exception Handling: Overview of simple threads, Basic idea of multi threaded synchronization: Locks, synchronized methods, synchronized block,Thread programming, Thread scheduling,Producer-consumerrelationship,Daemon handling,stack Exception Handling:Try,Catch,Finally,Throw basedexecutionandexceptionpropagation,Exception statement,Assertions thread,Basicidea ofexception types:

UNIT-IV

Input/Output:ExploringJavaI/O.,Directories,streamclassesTheBytestream:Inputstream,outputstream,file input stream, file output stream, print stream, Randomaccess file, the character streams, Buffered reader, buffered writer, print writer, serialization. JDBC: JDBC-ODBCbridge; The connectivity model; The driver manager; Navigating there sult set object contents; java.sql Package; The JDBCexception classes; Connecting to Remote database.

UNIT-V

Java Networking: server, reservedsockets, servers, Internet addressing, TCP sockets, UDP sockets. RMI: Client/Server architecture, RMI registry services; Step sofcreating RMI Application and an example java. Net package Networking Basics: Socket, Client exploring

Course Objective

To learn the basic concepts and techniques which form the object oriented programming paradigm. To identify Java language components and how they work together in applications. To design and program stand-alone Java applications. To learn how to use exception handling in Java applications. To learn Java Event Handling.

Course Outcome

Have the knowledge of the structure and model of the Java programming language. Use the Java programming language for various programming tasks. Develop software in the Java programming language. Evaluate user requirements for software functionality required to decide whether the Java programming language can meet user requirements. Propose the use of certain technologies by implementing them in the Java programming language to solve the given problem.

Practicals

Reference Books

  • Naughton&Schildt“TheCompleteReferenceJava

  • TataMcGraw Hill.2.Deitel “Java-How toProgram:”PearsonEducation,Asia.

  • Horstmann&Cornell “CoreJava2” (Vol I&II) ,SunMicrosystems.

  • LvanBayross“Java2.0”:BPBpublications.

  • Ivor Horton’s“BeginningJava2,JDK5Ed.,WileyIndia.

  • JavaProgrammingfor theabsolutebeginnersByRussell,PHILearning