Apr 3, 2008

Download This Books


Beginning PHP andPostgreSQL E-Commerce -From Novice to Professional
Release 2006
Publishing Apress
593 pages
Filetype PDF
5,261 KB
3 Part 17 chapters and 2 appendixes

Detail This Books "Beginning PHP Tutorial"

DOWNLOAD THIS BOOKS

Beginning Hibernate From Novice to Professional


Introduction Beginning Hibernate From Novice to Professional:

Hibernate is an amazing piece of software. With a little experience and the power of Java 5 annotations, you can build a complex database-backed system with disturbing ease. Once you have built a system using Hibernate, you will never want to go back to the traditional approaches.

While Hibernate is incredibly powerful, it presents a steep learning curve when you first encounter it—steep learning curves are actually a good thing, as they impart profound insight once you have scaled them. Yet gaining that insight takes some perseverance and assistance.

Our aim in this book is to help you up that learning curve by presenting you with the minimal requirements of a discrete Hibernate application, explaining the basis of those requirements, and walking you through an example application built according to them. We then provide additional material to be digested once the fundamentals are firmly understood.
Throughout, we provide examples rather than relying upon pure discourse.
We hope that you will continue to find this book useful as a reference text long after you have become an expert on the subject.

Contents :
How This Book Is Structured
This book is informally divided into three parts.

Chapters 1 through 8 describe the fundamentals of Hibernate, including configuration, the creation of mapping files, and the basic APIs.
Chapters 9 through 11 then describe the use of queries, criteria, and filters to access the persistent information in more sophisticated ways.
Finally, the appendixes discuss features that you will use less often, or that are peripheral to the core Hibernate functionality. The following list describes more fully the contents of each chapter:

Chapter 1 : outlines the purpose of persistence tools and presents excerpts from a simple example application to show how Hibernate can be applied. It also introduces core terminology and concepts.

Chapter 2 : discusses the fundamentals of configuring a Hibernate application. It presents the basic architecture of Hibernate and discusses how a Hibernate application is integrated into an application.

Chapter 3 : presents the example application from Chapter 1 in its entirety, walking you through the complete process of creating and running the application. It then looks at a slightly more complex example and introduces the notion of generating the database schema directly from the mapping files.

Chapter 4 : covers the Hibernate life cycle in depth. It discusses the life cycle in the context of the methods available on the core interfaces. It also introduces key terminology and discusses the need for cascading and lazy loading.

Chapter 5 : explains why mapping information must be retained by Hibernate, and
demonstrates the various types of associations that can be represented by a relational database. It briefly discusses the other information that can be maintained within a Hibernate mapping.

Chapter 6 : explains how Hibernate lets you use the Java 5 Annotations feature to represent mapping information. It provides detailed examples for the most important annotations, and discusses the distinctions between the standard EJB 3 annotations and the proprietary Hibernate 3 ones.

Chapter 7 : explains how the XML-based mapping files can be used to represent mapping information in Hibernate. It provides examples for all of the most common mapping types and reference notes for the more obscure ones.

Chapter 8 : revisits the Hibernate Session object in detail, explaining the various methods that it provides. The chapter also discusses the use of transactions, locking, and caching, and how to use Hibernate in a multithreaded environment.

Chapter 9 : discusses how Hibernate can be used to make sophisticated queries against the underlying relational database using the built-in Hibernate Query Language (HQL).

Chapter 10 : introduces the Criteria API, which is a programmatic analog of the query language discussed in Chapter 9.

Chapter 11 : discusses how the filter API can be used to restrict the results of the queries introduced in Chapters 9 and 10.

Filetype : pdf
Page 359
Download Beginning Hibernate From Novice to Professional

Mar 4, 2008

Java for the Web with Servlets, JSP, and EJB: A Developer's Guide to J2EE Solutions


Java for the Web with Servlets, JSP and EJB is the one book you need to master Java web programming. It covers all the technologies needed to program web applications in Java using Servlets 2.3, JSP 1.2, EJB 2.0 and client-side programming with JavaScript. These technologies are explained in the context of real-world projects, such as an e-commerce application, a document management program, file upload and programmable file download, and an XML-based online book project.

In addition to excellent content, this book includes licenses to two Java web components from BrainySoftware.com. You receive a full license of the Programmable File Download component for commercial and non-commercial deployment. You are also granted to a license to deploy the author's popular File Upload bean for non-commercial use, which has been licensed by the Fortune 500 company Commerce One and purchased by major corporations such as Saudi Business Machine, Ltd. and Baxter Healthcare Corporation.

Overview of Parts and Chapters
This book consists of four parts, including the appendixes.
Part I: Building Java Web Applications
This part is comprised of 20 chapters on servlets and JavaServer Pages (JSP)
Chapter 1, The Servlet Technology
Chapter 2, Inside Servlets
Chapter 3, Writing Servlet Applications
Chapter 4, Accessing Databases with JDBC
Chapter 5, Session Management
Chapter 6, Application and Session Events
Chapter 7, Servlet Filtering
Chapter 8, JSP Basics
Chapter 9, JSP Syntax
Chapter 10, Developing JSP Beans
Chapter 11, Using JSP Custom Tags
Chapter 12, Programmable File Download
Chapter 13, File Upload
Chapter 14, Security Configuration
Chapter 15, Caching
Chapter 16, Application Deployment
Chapter 17, Architecting Java Web Applications
Chapter 18, Developing E-Commerce Applications
Chapter 19, XML-Based E-Books
Chapter 20, Web-Based Document

Part II: Client-Side Programming with JavaScript
Chapter 21, JavaScript Basics
Chapter 22, Client-Side Programming Basics
Chapter 23, Redirection
Chapter 24, Client-Side Input Validation
Chapter 25, Working with Client-Side Cookies
Chapter 26, Working with Object Trees
Chapter 27, Controlling Applets

Part III: Developing Scalable Applications with EJB
Chapter 28, Enterprise JavaBeans
Chapter 29, The Session Bean
Chapter 30, Entity Beans
Chapter 31, EJB Query Language
Chapter 32, Java Message Service
Chapter 33, Message-Driven Beans

Filetype : pdf
Page 359
Download Java for the Web with Servlets, JSP and EJB

Feb 10, 2008

Java Servlet & JSP Cookbook


What's in the Book :
Java Servlet & JSP Cookbook
?
In creating the recipes for this book and tutorial, This book to cover as many common and advanced web developer tasks as Java Servlet & JSP Cookbook could practically fit into one book. This amounts to about 230 different recipes. Each recipe shows how to implement a particular task using servlets, JSPs, and, in many cases, one or more supporting Java classes.

The recipes show how to:

•Authenticate web clients
•Interact with databases
•Send email
•Handle submitted data from a web form
•Read and set "cookies"

•Upload files from the client
•Integrate JavaScript with servlets and JSPs

•Embed multimedia files like digital movies and music in JSPs and servlets •Handle web clients whose users speak different languages (internationalization) •Log messages from servlets and JSPs
•Dynamically include chunks of content, as in traditional server-side include (SSI) code
•Interact with Enterprise JavaBeans (EJBs) from a JSP and servlet

•Use Amazon.com's and Google.com's Web Services APIs from a servlet or JSP

Java Servlet & JSP Cookbook also included numerous technology-specific recipes, such as:
•Using "sessions" in your Java web applications (a concept that represents the tracking of a user's progress through a web site)
•Working with "filters"

•Using the open source ANT tool to build web applications
•Binding Java objects to a session or web application so they can be used as information or data containers
•Creating your own custom tags for JSPs
•Using the JavaServer Pages Standard Tag Library (JSTL), which is a large set of prebuilt tags you can use in JSPs

In short, the book is designed to help guide Java web developers in their everyday tasks, and to provide quick solutions to typical web-related problems.

BEA WebLogic Recipes :
Because Java web developers tend to work with both Tomcat and a proprietary application server, Java Servlet & JSP Cookbook included a number of different recipes to show how to implement common tasks with BEA WebLogic. As a practical matter, This book could not cover the several other application servers that are available, such as IBM's WebSphere, JBoss, Jetty, Oracle 9i application server, or commercial servlet engines such as New Atlanta ServletExec and Caucho Resin. But this book wanted to include recipes covering "how the other half lives" in terms of using various vendor tools for managing everyday web-application tasks. Solutions involving the deployment or revision of web components and deployment descriptors using visual interfaces such as WebLogic's Administration Console or WebLogic Builder can be quite different from those used with Tomcat.

Downloads Java Servlet & JSP Cookbook
Java Servlet & JSP Cookbook
Pub Date : January 2004
Pages : 746

Filetype : pdf


Feb 9, 2008

Core Servlets and Java Server Pages

Free download vtc java 2: jsp and servlets
Ebooks and tutorial Core Servlets and Java Server Pages (JSP) is divided into three parts: Servlets, JavaServer Pages, and Supporting Technologies.

Part I: Servlets
Part I covers servlet development with the 2.1 and 2.2 specifications.
Although version 2.2 (along with JSP 1.1) is mandated by the Java 2 Platform, Enterprise Edition (J2EE), many commercial products are still at the earlier releases, so it is important to understand the differences.
Also, although servlet code is portable across a huge variety of servers and operating systems, server setup and configuration details are not standardized.
So, I include specific details for Apache Tomcat, Sun’s JavaServer Web Development Kit (JSWDK), and the Java Web Server.

Servlet topics include:
• When and why you would use servlets
• Obtaining and configuring the servlet and JSP software
• The basic structure of servlets
• The process of compiling, installing, and invoking servlets
• Generating HTML from servlets
• The servlet life cycle
• Page modification dates and browser caches
• Servlet debugging strategies
• Reading form data from servlets
• Handling both GET and POST requests with a single servlet
• An on-line resume posting service
• Reading HTTP request headers from servlets
• The purpose of each of the HTTP 1.1 request headers
• Reducing download times by compressing pages
• Restricting access with password-protected servlets
• The servlet equivalent of each standard CGI variable
• Using HTTP status codes
• The meaning of each of the HTTP 1.1 status code values
• A search engine front end
• Setting response headers from servlets
• The purpose of each of the HTTP 1.1 response headers
• Common MIME types
• A servlet that uses the Refresh header to repeatedly access ongoing computations
• Servlets that exploit persistent (keep-alive) HTTP connections
• Generating GIF images from servlets
• Cookie purposes and problems
• The Cookie API
• Some utilities that simplify cookie handling
• A customized search engine front end
• The purposes of session tracking
• The servlet session tracking API
• Using sessions to show per-client access counts
• An on-line store that uses session tracking, shopping carts, and pages automatically built from catalog entries

Part II: JavaServer Pages
JSP provides a convenient alternative to servlets for pages that mostly consist of fixed content.
Part II covers the use of JavaServer Pages version 1.0 and 1.1.
JSP topics include:
• When and why you would use JavaServer Pages
• How JSP pages are invoked
• Using JSP expressions, scriptlets, and declarations
• Predefined variables that can be used within expressions and scriptlets
• The page directive
• Designating which classes are imported
• Specifying the MIME type of the page
• Generating Excel spreadsheets
• Controlling threading behavior
• Participating in sessions
• Setting the size and behavior of the output buffer
• Designating pages to process JSP errors
• XML-compatible syntax for directives
• Including JSP files at the time the main page is translated into a servlet
• Including HTML or plain text files at the time the client requests the page
• Including applets that use the Java Plug-In
• Using JavaBeans with JSP
• Creating and accessing beans
• Setting bean properties explicitly
• Associating bean properties with input parameters
• Automatic conversion of bean property types
• Sharing beans among multiple JSP pages and servlets
• Creating JSP tag libraries
• Tag handler classes
• Tag library descriptor files
• The JSP taglib directive
• Simple tags
• Tags that use attributes
• Tags that use the body content between their start and end tags
• Tags that modify their body content
• Looping tags
• Nested tags
• Integrating servlets and JSP
• Forwarding requests from servlets to static and dynamic resources
• Using servlets to set up beans for use by JSP pages
• An on-line travel agency combining servlets and JSP
• Including JSP output in servlets
• Forwarding requests from JSP pages

Part III: Supporting Technologies
Part III covers three topics that are commonly used in conjunction with servlets and JSP: HTML forms, applets talking to servlets, and JDBC.
Topics include:
• Sending data from forms
• Text controls
• Push buttons
• Check boxes and radio buttons
• Combo boxes and list boxes
• File upload controls
• Server-side image maps
• Hidden fields
• Grouping controls
• Tab ordering
• A Web server for debugging forms
• Sending GET data from an applet and having the browser display the results
• Having applets send GET data and process the results themselves (HTTP tunneling)
• Using object serialization to exchange high-level data structures between applets and servlets
• Having applets send POST data and process the results themselves
• Applets bypassing the HTTP server altogether

Download Core Servlets and Java Server Pages
Filetype : pdf
Page : 617
Size : 6.684 KB