This book provides an extensive coverage of the Java programming language including advanced features. It covers the Java advanced features such as Swing, Networking, JDBC, RMI, CORBA, Servlets and JSP. I have developed this book according to the revised syllabus of B.Sc. CSIT, BIM BE, BCA and BBIS courses of Tribhuvan University, Pokhara University and Kathmandu University respectively. Student will get complete course contents of java programming and teacher will get basic guideline how to instruct students from this book.
I have divided this book into sixteen chapters to cover the basic to advanced features of the java programming.
Chapter one is about the object oriented paradigm and the features of object orientation that are supported by the java languages.
Chapter two is related to the introduction to java platform and java technologies. It includes features of java, java virtual machine, installing java development kit, java APIs and development of a java program etc.
Chapter three is related to the java language basic. It includes basic java language construct such as keywords, operators, separators, constant, statements, expressions, control statements, looping statement, array and string etc.
Chapter four is concern about the object-oriented programming using java. It includes class ad objects, inheritance, polymorphism, interface, packages in the java language.
Chapter five is related to exception handling in java. It includes exception handling mechanism using try, catch, finally, throw and throws.
Chapter six is about the multithreading programming in java. It includes the thread, thread states, creating threads, thread life cycle, thread priority and inter-thread communication etc.
Chapter seven is related to windows programming using java. It includes the AWT, AWT component classes, layout managers, applet, applet lifecycle, creating applet program etc.
Chapter eight is related to user interface design using the java swing. It includes JFC features, swing components and containers class hierarchy, using swing components to design the user interface, advanced swing features etc.
Chapter nine is related to file handling in java and java.io API. It includes the uses of stream classes to perform read and write operations. The stream classes are byte stream, character stream, object stream scanner object and random access file etc.
Chapter ten is related to the java collection framework. It includes collection classes, algorithms and java legacy classes and uses of these to write a java program etc.
Chapter eleven is about the network programming using java. It includes the network fundamentals, TCP, UDP, InetAdress, URL,URLConnection classes, socket programming using TCP, development of client server program using UDP, multicasting etc.
Chapter twelve is related to java database programming and java.sql package. It includes JDBC API, JDBC driver types, JDBC-ODBC bridge, Connecting database and executing SQL statements, ResultSet, MetaData, Statement objects, Prepared statement, callable statement, etc.
Chapter thirteen is related to the distributed application development using java RMI and CORBA. It includes distributed computing technologies, remote object, RMI architecture, RMI mechanism, CORBA architecture, steps to create RMI and CORBA applications, comparison of RMI and CORBA etc.
Chapter fourteen is about the web application development using java servlets. It includes advantages and features of java servlets, servlet lifecycle methods, servlet APIs, creating servlet programs, handling HTTP request, session and cookies etc.
Chapter fifteen is about the Java Server Page (JSP). It includes server side technologies JSP, ASP, PHP, Cold Fusion, advantages of JSP, Creating JSP Application, JSP Pre-Defined Variables, JSP Scripting Elements, JSP Standard Action, JSP Custom Tag, Introduction to JSTL and EL, Accessing Database, Database Connection Pooling etc.
Chapter sixteen is about the Java Beans. It includes Features of Java Beans, Bean Builder and Beans Development Kit (BDK), Types of Java beans and Beans Development process, JAR file and Converting to JAR file, Steps of Java Beans development