Saturday, May 26, 2007

Java™ After Hours: 10 Projects You'll Never Do at WorkSams


Java™ After Hours: 10 Projects You'll Never Do at WorkSams CHM 2,78 Mb 336 Pages 2005 Year


Take your Java programming skills beyond the ordinary. Java After Hours: 10 Projects You'll Never Do at Work will make Java your playground with ten detailed projects that will have you exploring the various fields that Java offers to build exciting new programs. You'll learn to:


* Create graphics interactively on Web servers* Send images to Web browsers* Tinker with Java's Swing package to make it do seemingly impossible things* Search websites and send e-mail from Java programs* Use multithreading, Ant and more!
Increase your Java arsenal by taking control of Java and explore its possibilities with Java After Hours. link

Core JavaServer FacesPrentice Hall

Core JavaServer FacesPrentice Hall PTR ISBN: 0131463055 658 pages June 15, 2004 CHM 7 Mb

JavaServer Faces promises to bring rapid user-interface development to server-side Java. It allows developers to painlessly write server-side applications without worrying about the complexities of dealing with browsers and Web servers. It also
automates low-level, boring details like control flow and moving code between web forms and business logic.

JavaServer Faces was designed to support drag and drop development of server-side applications," but you can also think of it as a conceptual layer on top of servlets and JavaServer Pages (JSP). Experienced JSP developers will find that JavaServer Faces provides much of the plumbing that they currently have to implement by hand. If you already use a server-side framework such as Struts, you will find that JavaServers Faces uses a similar architecture, but is more flexible and extensible.

JavaServer Faces also comes with server-side components and an event model, which are fundamentally similar to the same concepts in Swing.JavaServer Faces is quickly becoming the standard Web-application framework. Core JavaServer Faces is the one book you need
to master this powerful and time-saving technology.

Without assuming knowledge of JSP and servlets, Core JavaServer Faces: * shows how to build more robust applications and avoid tedious handcoding * answers questions most developers don't even know to ask * demonstrates how to use JSF with Tiles to build consistent user interfaces automatically * provides hints, tips, and explicit "how-to" information that allows you to quickly become more productive * explains how to integrate JSF with databases, use directory services, wireless apps, and Web services * teaches best practices and good habits like using style sheets and message bundles * covers all of the JSF tags and how to create new tag libraries link

Java Concurrency in Practice by Brian Goetz


Java Concurrency in Practice by Brian Goetz (Author), Tim Peierls (Author), Joshua Bloch (Author), Joseph Bowbeer (Author),
David Holmes (Author), Doug Lea (Author)Publisher: Addison-Wesley Professional (May 9, 2006) ISBN-10: 0321349601 CHM 1,2 Mb 384 pages [repost]


Threads are a fundamental part of the Java platform. As multicore processors become the norm, using concurrency effectively becomes essential for building high-performance applications. Java SE 5 and 6 are a huge step forward for the development of
concurrent applications, with improvements to the Java Virtual Machine to support high-performance, highly scalable concurrent classes and a rich set of new concurrency building blocks. In Java Concurrency in Practice, the creators of these new facilities explain not only how they work and how to use them, but also the motivation and design patterns behind them.
However, developing, testing, and debugging multithreaded programs can still be very difficult; it is all too easy to create concurrent programs that appear to work, but fail when it matters most: in production, under heavy load.

Java Concurrency in Practice arms readers with both the theoretical underpinnings and concrete techniques for building reliable, scalable, maintainable concurrent applications. Rather than simply offering an inventory of concurrency APIs and mechanisms, it
provides design rules, patterns, and mental models that make it easier to build concurrent programs that are both correct and performant.


This book covers:
Basic concepts of concurrency and thread safety Techniques for building and composing thread-safe classes Using the concurrency building blocks in java.util.concurrent Performance optimization dos and don'ts Testing concurrent programs Advanced topics such as atomic variables, nonblocking algorithms, and the Java Memory Model link

Easy Ajax with the Google Web ToolkitManning

GWT in Action: Easy Ajax with the Google Web ToolkitManning Publications 2007 PDF 600p 16MB RS FF


The Google Web Toolkit is a new technology that automatically translates Java into JavaScript, making Ajax applications easier to code and deploy. GWT in Action is a comprehensive tutorial for Java developers interested in building the next generation of rich, web-based applications. This book was written by Robert Hanson, creator of the popular GWT Widget Library
and Adam Tacy a major contributor to the GWT Widget Library. There is a new emphasis on building rich, web-based applications. These applications can be difficult to build because they
rely on JavaScript, which lacks the sophisticated object-oriented structures and static typing of Java, they are tricky to debug, and they require you to manage numerous browser inconsistencies.


In May of 2006 Google released the Google Web Toolkit (GWT). GWT enables developers to create Ajax applications in Java. With GWT, you can build your applications using a real object-oriented language and take advantage of Java tools like Eclipse that
are already available. Instead of trying to bring tool support to Ajax, Google brought Ajax to a place where the tools already existed.


GWT in Action shows you how to take advantage of these exciting new tools. Readers will follow an example running throughout the book and quickly master the basics of GWT: widgets, panels, and event handling. The book covers the full development cycle, from setting up your development environment, to building the application, then deploying it to the web server. The
entire core GWT library is discussed, with details and examples on how it can be extended.
GWT helps you make the most of Ajax in your web applications and GWT in Action helps you get more out of GWT.

Readers can download Early Access Chapters of GWT in Action now and participate in the Author Forum by visiting at the Manning site. link

Data Structures & Algorithms in Java by Robert LaforeSams

Data Structures & Algorithms in Java by Robert LaforeSams 526 pages PDF 3,127 Kb

Once you've learned to program, you run into real-world problems that require more than a programming language alone to solve. Data Structures and Algorithms in Java is a gentle immersion into the most practical ways to make data do what you want it to do. Lafore's relaxed mastery of the techniques comes through as though he's chatting with the reader over lunch,
gesturing toward appealing graphics.

The book starts at the very beginning with data structures and algorithms, but assumes
the reader understands a language such as Java or C++. Examples are given in Java to keep them free of explicit pointers.


This book is about data structures and algorithms as used in computer programming. Data structures are ways in which data is arranged in your computer's memory (or stored on disk). Algorithms are the procedures a software program uses to manipulate
the data in these structures.

Almost every computer program, even a simple one, uses data structures and algorithms. For
example, consider a program that prints address labels. The program might use an array containing the addresses to be printed, and a simple for loop to step through the array, printing each address. The array in this example is a data structure, and the for loop, used for sequential access to the array, executes a simple algorithm. For uncomplicated programs
with small amounts of data, such a simple approach might be all you need. However, for programs that handle even moderately large amounts of data, or that solve problems that are slightly out of the ordinary, more sophisticated techniques are necessary. Simply knowing the syntax of a computer language such as Java or C++ isn't enough.

This book is about what you need to know after you've learned a programming language. The material we cover here is typically taught in colleges and universities as a second-year course in computer science, after a student has mastered the fundamentals of programming. link

SOA Using Java(TM) Web Services

SOA Using Java(TM) Web Services Mark D. Hansen May 9, 2007 608 pages 1.67 Mb


SOA Using Java™ Web Services is a hands-on guide to implementing Web services and Service Oriented Architecture (SOA) with today’s Java EE 5 and Java SE 6 platforms. Author Mark Hansen presents in explicit detail the information that enterprise
developers and architects need to succeed, from best-practice design techniques to state-of-the-art code samples.


Hansen covers creating, deploying, and invoking Web services that can be composed into loosely coupled SOA applications. He begins by reviewing the “big picture,” including the challenges of Java-based SOA development and the limitations of traditional approaches. Next, he systematically introduces the latest Java Web Services (JWS) APIs and walks through creating
Web services that integrate into a comprehensive SOA solution. Finally, he shows how application frameworks based on JWS can streamline the entire SOA development process and introduces one such framework: SOA-J.

Java JDK 6 open source tools such as Ant, JUnit, and Hibernate

Professional Java JDK 6 EditionWrox; 6 edition ISBN: 0471777102 741 pages January 10, 2007 PDF 4 Mb


Working as an effective professional Java developer requires you to know Java APIs, tools, and techniques to solve a wide variety of Java problems. Building upon Ivor Horton's Beginning Java 2, this resource shows you how to use the core features of the latest JDK as well as powerful open source tools such as Ant, JUnit, and Hibernate.

It will arm you with a well-rounded understanding of the professional Java development landscape. The expert author team begins by uncovering the sophisticated Java language features, the methodology for developing solutions, and steps for exploiting patterns. They then provide you with a collection of real-world examples that will become
an essential part of your developer's toolkit. With this approach, you'll gain the skills to build advanced solutions by utilizing the more complex and nuanced parts of Java JDK 6. link