Core Java For Beginners

ISBN 13: 978-93-5023-101-2

This book is our attempt to provide the readers with all the necessary information on how to set up the Java development environment and get started with client side, application development, using Java 7.

In a step by step, easy to follow manner, the book takes one through application development. It assists in getting a good grip on the Java syntax and its methodologies to confidently craft robust applications using Java SE 7. It explores the Core of Java along with the improvements of Java SE 7, examines the various specifications and describes how to assemble them to develop applications with plenty of real world examples with complete code spec and diagrams to make it easier to follow.

Whether you are a beginner or an experienced developer, you should find this book, a valuable and accessible knowledge base for crafting robust Java solutions.

What You’ll Learn?

Java Development Kit 7 as the Platform

Language Basics

o    Fundamentals

o    Operators

o    Control Flow Statements

o    Iterations

o    Classes

o    Inheritance

o    Abstract Classes And Interfaces

o    Packages And Imports

o    Enumerations

o    Annotations

o    JavaBeans Components

o    Javadoc

Java Utilities And The Collection Framework

o    Arrays

o    Vectors

o    Collections

o    Generic Programming

o    ArrayList

o    LinkedList


o    Applets

o    Abstract Window Toolkit [AWT]

o    Swing

Event And Exception Handling

o    Event Handling

o    Exceptions

Java DataBase Connectivity [JDBC]

o    MySQL 5 as the Database Engine

Networking And I/O

o    Sockets And Network

o    Concurrency and Multithreading

o    Remote Method Innvocation

o    Java I/O System

XML And Java

o    Java API For XML Processing [JAXP]

§  SAX

§  DOM

o    Streaming API For XML [StAX]

§  Read RSS Feeds using StAX

o    Java Architecture For XML Binding [JAXB]

o    XPath

Java Servlets

Java Servlets is a part of the Java EE technologies and hence is out of the scope of this book. For those who want to quickly get started with Java Servlets can refer to this section. It uses the NetBeans IDE to craft and run the examples.

NetBeans 6.9 as the IDE


Struts 2 For Beginners

Designed for beginners and intermediate developers, this book helps you come up to speed as quickly as possible with using the Struts2 framework. It delves deeply into the core of the Struts2 framework, providing a sound understanding of the components that make up the framework and the way they interact with each other.


This book uses an application-centric approach. The development of an application drives the Struts2 exposure and not the other way around. An application is defined which is build throughout the book. Most [if not all] of the code spec and snippets that you will find in this book are a part of the application.


Finally, a web based project is developed to re-enforce all the learning that took place throughout the book. This will definitely help developers to quickly get started with building real-world Web applications using the Struts2 framework.


ISBN 10: 81-8404-665-0

ISBN 13: 978-81-8404-665-6

Edition: First


Sample Chapter                                                     TOC


All About The Struts2 Framework

Fundamentals Of Struts and Struts2, Architecture of Struts2, Struts2 Framework Core Components


Setting Up The Development Environment

Installing And Setting Up NetBeans IDE, Installing And Setting Up Struts2


Getting Started With Struts2

Getting Started, Working With Actions, Building Views, Building Interceptors, OGNL And Value Stack, Validations, Using The Data Store, Integrating Hibernate With Struts2


Application Development Using Struts2

Define The Project And Its Requirements, Project Specifications, The Administration Homepage [index.jsp], The Search Books Form [searchBooks.jsp], The Manage Books Form [manageBooks.jsp], Logout, Beans And Interceptors, Running The Application


Setup files for:


NetBeans IDE 6.5

Struts 2.X

Hibernate 3.2.X

MySQL Community Server 6.X

MySQL Connector/J 5.X.

Source code for the examples and the project covered in this book.