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 with Hibernate 3 Project For Beginners

This book aims serving students, developers, technical leads and to some extent project managers or consultants by demonstrating a structured documented modestly sized project.

Learning the project development and documentation is done through the construction of an Online Shopping Cart [integrated with a payment gateway] using MySQL Community Server as the data store with Java Server Pages as the delivery mechanism, Struts 2 as the framework and Hibernate 3 as the Object Relational Mapping library.

Framework migration [Struts 2.0.x to 2.1.x] and the art of migrating the application across databases [with the help of Hibernate] is what the readers would definitely appreciate.

ISBN 10: 81-8404-696-0

ISBN 13: 978-81-8404-696-0

Edition: First


Sample Chapter TOC


Understanding The Framework

Setting Up The Environment

About The Project

Software Design Documentation

End User Manual

Running The Project

Process Flow




Shopping cart

Google checkout

Tag clouds

Session management



Sending emails

Files in BLOB



Data Access Object design pattern

Access based user management

Hibernate based pagination

Restricted page access protection

User authentication interceptor

Custom error pages

Double form submission prevention

Application migration from Struts 2.0.x to 2.1.x

Database migration from MySQL to Oracle


Setup files for JDK 6

MySQL Community Server 6

MySQL Connector/J

Oracle Database 10g XE

Oracle JDBC

Struts 2.0.x

Struts 2.1.x

Hibernate 3

Source code for the project [for Struts 2.0.x and Struts 2.1.x]

SQL Import Scripts for MySQL and Oracle