Tuesday, March 03, 2009

Free ebook download -- POJOs in Action Dec 2005 .pdf

Title: POJOs in Action Dec 2005
Author: Chris Richardson
Format: PDF
Publisher: Manning

POJOs in Action is a practical guide to using POJOs and lightweight frameworks to
develop the back-end logic of enterprise Java applications. These technologies are
important because they dramatically simplify how you build an application’s busi-
ness and persistence tiers. This book covers key lightweight frameworks: Spring,
JDO,  Hibernate,  and  iBATIS.  It  also  covers  EJB  3,  which  embraces  POJOs  and
some of the characteristics of lightweight frameworks.
 In this book you will learn how to apply test-driven development and object
design to enterprise Java applications. It illustrates how to develop with POJOs and
lightweight frameworks using realistic use cases from a single example application
that is used throughout the book. It even implements the same use case using mul-
tiple approaches so that you can see the essential differences between them.
  A  key  message  of  POJOs  in  Action  is  that  every  technology  has  both  benefits
and  drawbacks.  This  book  will  teach  you  when  to  use—and  when  not  to  use—
each  of  the  frameworks.  For  example,  although  the  emphasis  is  on  the  Spring
framework and POJOs, this book also describes when it makes sense to use EJBs.
It explains when to use an object-oriented design and an object/relational map-
ping (ORM) framework and when to use a procedural design and SQL directly.
This sets POJOs in Action apart from many other books that blindly advocate the
use of their favorite framework.
  Enterprise  Java  frameworks  are  constantly  evolving.  While  I  was  writing  this
book, all of the frameworks I describe had several releases. EJB 3 appeared, albeit
in draft form. And between the time this book is printed and the time you read it,
some enterprise Java frameworks will have evolved further yet. But the good news
is that this book will remain relevant. POJOs and nonintrusive lightweight frame-
works are here to stay.
 Regardless of how the frameworks evolve, there are some key concepts that will
not  change.  First,  it’s  vital  that  you  objectively  evaluate  the  pros  and  cons  of  a
framework and not be swayed by clever marketing. Second, POJOs and nonintru-
sive frameworks are a good thing. You want to avoid coupling your business logic
to an infrastructure framework, especially if it slows down the edit-compile-debug
cycle. Third, testing is essential. If you don’t write tests, then you can’t be sure that
your application works. And you must be able to write tests, so designing for test-
ability  is  also  important.  Finally,  as  Albert  Einstein  said,  “Everything  should  be
made as simple as possible, but not simpler.”

Download the book: POJOs in Action Dec 2005 .pdf

Tags: ebook, java, pojo, action, pdf


Tuesday, March 03, 2009

Free pdf ebook download: Manning jQuery in Action Feb 2008 .pdf

Title: jQuery in Action
Author: BEAR BIBEAULT
Format: PDF
Publisher: Manning

Do more with less.
 Plain and simple, that is the purpose of this book: to help you learn how to
do more on your web application pages with less script. Your authors, one a
jQuery contributor and evangelist and the other an avid and enthusiastic user,
believe that jQuery is the best library available today to help you do just that.
 This book is aimed at getting you up and running with jQuery quickly and
effectively  and,  hopefully,  having  some  fun  along  the  way.  The  entire  core
jQuery API is discussed, and each API method is presented in an easy-to-digest
syntax block that describes the parameters and return values of the method.
Small examples of using the APIs effectively are included; and, for those big
concepts,  we  provide  what  we  call  lab  pages.  These  comprehensive  and  fun
pages are an excellent way for you to see the nuances of the jQuery methods
in action without the need to write a slew of code yourself.
  All  example  code  and  lab  pages  are  available  for  download  at  http://
www.manning.com/bibeault.
 We could go on and on with some marketing jargon telling you how great
this book is, but you don’t want to waste time reading that, do you? What you
really want is to get your arms into the bits and bytes up to your elbows, isn’t it?
 What’s holding you back? Read on!

Download Link: Manning jQuery in Action Feb 2008.pdf

Tags: pdf, ebook, javascript, jquery


Monday, March 03, 2009

Free ebook download: Manning EJB 3.0 in Action .pdf

Title: Manning EJB 3.0 in Action
Author: Debu Panda
           Reza Rahman
           Derek Lane
Format: PDF
Publisher: Manning

One day, when God was looking over his creatures, he noticed a boy named Sadhu whose humor
and cleverness pleased him.  God felt generous that day and granted Sadhu three wishes. Sadhu asked
for  three  reincarnations--one  as  a  ladybug,  one  as  an  elephant,  and  the  last  as  a  cow.  Surprised  by
these wishes, God asked Sadhu to explain himself. The boy replied, "I want to be a ladybug so that
everyone in the world will admire me for my beauty and forgive the fact that I do no work. Being an
elephant will be fun because I can gobble down enormous amounts of food without being ridiculed. I
will like being a cow the best because I will be loved by all and useful to mankind." God was charmed
by these answers and allowed Sadhu to live through the three incarnations. He then made Sadhu a
morning star for his service to mankind as a cow.
EJB too has lived through three incarnations. When it was first released, the industry was dazzled
by  its  innovations.  But  like  the  ladybug,    EJB 1  had  limited  functionality.  The  second  EJB
incarnation was just about as heavy as the largest of our beloved pachyderms. The brave souls who
could not do without its elephant-power had to tame the awesome complexity of EJB 2. And finally,
in its third incarnation, EJB has become much more useful to the huddled masses, just like the gentle
bovine that is sacred for Hindus and respected as a mother whose milk feeds us all.. 
A  lot  of  people  have  put  in  a  lot  of  hard  work  to  make  EJB  3  as  simple  and  lightweight  as
possible without sacrificing enterprise-ready power. EJB components are now little more than Plain
Old  Java  Objects  (POJOs)  that  look  a  lot  like  code  in  a  Hello  World  program.  We  hope  you  will
agree with us as you read through the next Chapters that it has all the makings of a star. 
We’ve strived to keep this book as earthy as possible without skimping on content. The book is
designed to help you learn EJB 3.0 as quickly and as easily as possible. At the same time, we will not
neglect to cover the basics where needed. We will also dive into deep waters with you where we can,
share with you all the amazing sights we’ve discovered and warn you about any lurking dangers. 
This  book  is  about  the  radical  transformation  of  a  very  important  and  uniquely  influential
technology in the Java World. We suspect you are not picking this book up to learn too much about
EJB  2.  You  probably  either  already  know  EJB  2.x  or  are  completely  new  to  the  world  of  EJB.  In
either  case,  spending  too  much  time  on  previous  versions  is  a  waste  of  your  time  --you  won't  be
surprised to learn that EJB 3.0 and EJB 2.x have very little in common. . If you are really curious
about the journey that brought us to the current point, we encourage you to pick up one of the many
good books on the previous versions of EJB.

Download the free pdf ebook: Manning EJB 3.0 in Action.pdf

Tags: ebook, pdf, manning, ebj, java


Monday, March 03, 2009

Free pdf ebook download: Struts 2 in Action (May 2008).pdf

Title: Struts 2 in Action
Author: Donald Brown,
           Chad Michael Davis,
           Scott Stanlick
Format: PDF
Publisher: Manning

Welcome to Struts 2! If you’ve picked up this book, we suspect you’re a Java developer
working with web applications who’s somehow or other heard about Struts 2. Perhaps
you’ve worked with the Struts 1 framework in the past, perhaps you’ve worked with
another framework, or perhaps this is your first step into Java web application develop-
ment. Whichever path has led you here, you’re probably looking for a good introduc-
tion to the new Struts 2 framework. This book intends to give you that introduction
and  much  more.  If  you’ve  never  heard  of  Struts  2,  we  cover  the  basics  in  enough
depth to keep you in tow. If you know what Struts 2 does, but want a deeper under-
standing of how it does it, we’ll provide that too.
 Struts 2 is a Java web application framework. As you know, the Java world is vast
and a Struts 2 application may travel far and wide in this world of Java. With that said,
one of the biggest challenges faced by a Struts 2 book arises from trying to determine
what content to include. This book could have been three times as long if we’d taken
all  of  the  good  advice  we  received  about  what  to  include.  We  apologize  to  those
whose course of normal development takes them outside the boundaries of our con-
tent. Please believe us when we say that we agonized over what to include and what
not to include.
 Struts 2 is much more than a revision of the Struts 1 framework. If you hadn’t yet
heard anything about Struts 2, you might expect, based upon the name, to find a new
release of that proven framework. But this is not the case. Its relationship to that older
framework  is  based  in  philosophy  rather  than  in  code  base.  Struts  1  was  an  action-
oriented framework that implemented a Model-View-Controller (MVC) separation of
concerns  in  its  architecture.  Struts  2  is  a  brand  new  implementation  of  those  same
MVC principles in an action-oriented framework. While the general lay of the land will
seem familiar to Struts 1 developers, the new framework contains substantial architec-
tural differences that serve to clean up the MVC lines and make the development pro-
cess all that more efficient. We cover the new framework from the ground up, taking
time to provide a true introduction to this new technology while also taking pains to
give an inside view.
 The organization of this book aims to walk you through Struts 2 in a sequence of
increasing complexity. We start with a couple of preliminary chapters that introduce
the technological context of the framework, give a high-level overview of the architec-
ture,  and  present  a  bare-bones  HelloWorld  sample  application  to  get  your  environ-
ment up and running. After this brief introduction, we set off into a series of chapters
that cover the core concepts and components of the framework one by one. We take
time to explain the functionality of each component in depth. We also provide real
code examples as we begin the development of our full-featured sample application,
the Struts 2 Portfolio. Finally, the later chapters provide some advanced techniques
for  tweaking  a  bit  more  out  of  the  core  components,  as  well  as  introducing  some
advanced features of the framework such as plug-ins and Spring integration.

Download the free ebook: Struts 2 in Action (May 2008).pdf

Tags: ebook, java, struts, pdf


Monday, March 03, 2009

Free ebook download: JUnit In Action .pdf

Title: JUnit In Action
Author: Vincent Massol, Ted Husted
Format: PDF
Publisher: Manning

JUnit in Action is an example-driven, how-to book on unit-testing Java applications,
including J2EE applications, using the JUnit framework and its extensions. This
book is intended for readers who are software architects, developers, members of
testing teams, development managers, extreme programmers, or anyone practic-
ing any agile methodology.
 JUnit in Action is about solving tough real-world problems such as unit-testing
legacy applications, writing real tests for real objects, employing test metrics, auto-
mating tests, testing in isolation, and more.

Special features
Several special features appear throughout the book.

Best practices
The JUnit community has already adopted several best practices. When these are
introduced in the book, a callout box summarizes the best practice.

Design patterns in action
The JUnit framework puts several well-known design patterns to work. When we
first discuss a component that makes good use of a design pattern, a callout box
defines the pattern and points out its use in the JUnit framework.

Software directory
Throughout the book, we cover how to use extensions and tools with JUnit. For
your convenience, references to all of these software packages have been col-
lected in a directory in the references section at the end of this book. A bibliogra-
phy of other books we mention is also provided in the references section.

Roadmap
The book is divided into three parts. Part 1 is “JUnit distilled.” Here, we introduce
you to unit testing in general and JUnit in particular. Part 2, “Testing strategies,”
investigates different ways of testing the complex objects found in professional
applications. Part 3, “Testing components,” explores strategies for testing com-
mon subsystems like servlets, filters, JavaServer Pages, databases, and even EJBs.

Download the book: JUnit In Action.pdf

Tags: ebook, pdf, java, junit, test


Monday, March 03, 2009

Free pdf ebook download: JavaServer Faces JSF in Action .pdf

Title: JavaServer Faces JSF in Action
Author: KITO D. MANN
Format: PDF
Publisher: Manning

This book is written for people who currently develop Java web applications—
architects, application developers, and front-end developers. From my per-
spective, architects worry about the application’s design, which technologies
are used, and how the development process will work. Application developers
build model objects, application logic, and so on, while front-end developers
concentrate on building the GUI, usually with a display technology like Java-
Server Pages (JSP) or Velocity. In many shops, these roles are performed by the
same people, or those in different roles have overlapping skill sets. JSF is a
web application framework like Struts, WebWork, or Tapestry, but this book is
accessible even if you haven’t used a web framework before.
 JavaServer Faces in Action is divided into five parts. The first part covers JSF
basics. Chapter 1 explains the motivation behind JSF, examines how it fits into
the current landscape, and has the requisite Hello, world! example. This
chapter also provides a brief overview of the foundation technologies JSF uses:
HTTP, servlets, portlets, and display technologies like JSP. Chapter 2 delves
further into JSF by examining its core concepts and explaining in detail how
JSF performs its magic. Chapter 3 covers everyday topics like configuration,
JSP integration, JavaBean initialization, and navigation. Chapters 4 and 5
cover the standard UI components, and chapter 6 examines internationaliza-
tion, validation, and type conversion. All of these chapters explain JSF as a
technology, but also reveal how it is used within tools.
Part 2 is focused on building a UI using all of the concepts outlined in part 1.
It begins with chapter 7, which introduces the case study that is used throughout
parts 2 and 3. Chapters 8, 9, and 10 build a working prototype of the case study
using UI components and JSP without any Java code.
 Part 3 focuses on the application code required to turn the prototype into a real
application. Chapter 11 outlines JSF’s Java API from an application developer’s
perspective, while chapters 12 and 13 walk through design and development of the
application. Chapter 14 examines integration with existing frameworks like Struts.
 Part 4 looks at the other side of the coin: extending JSF with UI components,
renders, validators, and converters. Chapter 15 examines the JSF API from a
component developer’s perspective. The print edition ends with appendix A,
which looks at using JSF without JSP.
 Following appendix A is an online extension (part 5) which is downloadable
at no charge from http://www.manning.com/mann. The online extension is
chockfull of examples that build upon the foundation laid in part 4. Chapter 16
shows how to develop a basic UI component, and chapter 17 examines render-
ers. Chapters 18 and 19 show how to build more sophisticated UI components,
and chapter 20 walks through developing a validator and a converter. All of
these chapters use examples that are applicable to everyday web development.
 The online extension ends with four appendices that cover a range of addi-
tional topics. Appendix B provides thorough coverage of JSF support in Oracle
JDeveloper, IBM WebSphere Studio, and Sun Java Studio Creator. Appendix C
looks more closely at JSF’s architecture and shows how to extend it with pluggable
classes. The last two appendices are references: appendix D covers every config-
uration element, and appendix E lists time zone, language, and country codes.

Download the book: JavaServer Faces JSF in Action.pdf

Monday, March 03, 2009

Free pdf ebook download: Lucene in Action .pdf

Title: Lucene in Action
Author: ERIK HATCHER OTIS GOSPODNETIC
Format: PDF

Lucene started as a self-serving project. In late 1997, my job uncertain, I
sought something of my own to market. Java was the hot new programming
language, and I needed an excuse to learn it. I already knew how to write
search software, and thought I might fill a niche by writing search software in
Java. So I wrote Lucene.
 A few years later, in 2000, I realized that I didn’t like to market stuff. I had
no interest in negotiating licenses and contracts, and I didn’t want to hire peo-
ple and build a company. I liked writing software, not selling it. So I tossed
Lucene up on SourceForge, to see if open source might let me keep doing
what I liked.
 A few folks started using Lucene right away. Around a year later, in 2001,
folks at Apache offered to adopt Lucene. The number of daily messages on
the Lucene mailing lists grew steadily. Code contributions started to trickle in.
Most were additions around the edges of Lucene: I was still the only active
developer who fully grokked its core. Still, Lucene was on the road to becom-
ing a real collaborative project.
 Now, in 2004, Lucene has a pool of active developers with deep understand-
ings of its core. I’m no longer involved in most day-to-day development; sub-
stantial additions and improvements are regularly made by this strong team.
 Through the years, Lucene has been translated into several other program-
ming languages, including C++, C#, Perl, and Python. In the original Java,
and in these other incarnations, Lucene is used much more widely than I ever
would have dreamed. It powers search in diverse applications like discussion
groups at Fortune 100 companies, commercial bug trackers, email search sup-
plied by Microsoft, and a web search engine that scales to billions of pages. When,
at industry events, I am introduced to someone as the “Lucene guy,” more often
than not folks tell me how they’ve used Lucene in a project. I still figure I’ve only
heard about a small fraction of all Lucene applications.
 Lucene is much more widely used than it ever would have been if I had tried
to sell it. Application developers seem to prefer open source. Instead of having to
contact technical support when they have a problem (and then wait for an answer,
hoping they were correctly understood), they can frequently just look at the
source code to diagnose their problems. If that’s not enough, the free support
provided by peers on the mailing lists is better than most commercial support. A
functioning open-source project like Lucene makes application developers more
efficient and productive.
 Lucene, through open source, has become something much greater than I
ever imagined it would. I set it going, but it took the combined efforts of the
Lucene community to make it thrive.
 So what’s next for Lucene? I can’t tell you. Armed with this book, you are now
a member of the Lucene community, and it’s up to you to take Lucene to new
places. Bon voyage!

Download the book: Lucene in  Action.pdf

Tags: pdf, ebook, java, lucene


Sunday, March 03, 2009

Free pdf ebook download: How Tomcat Works .pdf

Title: How Tomcat Works
Author: Budi Kurniawan / Paul Deck
Format: PDF
Publisher: BrainySoftware.com

How Tomcat Works is the only book that explains the internal workings of
Tomcat, the open source project used by millions of Java developers.
Unlike other Tomcat titles, it is unique because it does not simply covers the
configuration or servlet development with Tomcat. Rather, this book
is meant for advanced readers interested in writing their own Tomcat
modules or in understanding more beyond servlet/JSP programming.
  The authors of this book have cracked open Tomcat 4 and 5 and
revealed the internal workings of each component. Upon understanding
the contents of this book, you will be able to develop your own
Tomcat components or extend the existing ones.
  In particular, this book explains:
  - How to develop Java web servers
  - Whether or not more Tomcat creates more than one
instance for each servlet
  - How Tomcat runs a servlet that implements the
SingleThreadModel interface
  - Why you cannot change the value of request parameters.
  - The two main modules of a servlet container:
connector and container
  - How to build your own connector or extend the existing ones
  - The four types of containers: engine, host, context, wrapper
  - How Tomcat manages sessions and how to extend the session
manager in a distributed environment.
  - The class loader and how to create custom loaders
  - How Tomcat implements security and basic/form-based/digest
authentication
  - How realms and login configuration work.
  - How Tomcat processes the configuration file (server.xml) and
converts the XML elements to Java objects using Digester
  - Tomcat's shutdown hook
  - JMX, Apache's Commons Modeler, and Tomcat JMX manageable
resources

Download the free pdf book: How Tomcat Works.pdf

Tags: pdf, ebook, tomcat, java


Sunday, March 03, 2009

Free pdf ebook download: GoF Design Patterns with examples using Java and UML2 .pdf

Title:GoF Design Patterns with examples using Java and UML2
Author:Benneth Christiansson
Format:PDF

Benneth Christiansson Bio:
Benneth Christiansson is a former senior lecturer and
researcher at Karlstad university.
Nowadays he works as Curriculum Manager, Open Source
Evangelist and Senior Consultant at Redpill Linpro AB.
The largest provider of Open Source solutions and services
in the Nordic area.
Benneth occupies a genuine experience as both instructor
and author, with several published books and publications.
The idea that lead to this book originated during the
participation of a Java Architect training program taught at
Logica Sverige AB Karlstad office. During the course the authors
identified the lack of a quick-guide to the basic GoF design
patterns. A book that could be used as a bare bone reference as well
as a learning companion for understanding design patterns. In the book
all patterns are exemplified using Java and UML2 notation. The book
also focuses on benefits, drawbacks, applicability and indicates
successful real life usage of the individual patterns.
Co-authors are all employees at different Logica Sweden AB offices.

Tags: ebook, pdf, java, GOF, design, pattern, UML


Saturday, March 03, 2009

Free pdf ebook download -- Expert Spring MVC and Web Flow .pdf

Title:Expert Spring MVC and Web Flow
Author: Seth Ladd , Darren Davison , Steven Devijver , Colin Yates
Format: PDF
Publisher:APress

ISBN10: 1-59059-584-X
ISBN13: 978-1-59059-584-8
424 pp.
Published Feb 2006

Expert Spring MVC and Web Flow provides in-depth coverage of Spring MVC and Spring Web Flow, two highly customizable and powerful web frameworks brought to you by the developers and community of the Spring Framework. Spring MVC is a modern web application framework built upon the Spring Framework, and Spring Web Flow is a new project that compliments Spring MVC for building reusable web controller modules that encapsulate rich page navigation rules. Along with detailed analysis of the code and functionality, plus the first-published coverage of Spring Web Flow, this book includes numerous tips and tricks to help you get the most out of Spring MVC, Spring Web Flow, and web development in general.

Spring MVC and Spring Web Flow are engineered with an important consideration for design patterns and expert object oriented programming techniques. This book explains not only the design decisions of the frameworks, but also how you can apply similar designs and techniques to your own code.

This book takes great care in covering every inch of Spring MVC and Spring Web Flow to give you the complete picture. Along with all the best known features of these frameworks, youll discover some new hidden treasures. Youll also learn how to correctly and safely extend the frameworks to create customized solutions.

From beginner to expert, this book is for anyone who wishes to write robust, modern, and useful web applications with the Spring Framework.


Author Information
Seth Ladd
Seth Ladd is a software engineer and professional Spring Framework trainer and mentor specializing in object-oriented and testable web applications. He started his own company building websites at age 17, but now enjoys having a real job. Currently working for Camber Corporation, Seth has built and deployed systems for NEC, Rochester Institute of Technology, Brivo Systems, and National Information Consortium. He has architected and developed enterprise applications in Java and C for both the server and remotely connected embedded devices. He enjoys speaking and teaching, and is a frequent presenter at local Java user groups and at corporate developer conferences. Seth is very thankful for living and working in Kailua, Hawaii, with his wife.

Darren Davison
Darren Davison is a principal consultant for UPCO, specializing in J2EE and open source Java technologies. He has been involved with Spring since the summer of 2003, well before its 1.0 release, and he used the framework to underpin a global intranet site for an investment bank. Darren has previously worked for multinational manufacturing and engineering companies on e-business, infrastructure, and many web-based projects. Away from work, Darren enjoys the never-ending journey of discovery that is GNU/Linux. When not in front of a computer screen, he likes reading and any form of live entertainment.

Steven Devijver
Steven Devijver is an experienced Java developer who started developing J2EE applications in 2000. In 2003 he discovered the Spring Framework, and since then he has been one of its most enthusiastic users. Steven is a senior consultant at Interface21, teaching hundreds of students every year about the Spring Framework.

Colin Yates
Colin Yates is a J2EE principal architect who specializes in web-based development. He has been a freelance consultant for the past three years and has worked in a number of environments, both structured and chaotic. Since graduating with a software engineering degree in 1997, he has held a number of positions, including development lead, principal systems engineer, mentor, and professional trainer. His principal skill set includes mentoring others, architecting complex problems into manageable solutions, and optimizing development processes.

Colin was first introduced to the Spring Framework in January 2003 by his mentors, Peter Den Haan and David Hewitt, and he has never looked back. After a couple of years using the Spring and Hibernate technology stack to good effect, in May 2005 he became one of the early adopters of Spring Web Flow, finally finding the missing item in the web development toolbox. A self-confessed addict of the green bar that comes from following test-driven development and XP, Colin regularly frustrates new team members by introducing a continuous build environment.

When not hanging around the Spring support forums http://forum.springframework.org, Colin can be found out walking with his wife and two dogs, practicing martial arts, attending his local church, or preparing for the arrival of his first child.

Tags: ebook, pdf, spring, mvc, web, java


Friday, March 03, 2009

Free pdf ebook download -- Design Patterns For Dummies pdf

Title: Design Patterns For Dummies
Author: Steve Holzner, Ph.D.
Format: PDF
Paperback
308 pages
May 2006

There's a pattern here, and here's how to use it!


Find out how the 23 leading design patterns can save you time and trouble

Ever feel as if you've solved this programming problem before? You -- or someone -- probably did, and that's why there's a design pattern to help this time around. This book shows you how (and when) to use the famous patterns developed by the "Gang of Four," plus some new ones, all designed to make your programming life easier.

Discover how to:
* Simplify the programming process with design patterns
* Make the most of the Decorator, Factory, and Adapter patterns
* Identify which pattern applies
* Reduce the amount of code needed for a task
* Create your own patterns

Table of Contents:


Introduction.
Part I: Getting to Know Patterns.

Chapter 1: Congratulations, Your Problem Has Already Been Solved.

Chapter 2: Putting Plans into Action with the Strategy Pattern.

Chapter 3: Creating and Extending Objects with the Decorator and Factory Patterns.

Chapter 4: Watch What’s Going On with the Observer and Chain of Responsibility Patterns.

Chapter 5: From One to Many: The Singleton and Flyweight Patterns.

Part II: Becoming an OOP Master.

Chapter 6: Fitting Round Pegs into Square Holes with the Adapter and Facade Patterns.

Chapter 7: Mass Producing Objects with the Template Method and Builder Patterns.

Chapter 8: Handling Collections with the Iterator and Composite Patterns.

Chapter 9: Getting Control of Your Objects with the State and Proxy Patterns.

Chapter 10: Coordinating Your Objects with the Command and Mediator Patterns.

Part III: The Part of Tens.

Chapter 11: Ten More Design Patterns.

Chapter 12: Ten Easy Steps to Create Your Own Patterns.

Index.

Tags: java, ebook, design, pattern, GOF


Friday, March 03, 2009

Free ebook download -- Core JavaServer Faces, Second Edition .chm

Title: Core JavaServer Faces, Second Edition
Author: David Geary, Cay Horstmann
Format: CHM
Publisher: Prentice Hall
Pub Date: May 08, 2007
Print ISBN-10: 0-13-173886-0
Print ISBN-13: 978-0-13-173886-7
 
Pages: 752


Overview

JavaServer Faces (JSF) is quickly emerging as the leading solution for rapid user interface development in Java-based server-side applications. Now, Core JavaServer? Faces—the #1 guide to JSF—has been thoroughly updated in this second edition, covering the latest feature enhancements, the powerful Ajax development techniques, and open source innovations that make JSF even more valuable.

Authors David Geary and Cay Horstmann delve into all facets of JSF 1.2 development, offering systematic best practices for building robust applications, minimizing handcoding, and maximizing productivity. Drawing on unsurpassed insider knowledge of the Java platform, they present solutions, hints, tips, and "how-tos" for writing superior JSF 1.2 production code, even if you're new to JSF, JavaServer Pages?, or servlets.

The second edition's extensive new coverage includes: JSF 1.2's improved alignment with the broader Java EE 5 platform; enhancements to the JSF APIs; controlling Web flow with Shale; and using Facelets to replace JSP with XHTML markup. The authors also introduce Ajax development with JSF—from real-time validation and Direct Web Remoting to wrapping Ajax in JSF components and using the popular Ajax4jsf framework.

This book will help you

Automate low-level details and eliminate unnecessary complexity in server-side development

Discover JSF best practices, ranging from effective UI design and style sheets to internationalization

Use JSF with Tiles to build consistent, reusable user interfaces

Leverage external services such as databases, LDAP directories, authentication/authorization, and Web services

Use JBoss Seam to greatly simplify development of database-backed applications

Implement custom components, converters, and validators

Master the JSF 1.2 tag libararies, and extend JSF with additional tag libraries

Download: Core JavaServer Faces, Second Edition.chm

Tags: java, sf, chm, ebook


Friday, March 03, 2009

Free ebook download -- Building Java Enterprise Applications Volume I Architecture

Title: Building Java Enterprise Applications Volume I Architecture
Author: Brett McLaughlin
Format: PDF
Publisher: O'Reilly
First Edition March 2002
ISBN: 0-569-00123-1, 318 pages

If you're basing your livelihood on Java these days, you are going to run across at least one
enterprise application programming project; if it hasn't come upon you already, it's just around
the corner. I've been faced with more than twenty at this point in my career, and see many
more in my future. Each time I get into these projects, I find myself paging through book after
book and searching the Web, looking for the same information time after time. Additionally,
I've developed a bit of a toolkit for handling common enterprise tasks.

What I have determined is that there are many terrific books on specific technologies like
Enterprise JavaBeans, servlets, and the Java Message Service. These books cover the details
of these APIs and explain how to use them. I have also found, though, that there is no
resource in existence that describes connecting these components in an intelligent way. No
coherent examples are documented and explained that tell how best to code fa?ade patterns,
attach entity beans to directory servers, use servlets and JSP with EJB without killing
performance, or a host of other common tasks. At the same time, these very issues are the
heart of my job description, and probably of many other programmers' as well.

Rather than simply write a short article or two and fall short of really addressing the topic
(something I see lots of people doing), I convinced O'Reilly & Associates to put forth an
exhaustive series on enterprise programming in Java. I'm proud to say that you have in your
hands the first volume of that series. It covers the back-end of application programming and
explains databases, entity beans, session beans, the Java Message Service, JNDI, RMI, LDAP,
and a whole lot more.

The topic will be extended in the next two volumes, which are already planned. The second
volume will cover traditional web applications, including HTTP, HTML, servlets, JSP, and
XML presentation solutions. The third volume will detail the web services paradigm,
demonstrating the use of UDDI, SOAP, WSDL, and other emerging technologies.

In each volume, you will find extensive code (the code listings in this book, without
comments, total well over 100 pages, about 30% of the actual book), without needless
instruction or banter. I've gotten straight to the point, and tried to let you see code, not
discussion of code, whenever possible. I hope that you enjoy the series, and that it aids you in
your own enterprise application programming.

Download: Building Java Enterprise Applications Volume I Architecture.pdf

Tags: java, enterprise, application, architecture


Friday, March 03, 2009

Free ebook download: Pro Java EE Spring Patterns .pdf

Title: Pro Java EE Spring Patterns
        Best Practices and Design Strategies Implementing Java EE Patterns with the Spring Framework
Author:Dhrubojyoti Kayal
Publisher:APress

This book combines the Java EE design patterns with the Spring Framework. The Java
EE design pattern catalog provides an invaluable reference for any Java EE application
design and architecture. The Spring Framework, on the other hand, is the de facto standard
for Java EE. Spring, with its inherently simple programming model and emphasis on
object design best practices, has helped revive and increase the adoption of the Java EE
platform.
I have been using the Spring Framework in combination with design patterns to
build Java EE applications for a long time now. This book is an effort to document a catalog
of frequently used design strategies with the Spring Framework, which is relevant in
the context of the latest Java 5 EE specifications. I am sure this book will be a reference
for designers and developers who are interested in building enterprise applications with
Java EE and the Spring Framework.

Who This Book Is For
This book is primarily meant for Java EE application designers and architects. Experienced
developers with knowledge of the Java EE design patterns and the Spring
Framework will also find this book immensely useful.

How This Book Is Structured
This book is structured in a very simple way. Chapter 1 starts with an introduction to the
fundamental concepts in enterprise application architecture. It analyzes various architectural
styles in distributed computing, and it introduces UML as the tool for the visual
representation of application design.
Chapter 2 introduces the Spring Framework and its role in building enterprise Java
applications. This chapter also highlights the design pattern template that will be used in
the next four chapters. Chapter 3 explains the design problems in the presentation tier
and presents solutions with the Spring MVC framework. Chapter 4 elaborates on the
business tier design patterns. This chapter also shows Spring’s support for simplifying
EJB development.
Chapter 5 deals with the integration tier design patterns. Chapter 6 takes a look into
the often-overlooked areas of security and transaction design strategies. Finally, in
Chapter 7, all the concepts presented in earlier chapters are used to develop an order
management system.

Free download: Pro Java EE Spring Patterns.pdf

Tags: java, javaee, spring, pattern


Friday, March 03, 2009

Free ebook download:Practical API Design Confessions of a Java™ Framework Architect .pdf

Title:Practical API Design Confessions of a Java™ Framework Architect
Author:Jaroslav Tulach
About the Author:
   JAROSLAV TULACH is the founder and initial architect of NetBeans, which
was later acquired by Sun. As creator of the technology behind NetBeans,
he is still with the project to find ways to improve the design skills among
all the programmers who contribute to the success of the NetBeans open
source project.

Contents at a Glance:

About the Author
Acknowledgments
Prologue: Yet Another Design Book?
PART 1   Theory and Justification
CHAPTER 1      The Art of Building Modern Software
CHAPTER 2      The Motivation to Create an API
CHAPTER 3      Determining What Makes a Good API
CHAPTER 4      Ever-Changing Targets
PART 2   Practical Design
CHAPTER 5      Do Not Expose More Than You Want
CHAPTER 6      Code Against Interfaces, Not Implementations
CHAPTER 7      Use Modular Architecture
CHAPTER 8      Separate APIs for Clients and Providers
CHAPTER 9      Keep Testability in Mind
CHAPTER 10    Cooperating with Other APIs
CHAPTER 11    Runtime Aspects of APIs
CHAPTER 12    Declarative Programming
PART 3   Daily Life
CHAPTER 13    Extreme Advice Considered Harmful
CHAPTER 14    Paradoxes of API Design
CHAPTER 15    Evolving the API Universe
CHAPTER 16    Teamwork
CHAPTER 17    Using Games to Improve API Design Skills
CHAPTER 18    Extensible Visitor Pattern Case Study
CHAPTER 19    End-of-Life Procedures
EPILOGUE
The Future
BIBLIOGRAPHY
INDEX

Download: Practical API Design.pdf

Tags: java, framework, architect, API, design


Friday, March 03, 2009

Free ebook download:Ajax on Java chm By Steven Douglas Olson

Title:Ajax on Java
       By Steven Douglas Olson
...............................................
Publisher: O'Reilly
Pub Date: February 23, 2007
ISBN-10: 0-596-10187-2
ISBN-13: 978-0-596-10187-9
Pages: 228

This practical guide shows you how to make your Java web applications more responsive and dynamic by incorporating new Ajaxian features, including suggestion lists, drag-and-drop, and more. Java developers can choose between many different ways of incorporating Ajax, from building JavaScript into your applications "by hand" to using the new Google Web Toolkit (GWT).

Ajax on Java starts with an introduction to Ajax, showing you how to write some basic applications that use client-side JavaScript to request information from a Java servlet and display it without doing a full page reload. It also presents several strategies for communicating between the client and the server, including sending raw data, and using XML or JSON (JavaScript Object Notation) for sending more complex collections of data.

The book then branches out into different approaches for incorporating Ajax, which include:

  • The Prototype and script.aculo.us Javascript libraries, the Dojo and Rico libraries, and DWR

  • Integrating Ajax into Java ServerPages (JSP) applications

  • Using Ajax with Struts

  • Integrating Ajax into Java ServerFaces (JSF) applications

  • Using Google's GWT, which offers a pure Java approach to developing web applications: your client-side components are written in Java, and compiled into HTML and JavaScript

Ajax gives web developers the ability to build applications that are more interactive, more dynamic, more exciting and enjoyable for your users. If you're a Java developer and haven't tried Ajax, but would like to get started, this book is essential. Your users will be grateful.

Download:   Ajax on Java.chm

Tags: java, ajax, ebook, free


Thursday, March 03, 2009

Free ebook download:addison wesley patterns of enterprise application architecture.chm

Title: Patterns of enterprise application architecture
Format: CHM
Publisher: addison wesley
Author: Martin Fowler

Tags: pattern, java, application, architecture


Thursday, March 03, 2009

Free ebook download:Domain Driven Design Tackling Complexity In The Heart Of Software.chm

Title: Addison.Wesley.Domain.Driven.Design.Tackling.Complexity.In.The.Heart.Of.Software
Format: CHM
Author: Eric Evans

Tags: ebook, java, domain, Software


Thursday, March 03, 2009

Free ebook download:Addison Wesley - Java Design Objects, UML and Process.pdf

Title: Addison Wesley - Java Design Objects, UML and Process
Format: PDF
Author: Kirk Knoernschild

Tags: Java, Object, UML, Process