Java Programming (IT-5005)
UNIT 1:Java Development Kit (JDK) ,Java virtual machine , Java programming environment (compiler, interpreter, appletviewer, 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 an interface, implementing & applying interfaces, variables in interfaces, extending interfaces, Packages, scope and lifetime; Access specifies; Constructors; Copy constructor; this pointer; finalize () method; arrays; Memory allocation and garbage collection
UNIT 2: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, Scroll bar; 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; The relationship 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; HTML Tags for applet Introduction to Swing: swing library, Building applications using Swings
UNIT 3:Multithreading and Exception Handling: Overview of simple threads, Basic idea of multithreaded programming, Thread synchronization: Locks, synchronized methods, synchronized block, Thread scheduling, Producer-consumer relationship, Daemon thread, Basic idea of exception handling, stack based execution and exception propagation, Exception types:, Exception Handling: Try, Catch, Finally, Throw statement, Assertions
UNIT 4:Input/Output : Exploring Java I/O., Directories, stream classes The Byte stream : Input stream, output stream, file input stream, file output stream, print stream, Random access file, the character streams, Buffered reader, buffered writer, print writer, serialization. JDBC: JDBCODBC bridge; The connectivity model; The driver manager; Navigating the result set object contents; java.sql Package; The JDBC exception classes; Connecting to Remote database.
UNIT 5:Java Networking: exploring java.net packageNetworking Basics: Socket, Client server, reserved sockets, proxy servers, Internet addressing, TCP sockets, UDP sockets. RMI: Client/Server architecture, RMI registry services; Steps of creating RMI Application and an example.
- Unit 1
- Unit 2
- Unit 3
- Unit 4
- Unit 5