Advanced Java Programming 2e
Advanced Java Programming 2e
ISBN 9789393665874
 Publication Date

PAPERBACK

EBOOK (EPUB)

EBOOK (PDF)

This book Advanced Java Programming, now in its second edition, is designed for the postgraduate courses of Computer Science and Information Technology. Comprehensive and student-friendly, this textbook is suitable for similar courses in all major universities.

  • Cover
  • Halftitle Page
  • About the Author
  • Title Page
  • Copyright Page
  • Dedication
  • Syllabus
  • Contents
  • Preface
  • Acknowledgements
  • Chapter 1 Servlet
    • 1.1 Introduction
    • 1.2 Advantages of Servlet
    • 1.3 Basic Structure of Servlet
    • 1.4 Method of Requests
    • 1.5 MIME (Multipurpose Internet Mail Extension) Type
    • 1.6 Servlet Life Cycle
    • 1.7 Servlet API (Application Programming Interface)
      • 1.7.1 GenericServlet
      • 1.7.2 ServletRequest
      • 1.7.3 ServletResponse
      • 1.7.4 HttpServlet
      • 1.7.5 HttpServletRequest
      • 1.7.6 HttpServletResponse
      • 1.7.7 Cookies
      • 1.7.8 HttpSession
      • 1.7.9 Filter
      • 1.7.10 RequestDispatcher
    • 1.8 Requirement to Run Servlet
    • 1.9 First Servlet
    • 1.10 Cookies
      • 1.10.1 Setting Cookie Using Servlet
    • 1.11 Session
      • 1.11.1 Life Cycle of HTTP Session
      • 1.11.2 Managing Session Data
      • 1.11.3 Manage State Information
      • 1.11.4 Session Management with Servlet API
      • 1.11.5 Examples
    • 1.12 Server Side Includes (SSI)
      • 1.12.1 Syntax of <Servlet> tag
      • 1.12.2 Advantage
      • 1.12.3 Example
    • 1.13 Servlet Security
    • 1.14 Secure Socket Layer (SSL)
    • 1.15 Accessing Database Using JDBC
      • 1.15.1 JDBC Drivers
      • 1.15.2 Step to Access Database
      • 1.15.3 Example
    • 1.16 Applet to Servlet Communication
      • 1.16.1 Steps of Servlet Applet Communication
      • 1.16.2 Text Base Communication
      • 1.16.3 Object Base Communication
    • 1.17 Servlet Chaining
      • 1.17.1 RequestDispatcher
      • 1.17.2 FilterChain
      • 1.17.3 Work Flow of Servlet Chain
      • Summary
      • Review Questions and Exercises
  • Chapter 2 Java Bean
    • 2.1 Introduction
    • 2.2 The JavaBeans Architecture
    • 2.3 JavaBeans Lifecycle
    • 2.4 Advantages
    • 2.5 Java Bean API
    • 2.6 Properties
      • 2.6.1 Simple
      • 2.6.2 Indexed
      • 2.6.3 Bound
      • 2.6.4 Constrained
    • 2.7 Customization
    • 2.8 Bean Info
    • 2.9 Introspection
    • 2.10 Bean Development Kit (BDK)
      • 2.10.1 BeanBox Basics
      • 2.10.2 Components of BDK
    • 2.11 Infobus
      • 2.11.1 Infobus Structure
      • 2.11.2 InfoBus API
    • 2.12 Glassgow
    • 2.13 Simple Bean Example
      • Summary
      • Review Questions and Exercises
  • Chapter 3 Enterprise Java Bean
    • 3.1 Introduction
    • 3.2 Transaction Process
    • 3.3 Two Tire Architecture
    • 3.4 Three Tier Architecture
    • 3.5 EJB Architecture
    • 3.6 Advantages of EJB
    • 3.7 Type of Beans
    • 3.8 Simple EJB Example
    • 3.9 Session Bean
      • 3.9.1 Life Cycle of Stateless Session Bean
      • 3.9.2 Stateless Session Bean Example
      • 3.9.3 Life Cycle of Stateful Session Bean
      • 3.9.4 Stateful Session Bean Example
    • 3.10 Entity Bean
      • 3.10.1 Entity Bean Life Cycle
      • 3.10.2 Container Managed Entity Bean
      • 3.10.3 Bean Managed Entity Bean
    • 3.11 EJB Clients
      • Summary
      • Review Questions and Exercises
  • Chapter 4 Remote Method Invocation (RMI)
    • 4.1 Introduction
    • 4.2 Components of RMI
    • 4.3 Stubs and Skeletons
    • 4.4 Developing Application with RMI
      • 4.4.1 Declaring the Remote Interface
      • 4.4.2 Implementing Remote Interface and Registering Remote Object
      • 4.4.3 RMI Client
      • 4.4.4 Setting Up Server
      • 4.4.5 RMI Client in JSP
    • 4.5 Pushing Data From the RMI Server
    • 4.6 RMI Over Inter ORB Protocol (IIOP)
      • Summary
      • Review Questions and Exercises
  • Chapter 5 Java Server Pages (JSP)
    • 5.1 Introduction
    • 5.2 Advantages of JSP
    • 5.3 Work Flow of JSP
    • 5.4 MVC (Model View Control) and JSP
    • 5.5 JSP Scripting Elements and Directives
      • 5.5.1 Declaration
      • 5.5.2 Expression
      • 5.5.3 Directives
        • 5.5.3.1 Page Directive
        • 5.5.3.2 Include Directive
        • 5.5.3.3 Library Directive
      • 5.5.4 Scriptlets
      • 5.5.5 Comments
      • 5.5.6 Actions
        • 5.5.6.1 Include
        • 5.5.6.2 Forward
        • 5.5.6.3 Plugin
        • 5.5.6.4 UseBean
    • 5.6 Implicit JSP objects
    • 5.7 Variable Scope
    • 5.8 Error Page
    • 5.9 Using Java Bean in JSP
      • 5.9.1 Java Bean
      • 5.9.2 Mapping HTML Control to Bean Property
      • 5.9.3 Bean Identifier as Instance
    • 5.10 Java Mail
      • 5.10.1 Protocols of Java Mail
        • 5.10.1.1 SMTP
        • 5.10.1.2 POP3
        • 5.10.1.3 IMAP
        • 5.10.1.4 Software Requirement of Java Mail
      • 5.10.2 Java Mail Component
        • 5.10.2.1 Session Management
        • 5.10.2.2 Message Manipulation
        • 5.10.2.3 Transportation
        • 5.10.2.4 Store
        • 5.10.2.5 Folder
      • 5.10.3 Example : Send Mail
    • 5.11 Java Message Service (JMS)
      • 5.11.1 JMS and RMI
      • 5.11.2 Message Models
      • 5.11.3 JMS Components
        • 5.11.3.1 Destinations
        • 5.11.3.2 Connections
        • 5.11.3.3 Connection Factories
        • 5.11.3.4 Sessions
        • 5.11.3.5 Producers
        • 5.11.3.6 Consumers
      • Summary
      • Review Questions and Exercises
  • Chapter 6 Perl
    • 6. 1 Introduction
    • 6.2 PERL Features
    • 6.3 Advantages
    • 6.4 Disadvantages
    • 6.5 Simple Program
    • 6.6 Data Types and Variables
      • 6.6.1 Scalar
      • 6.6.2 Arrays
      • 6.6.3 Hash
    • 6.7 PERL Special Variables
    • 6.8 Control Structures
      • 6.8.1 IF Statement
      • 6.8.2 UNLESS Statement
      • 6.8.3 SWITCH Statement
      • 6.8.4 WHILE Loop
      • 6.8.5 DO WHILE Loop
      • 6.8.6 UNTIL Loop
      • 6.8.7 FOR Loop
      • 6.8.8 FOREACH Loop
      • 6.8.9 Loop Control Statements
    • 6.9 PERL Operators
      • 6.9.1 Arithmetic Operators
      • 6.9.2 Arithmetic Assignment Operator
      • 6.9.3 Relational Operators
      • 6.9.4 Logical Operators
      • 6.9.5 Bitwise Operators
      • 6.9.6 Pattern Binding Operator
      • 6.9.7 File Test Operator
      • 6.9.8 Conditional Operator
      • 6.9.9 Miscellaneous Operators
    • 6.10 File Handle
      • 6.10.1 File Commands
      • 6.10.2 System Functions
    • 6.11 Functions
      • 6.11.1 Function Declaration
      • 6.11.2 Function Calling
      • 6.11.3 Return Value From Function
    • 6.12 Variables Scope
      • 6.12.1 Global Scope
      • 6.12.2 Private Scope
      • Summary
      • Review Questions and Exercises
  • Appendix A - Java.sql.*
  • Appendix B - HTML Form
  • Appendix C - ServletContext
  • Appendix D - PageContext
  • Previous Years Question Papers
  • Index

Dr. S. Gokila is Assistant Professor in Department of Computer Applications at Mohamed Sathak College of Arts & Science, Chennai. She completed her Doctorate from Bharathiar University, Coimbatore, Master of Philosophy from Periyar University, Salem. She has teaching experience of over 11 years and has published and presented research papers in various National and International Level Conferences and Journals. Her subjects of interest are Object Oriented Programming, Software Engineering, Web Technology, Data Mining and Warehousing, Big Data, etc. She has also authored a textbook on Visual Basic Programming.

Comments should not be blank
Rating
Description

This book Advanced Java Programming, now in its second edition, is designed for the postgraduate courses of Computer Science and Information Technology. Comprehensive and student-friendly, this textbook is suitable for similar courses in all major universities.

Table of contents
  • Cover
  • Halftitle Page
  • About the Author
  • Title Page
  • Copyright Page
  • Dedication
  • Syllabus
  • Contents
  • Preface
  • Acknowledgements
  • Chapter 1 Servlet
    • 1.1 Introduction
    • 1.2 Advantages of Servlet
    • 1.3 Basic Structure of Servlet
    • 1.4 Method of Requests
    • 1.5 MIME (Multipurpose Internet Mail Extension) Type
    • 1.6 Servlet Life Cycle
    • 1.7 Servlet API (Application Programming Interface)
      • 1.7.1 GenericServlet
      • 1.7.2 ServletRequest
      • 1.7.3 ServletResponse
      • 1.7.4 HttpServlet
      • 1.7.5 HttpServletRequest
      • 1.7.6 HttpServletResponse
      • 1.7.7 Cookies
      • 1.7.8 HttpSession
      • 1.7.9 Filter
      • 1.7.10 RequestDispatcher
    • 1.8 Requirement to Run Servlet
    • 1.9 First Servlet
    • 1.10 Cookies
      • 1.10.1 Setting Cookie Using Servlet
    • 1.11 Session
      • 1.11.1 Life Cycle of HTTP Session
      • 1.11.2 Managing Session Data
      • 1.11.3 Manage State Information
      • 1.11.4 Session Management with Servlet API
      • 1.11.5 Examples
    • 1.12 Server Side Includes (SSI)
      • 1.12.1 Syntax of <Servlet> tag
      • 1.12.2 Advantage
      • 1.12.3 Example
    • 1.13 Servlet Security
    • 1.14 Secure Socket Layer (SSL)
    • 1.15 Accessing Database Using JDBC
      • 1.15.1 JDBC Drivers
      • 1.15.2 Step to Access Database
      • 1.15.3 Example
    • 1.16 Applet to Servlet Communication
      • 1.16.1 Steps of Servlet Applet Communication
      • 1.16.2 Text Base Communication
      • 1.16.3 Object Base Communication
    • 1.17 Servlet Chaining
      • 1.17.1 RequestDispatcher
      • 1.17.2 FilterChain
      • 1.17.3 Work Flow of Servlet Chain
      • Summary
      • Review Questions and Exercises
  • Chapter 2 Java Bean
    • 2.1 Introduction
    • 2.2 The JavaBeans Architecture
    • 2.3 JavaBeans Lifecycle
    • 2.4 Advantages
    • 2.5 Java Bean API
    • 2.6 Properties
      • 2.6.1 Simple
      • 2.6.2 Indexed
      • 2.6.3 Bound
      • 2.6.4 Constrained
    • 2.7 Customization
    • 2.8 Bean Info
    • 2.9 Introspection
    • 2.10 Bean Development Kit (BDK)
      • 2.10.1 BeanBox Basics
      • 2.10.2 Components of BDK
    • 2.11 Infobus
      • 2.11.1 Infobus Structure
      • 2.11.2 InfoBus API
    • 2.12 Glassgow
    • 2.13 Simple Bean Example
      • Summary
      • Review Questions and Exercises
  • Chapter 3 Enterprise Java Bean
    • 3.1 Introduction
    • 3.2 Transaction Process
    • 3.3 Two Tire Architecture
    • 3.4 Three Tier Architecture
    • 3.5 EJB Architecture
    • 3.6 Advantages of EJB
    • 3.7 Type of Beans
    • 3.8 Simple EJB Example
    • 3.9 Session Bean
      • 3.9.1 Life Cycle of Stateless Session Bean
      • 3.9.2 Stateless Session Bean Example
      • 3.9.3 Life Cycle of Stateful Session Bean
      • 3.9.4 Stateful Session Bean Example
    • 3.10 Entity Bean
      • 3.10.1 Entity Bean Life Cycle
      • 3.10.2 Container Managed Entity Bean
      • 3.10.3 Bean Managed Entity Bean
    • 3.11 EJB Clients
      • Summary
      • Review Questions and Exercises
  • Chapter 4 Remote Method Invocation (RMI)
    • 4.1 Introduction
    • 4.2 Components of RMI
    • 4.3 Stubs and Skeletons
    • 4.4 Developing Application with RMI
      • 4.4.1 Declaring the Remote Interface
      • 4.4.2 Implementing Remote Interface and Registering Remote Object
      • 4.4.3 RMI Client
      • 4.4.4 Setting Up Server
      • 4.4.5 RMI Client in JSP
    • 4.5 Pushing Data From the RMI Server
    • 4.6 RMI Over Inter ORB Protocol (IIOP)
      • Summary
      • Review Questions and Exercises
  • Chapter 5 Java Server Pages (JSP)
    • 5.1 Introduction
    • 5.2 Advantages of JSP
    • 5.3 Work Flow of JSP
    • 5.4 MVC (Model View Control) and JSP
    • 5.5 JSP Scripting Elements and Directives
      • 5.5.1 Declaration
      • 5.5.2 Expression
      • 5.5.3 Directives
        • 5.5.3.1 Page Directive
        • 5.5.3.2 Include Directive
        • 5.5.3.3 Library Directive
      • 5.5.4 Scriptlets
      • 5.5.5 Comments
      • 5.5.6 Actions
        • 5.5.6.1 Include
        • 5.5.6.2 Forward
        • 5.5.6.3 Plugin
        • 5.5.6.4 UseBean
    • 5.6 Implicit JSP objects
    • 5.7 Variable Scope
    • 5.8 Error Page
    • 5.9 Using Java Bean in JSP
      • 5.9.1 Java Bean
      • 5.9.2 Mapping HTML Control to Bean Property
      • 5.9.3 Bean Identifier as Instance
    • 5.10 Java Mail
      • 5.10.1 Protocols of Java Mail
        • 5.10.1.1 SMTP
        • 5.10.1.2 POP3
        • 5.10.1.3 IMAP
        • 5.10.1.4 Software Requirement of Java Mail
      • 5.10.2 Java Mail Component
        • 5.10.2.1 Session Management
        • 5.10.2.2 Message Manipulation
        • 5.10.2.3 Transportation
        • 5.10.2.4 Store
        • 5.10.2.5 Folder
      • 5.10.3 Example : Send Mail
    • 5.11 Java Message Service (JMS)
      • 5.11.1 JMS and RMI
      • 5.11.2 Message Models
      • 5.11.3 JMS Components
        • 5.11.3.1 Destinations
        • 5.11.3.2 Connections
        • 5.11.3.3 Connection Factories
        • 5.11.3.4 Sessions
        • 5.11.3.5 Producers
        • 5.11.3.6 Consumers
      • Summary
      • Review Questions and Exercises
  • Chapter 6 Perl
    • 6. 1 Introduction
    • 6.2 PERL Features
    • 6.3 Advantages
    • 6.4 Disadvantages
    • 6.5 Simple Program
    • 6.6 Data Types and Variables
      • 6.6.1 Scalar
      • 6.6.2 Arrays
      • 6.6.3 Hash
    • 6.7 PERL Special Variables
    • 6.8 Control Structures
      • 6.8.1 IF Statement
      • 6.8.2 UNLESS Statement
      • 6.8.3 SWITCH Statement
      • 6.8.4 WHILE Loop
      • 6.8.5 DO WHILE Loop
      • 6.8.6 UNTIL Loop
      • 6.8.7 FOR Loop
      • 6.8.8 FOREACH Loop
      • 6.8.9 Loop Control Statements
    • 6.9 PERL Operators
      • 6.9.1 Arithmetic Operators
      • 6.9.2 Arithmetic Assignment Operator
      • 6.9.3 Relational Operators
      • 6.9.4 Logical Operators
      • 6.9.5 Bitwise Operators
      • 6.9.6 Pattern Binding Operator
      • 6.9.7 File Test Operator
      • 6.9.8 Conditional Operator
      • 6.9.9 Miscellaneous Operators
    • 6.10 File Handle
      • 6.10.1 File Commands
      • 6.10.2 System Functions
    • 6.11 Functions
      • 6.11.1 Function Declaration
      • 6.11.2 Function Calling
      • 6.11.3 Return Value From Function
    • 6.12 Variables Scope
      • 6.12.1 Global Scope
      • 6.12.2 Private Scope
      • Summary
      • Review Questions and Exercises
  • Appendix A - Java.sql.*
  • Appendix B - HTML Form
  • Appendix C - ServletContext
  • Appendix D - PageContext
  • Previous Years Question Papers
  • Index
Biographical note

Dr. S. Gokila is Assistant Professor in Department of Computer Applications at Mohamed Sathak College of Arts & Science, Chennai. She completed her Doctorate from Bharathiar University, Coimbatore, Master of Philosophy from Periyar University, Salem. She has teaching experience of over 11 years and has published and presented research papers in various National and International Level Conferences and Journals. Her subjects of interest are Object Oriented Programming, Software Engineering, Web Technology, Data Mining and Warehousing, Big Data, etc. She has also authored a textbook on Visual Basic Programming.

User Reviews
Comments should not be blank
Rating