Skip to content


Java EE 6 For Beginners

http://www.sharanamshah.com/images/stories/books/JavaEE6Beg.jpg



This book aims serving students, developers, technical leads and professionals who wish to learn server side, enterprise application development, using Java EE 6. 
 

This book explores Java EE 6 and systematically illustrates its various specifications 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 Enterprise developer, you should find this book, a valuable and accessible knowledge base for creating Enterprise solutions.


What You’ll Learn?


 

Reading this book, application developers will get an insight into how Enterprise/Web applications are structured developed and executed using:
NetBeans 6.8 as the IDE

Sun Glassfish Enterprise Server [v3] as the Application Server

The presentation logic of the application
Java Servlets, JavaServer Pages, JavaServer Faces as the Web Tier components
Facelets and JavaServer Pages as the View Definition Languages for JSF

The business logic of the application
Enterprise JavaBeans as the Business Tier component
Session Beans - Stateless, Stateful, Singleton
Message Driven Beans
Interceptors to add functionality to already existing business methods

The persistent storage layer of the application
MySQL 5 as the EIS Tier
Java Persistence API [JPA] 2.0 as the Standard Interface
JPA is a Specification and a standard interface which requires an implementation i.e. an ORM tool such as Hibernate, TopLink, OpenJPA, EclipseLink or any other ORM that implements JPA. It defines the interface that an implementation has to implement.
Hibernate 3 as the Implementation [Object Relational Mapping tool]
A popular, powerful and a free, open source Object Relational Mapping library for the Java programming language which makes the application portable to all the SQL databases supported by Hibernate.

Struts 2 as the Application Development Framework
An open source Java framework used for building Web applications based on the Servlet and JavaServer Pages [JSP] technologies.

Java API for XML Web Services [JAX-WS] as the technology for building web services

JavaMail as the API for dispatching emails

Calendar Based Timer Services as the Scheduler for creating CRON-like jobs

JNDI  as the API to access a variety of naming and directory services

JTA as the API for managing transactions



Buy this item


 


ISBN 10: 81-8404-939-8


ISBN 13: 978-81-8404-939-8



Edition: First



Downloads


Sample Chapter                                                      TOC




THE TOPICS COVERED IN THE BOOK


Java EE
Introduction To Java and Java EE, Java EE 6 Architecture, Setting Up NetBeans IDE 6.8

Java Servlets 3.0
Introduction, Servlet API And Lifecycle, Working With Servlets, Working With Databases, Cookies, Session, Filters, Request Dispatcher, Annotations, HttpOnly Cookies

JavaServer Pages 2.1
Introduction, Getting Started, Action Elements, Implicit Objects, Scope, Expression Language, JSP Standard Tag Libraries

JavaServer Faces 2.0
Introduction, Getting Started, JSF Components, Managed Beans, Navigation, Converters and Validators, Facelets

Enterprise JavaBeans 3.1
Introduction, Getting Started, Session Beans - Stateless/Stateful/Singleton, Message Driven Beans, Interceptors, Asynchronous Invocation, Calendar Based Timer Services, No-Interface View

Advanced Topics
Web Services, JavaMail, JNDI, Enterprise Application Development, Listener, Java Transaction API


CONTENTS OF THE CD-ROM

Setup files for NetBeans IDE 6.8
MySQL 5.1
MySQL Connector/J 5.1, JDK 6
Struts 2.1
Hibernate 3.5
Source code for every example in this book

Posted in Uncategorized.

Tagged with , , .

No comments




Java EE Project Using EJB 3, JPA And Struts 2 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 Car Rental System [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, JPA as the Specification and Hibernate 3 as the Implementation [the Object Relational Mapping library].

What You’ll Learn?

Online Shopping
Google checkout
jQuery Validations
Session management
Search
Sending emails
Images in BLOB
Entity Beans [Annotations]
Stateless Session Beans
Ajax
Access based user management
Display Tag
Pagination
Restricted page access protection
User authentication interceptor
Custom error pages
Double form submission prevention
Persistence
Java Transaction API
Java Persistence API
Connection Pooling
JNDI Data Source
Named Queries
Check Username Availability
Password Strength
Resource Bundle

ISBN 10: 81-8404-806-8

ISBN 13: 978-81-8404-806-3


Edition: First


Downloads

Sample Chapter TOC



THE TOPICS COVERED IN THE BOOK


Understanding The Framework
Enterprise Java Beans 3
Java Persistence API
Struts 2
The Project Case Study
Process Flow
Software Requirements Specification
Software Design Documentation
Project Files
Running The Project
Data Dictionary
Setting Up The Development Environment
End User Manual
Google Checkout ' Payment Gateway


CONTENTS OF THE CD-ROM

Setup files for JDK 6
MySQL Community Server 6
MySQL Connector/J
Struts 2.1.x
Hibernate 3
Source code for the project, SQL Import Script for MySQL

Posted in Books.

No comments



Java Persistence API In EJB 3 For Professionals - Covers EJB 3.1 using GlassFish v3 Prelude


Designedfor beginners and intermediate developers, this book teaches JPA from
the ground up with an aim to get the reader up to speed with JPA as
quickly as possible. It delves deeply into the core of the JPA,
providing a sound understanding of the components that make up the
framework and the way they interact with each other.


This book
uses the learning by doing pattern with a lot of ready-to-use examples.
This pattern has proven to be the best approach for learning a new
technology. Most [if not all] of the concepts that you will find in
this book are demonstrated using well described and easy to understand
examples, yet sophisticated enough to demonstrate JPA in a real-world
context.



This book demonstrates a step-by-step guide to developing Web as well as Enterprise applications [using EJB 3
] which re-enforces all the learning that takes place throughout the
book. It also teaches how to integrate an enterprise application with Struts2. Not only this, the book also introduces EJB 3.1 [a part of Java EE 6] and demonstrates developing a IPA based EIB 3.1 application with the help of Glassfish v3 Prelude.

What You’ll Learn?

Building Web Applications

Using JSP/Servlets, DAO, JPA using Hibernate 3, Ajax, Glassfish v2

Using JSP, JPA using TopLink, Glassfish v2

Building Enterprise Applications

Using JSP/Servlets, EJB 3 - Session Beans, JPA using TopLink, Glassfish v2

Integrating an enterprise application with Struts2 [An extensible framework for creating enterprise-ready Java Web applications]

Building Enterprise Applications Using EJB 3.1

Using JSP/Servlets, EJB 3.1 - Session Beans, JPA using EclipseLink, Glassfish v3 Prelude

Using the NetBeans IDE to develop JPA based applications
Reverse Engineering POJOs and Mapping Documents from Database tables

Pagination using JPA

To ensure that the focus remains on understanding the technology, we
have adopted the simplest and most customary domain models such as
Customer, Authors, ContactDetails, Books, Subscribers and Guestbook.

Buy this item

ISBN 10: 81-8404-709-7

ISBN 13: 978-81-8404-709-7

Edition: First

Downloads

Sample Chapter TOC


THE TOPICS COVERED IN THE BOOK

Introduction
Persistence, Object/Relational Mapping And JPA, Introduction To Java Persistence API, Writing The First Application


Core Components Of JPA

Entity, Entity Manager And Its Factory, Transactions, Persistence Unit


Metadata
Getting Started With Metadata, Database Identity, Associations, Collections, Inheritance, Defining Metadata Using XML


The JPA Query Language

The Basics Of Java Persistence Query Language, Joins, Query Interface, Pagination, Named Queries, Native SQL Queries


Web Application Development

Customer Database Web Application, Subscriber Management Web Application

Enterprise Application Development

Introduction
To EJB 3.0, Customer Database Enterprise Application, Integrating
Customer Database Enterprise Application With Struts2


Enterprise Application Development Using EJB 3.1

Introduction To EJB 3.1, Customer Database Enterprise Application


Appendix
Installing The NetBeans IDE, Customer Database Application Using Different ORMs


CONTENTS OF THE CD-ROM

Setup files for JDK 6

NetBeans IDE 6.5

Hibernate Core 3.x

Hibernate Annotations 3.x

Hibernate EntityManager 3.x

Struts 2.x

MySQL Community Server 6.x

JDBC Drivers

Library files for:

Display Tags

EclipseLink

TopLink

OpenJPA

Source code for the examples covered in this book


Posted in Books.

No comments



Hibernate 3 For Beginners - Covers Java Persistence API

Designed
for beginners and intermediate developers, this book teaches Hibernate
3 from the ground up with an aim to get the reader up to speed with
Hibernate as quickly as possible. It delves deeply into the core of the
Hibernate 3 framework, providing a sound understanding of the
components that make up the framework and the way they interact with
each other.

This
book uses the learning by doing pattern with a lot of ready-to-use
examples. This pattern has proven to be best approach for beginners.
Most [if not all] of the concepts that you will find in this book are
demonstrated using well described and easy to understand examples, yet
sophisticated enough to demonstrate Hibernate in a real-world context.

Finally,
a web based application is developed to re-enforce all the learning
that took place throughout the book. Not only this, the book also
teaches porting the same application to another database, switching
from Hibernate’s native API to Java Persistence API and integrating
with Struts2. This will definitely help developers to quickly get
started with building real-world Web applications using the Hibernate 3
framework.

ISBN 10: 81-8404-705-3

ISBN 13: 978-81-8404-705-9

Edition: First

THE TOPICS COVERED IN THE BOOK

Introduction

Persistence And Object/Relational Mapping, Introduction To Hibernate

Getting Started

Writing The First Application, Using Hibernate Plugins For NetBeans

Understanding Configuration And Mapping

Configuring
Hibernate, Getting Started With Mapping, The Database Identity,
Associations, Collections, Concurrency Control Using Versioning,
Annotations

Working With Hibernate

Sessions, Transactions, Implementing Connection Pooling

The Hibernate Query Language

The
Basics Of Hibernate Query Language, Joins In HQL, The Query Interface,
Criteria, Pagination, Named Queries, Native SQL Queries, Filters

Application Development With Hibernate

Customer Database Using JSP, Using Java Persistence API With Hibernate, Customer Database Using Struts2, Switching The Database [MySQL To Oracle]

Appendix

Installing The NetBeans IDE

THE LEARNING THAT TAKES PLACE

Building a web application:

o Using Hibernate 3

o Using Java Persistence API with Hibernate 3

o Using Struts 2 with Hibernate 3

Using the NetBeans IDE to develop Hibernate based applications

Porting an application developed using Hibernate to another database [MySQL to Oracle]

Reverse Engineering POJOs and Mapping Documents from Database Tables

Pagination using Hibernate 3

Connection Pooling using:

o An Application Server [Glassfish] via JNDI

o Hibernate’s built-in mechanism [C3P0]

CONTENTS OF THE CD-ROM

Setup files for JDK 6

NetBeans IDE 6.5

Hibernate Core 3.x

Hibernate Annotations 3.x

Hibernate EntityManager 3.x

Struts 2.x

MySQL Community Server 6.x

Oracle Database 10g XE

JDBC Drivers

Library files for Display Tags

Source code for the examples covered in this book.



Posted in Books.

No comments



Struts 2 With Hibernate 3 Project For Beginners - Covers Struts 2.1 Migration


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

THE TOPICS COVERED IN THE BOOK

Understanding The Framework

Setting Up The Environment

About The Project

Software Design Documentation

End User Manual

Running The Project

Process Flow

Migration

Appendix

THE LEARNING THAT TAKES PLACE

Shopping cart

Google checkout

Tag clouds

Session management

Directory

Search

Sending emails

Files in BLOB

Validations

JavaDoc

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

CONTENTS OF THE CD-ROM

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

Posted in Books.

No comments



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

Downloads

Sample Chapter TOC


THE TOPICS COVERED IN THE BOOK

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


CONTENTS OF THE CD-ROM


Setup files for:

JDK 6

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.


Posted in Books.

No comments



Oracle For Professionals

Designed for new and experienced developers, this
book is an essential guide for putting Oracle SQL and PL/SQL to work.
It provides all of the basics you would expect to find in an
introductory text and at the same time serves those who want to harness
the unexploited, overlooked power of Oracle SQL and PL/SQL with an easy
to follow format and numerous real examples based on most commonly used
business database models.

It delves deeply
into new features found in Oracle Database 11g, the next incarnation of
Oracle’s flagship database management system along with existing
features found in Oracle Database 9i and 10g.




ISBN 10: 81-8404-526-3
ISBN 13: 978-81-8404-526-0
Edition: First
Downloads

THE TOPICS COVERED IN THE BOOK

Overview Of Oracle Database
Introduction, Architecture, Installation, Tablespace/User Management, SQL Plus, SQL Developer
Basics Of SQL
Entity
Relationship Diagram, Data Types, Working With Database Tables,
Multi-Table Insert Statements, Merging Rows, Altering Table Structures,
Synonyms, External Tables, Data Constraints
Working With Data
Operators,
Character/String Functions, Number Function, Date Functions, Grouping
Data, Subqueries, Joins, Union, Intersect And Minus, Analytic
Functions, Modeling Data, Hierarchical SQL Queries, If, then And Else,
Pivot/Unpivot Operators, Regular Expressions, RowID And RowNum
SQL Performance Tuning Beyond The Basics
Indexes, Views, Clusters, Sequences Flashback, Objects And Collections, Oracle Text, XML
PL/SQL
Introduction
To PL/SQL, Transactions, Cursors, Procedures And Functions, Packages,
Triggers, Automatically Generating And Assigning Primary Key Values,
Dynamic SQL, DML Error Logging
Backup, Restore And Data Loading
IMP And EXP, Data Pump - IMPDB And EXPDB, SQL*Loader
Application Development Scripting In Oracle
Java, PHP, Pro*C/C++ SQL Scripts, PL/SQL Scripts
Data Warehouse Appendix
Oracle Warehouse Builder Sample Data, Installing Oracle Database 10g XE, Interview Questions

CONTENTS OF THE CD-ROM


Setup files for Oracle database 10g eXpress Edition. Video Footage of Installing Oracle Database 10g [XE] and 11g. Source code for examples in this book.



Posted in Books.

No comments



Java Server Pages For Beginners

The book has been written to provide genuine domain
knowledge to programmers who wish to learn Java, Server side, Web based
application development, using Java Server Pages.

Learning web development is done through a set of examples and hands on exercises.




ISBN 10: 81-8404-359-7
ISBN 13: 978-81-8404-359-4
Edition: First
Downloads

THE TOPICS COVERED IN THE BOOK

Java Servlets And Java Server Pages
What Are Servlets, Introduction To Web Application, Basic Servlet API, Introduction To Java Server Page
Basics Of Java Server Pages
Getting
Started With Java Server Pages, Working With Java Server Pages,
Introduction To Java Server Pages Documents, Implicit Objects, Scope
And EL Expressions, Action Elements, Java Beans And Java Server ages,
Working With Databases
Tag Libraries
Custom
Tag Libraries - Classic Tags, Custom Tag Libraries - Simple Tags,
Custom Tag Libraries ' Tags Files, JSP Standard Tag Libraries
Advanced Java Server Pages
Event Listeners, Cookies, Sessions, Filters, Resource Bundles, Error Handling And Exception Handling


CONTENTS OF THE CD-ROM

Setup Files For Java EE 5 SDK, MySQL Database, MySQL Connector/J, JRE
Source Code For Every Example In This Book
Source Code For Solutions To Hands On Exercises


Posted in Books.

No comments



Java EE 5 For Beginners

The book has been written to provide genuine domain
knowledge to programmers who wish to learn Java, Server side, Web based
application development, using Java EE. Learning web development is
done through a set of examples and hands on exercises.




ISBN 10: 81-8404-338-4
ISBN 13: 978-81-8404-338-9
Edition: First
Downloads

THE TOPICS COVERED IN THE BOOK

Overview of Java EE 5
Introduction To Java, Introduction To Java EE 5, Installation Of Java EE 5 SDK, Introduction To web Application
Java Servlets
Introduction To Servlets, Basic API, Working With Servlets, Working With Databases, Cookies, Session, Request Dispatcher
JavaServer Pages
Introduction
To JSP, Getting Started With JSP, JSP Document, JSP Action Elements,
Expression Language, JSP Standard Tag Libraries
JavaServer Faces
Introduction To JSF, Standard JSF Components, Managed Beans and Navigation, Converters and Validators
Enterprise JavaBeans
Introduction To EJB, Beginning With EJB, Session Beans, Message Driven Beans, Entity Beans


CONTENTS OF THE CD-ROM


Setup Files For Java EE 5 SDK, MySQL Database, MySQL Connector/J, JRE
Source Code For Every Example In This Book
Source Code For Solutions To Hands On Exercises



Posted in Books.

No comments