Published work

SCJD Exam with J2SE 5, Second Edition (Expert's Voice in Java)

Sun Certified Java Devoper with J2SE
The Sun Certified Developer for the Java 2 Platform assignment offers a unique opportunity for Java developers to put their Java skills to practical use without requiring any specific development or runtime environment. The assignment also provides a great learning environment as many different APIs can be used, and many alternative solutions can be provided. This book introduces many of the concepts you will need to know in order to pass the SCJD assignment.

Many developers are a little daunted by the scope of the assignment, as it covers everything from a back-end database, a server application, a front-end application, API documentation, and user documention. This book covers each section in detail, helping you gradually build up your knowledge of each topic while working toward a sample project. This book will also introduce you to the new features of JDK 5, providing contextual usage of the new APIs and features within our sample project.

Paper version from Amazon, PDF version from Apress, Online version at Books 24x7

JavaRanch logo

Debugging Threads with a Little Help from javap

One of the JavaRanch members asked for help with some non thread-safe code that was not behaving the way he expected. While that particular problem could be solved without delving down into the depths of the produced bytecode, looking at it did present some interesting possibilities. So in this article I look at a few simple threading issues, and solving them at a theoretical level, before eventually getting to a more complex example that may be easier to diagnose by looking at the bytecode.

Article in the JavaRanch Journal for July 2007

Books I have helped with as a technical editor

Head First Servlets and JSP

Head First Servlets book cover
Looking to study up for the new J2EE 1.5 Sun Certified Web Component Developer (SCWCD) exam?

This book will get you way up to speed on the technology you'll know it so well, in fact, that you can pass the brand new J2EE 1.5 exam. If that's what you want to do, that is. Maybe you don't careabout the exam, but need to use servlets and JSPs in your next project. You're working on a deadline. You're over the legal limit for caffeine. You can't waste your time with a book that makes sense only AFTER you're an expert (or worse, one that puts you to sleep).

Learn how to write servlets and JSPs, what makes a web container tick (and what ticks it off), how to use JSP's Expression Language (EL for short), and how to write deployment descriptors for your web applications. Master the c:out tag, and get a handle on exactly what's changed since the older J2EE 1.4 exam. You don't just pass the new J2EE 1.5 SCWCD exam, you'll understand this stuff and put it to work immediately.

Head First Servlets and JSP doesn't just give you a bunch of facts to memorize; it drives knowledge straight into your brain. You'll interact with servlets and JSPs in ways that help you learn quickly and deeply. And when you're through with the book, you can take a brand-new mock exam, created specifically to simulate the real test-taking experience.

Buy from Amazon

Head First Design Patterns

Head First Design Patterns book cover
At any given moment, somewhere in the world someone struggles with the same software design problems you have. You know you don't want to reinvent the wheel (or worse, a flat tire), so you look to Design Patterns--the lessons learned by those who've faced the same problems. With Design Patterns, you get to take advantage of the best practices and experience of others, so that you can spend your time on... something else. Something more challenging. Something more complex. Something more fun.

Buy from Amazon

Head Rush Ajax

Head Rush Ajax book cover
Sick of creating web sites that reload every time a user moves the mouse? Tired of servers that wait around to respond to users' requests for movie tickets? It sounds like you need a little (or maybe a lot of) Ajax in your life. Asynchronous programming lets you turn your own web sites into smooth, slick, responsive applications that make your users feel like they're back on the information superhighway, not stuck on a dial-up backroad.

But who wants to take on next-generation web programming with the last generation's instruction book? You need a learning experience that's as compelling and cutting-edge as the sites you want to design. That's where we come in. With Head Rush Ajax, in no time you'll be writing JavaScript code that fires off asynchronous requests to web servers...and having fun doing it. By the time you've taken your dynamic HTML, XML, JSON, and DOM skills up a few notches, you'll have solved tons of puzzles, figured out how well snowboards sell in Vail, and even watched a boxing match. Sound interesting? Then what are you waiting for? Pick up Head Rush Ajax and learn Ajax and asynchronous programming the right way--the way that sticks.

Buy from Amazon

Head First Ajax

Head First Ajax book cover
Ajax is no longer an experimental approach to website development, but the key to building browser-based applications that form the cornerstone of Web 2.0. Head First Ajax gives you an up-to-date perspective that lets you see exactly what you can do -- and has been done -- with Ajax. With it, you get a highly practical, in-depth, and mature view of what is now a mature development approach.

Using the unique and highly effective visual format that has turned Head First titles into runaway bestsellers, this book offers a big picture overview to introduce Ajax, and then explores the use of individual Ajax components -- including the JavaScript event model, DOM, XML, JSON, and more -- as it progresses. You'll find plenty of sample applications that illustrate the concepts, along with exercises, quizzes, and other interactive features to help you retain what you've learned.

Buy from Amazon

SCJP Sun Certified Programmer for Java 5 Study Guide

Sun Certified Java Programmer book cover
Get the book that shows you not only what to study, but how to study. The only classroom-based integrated study system for professional certification gives you complete coverage of all objectives for the Sun Certified Programmer for Java 5 exam, hundreds of practice exam questions, and hands-on exercises.

Buy from Amazon