Showing posts with label Book Review. Show all posts
Showing posts with label Book Review. Show all posts

Sunday, September 25, 2011

HTML5 Game Programming

I just picked up Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL for my Kindle. Why am I going to read a book about game programming with HTML5? I think that investing a good portion of my free time on understanding the details and limits of HTML5 is crucial to my future. HTML5 is the future, for some of us, it is the present. I will post a review when I am done and hopefully I will post some of my findings.

Tuesday, October 06, 2009

Spring 2.5 Aspect Oriented Programming

Spring 2.5 Aspect Oriented Programming

I have finally finished reading Spring 2.5 Aspect Oriented Programming by Massimiliano Dessì. PACKT Publishing sent a copy of this book to me many weeks ago and I finally found enough time to finish reading the book this weekend. This book is a great resource for anyone looking for a very detailed look into Spring 2.5's Aspect Oriented Programming support. There are plenty of real world examples and code snippets that make understanding the topic easier for mid to senior level Java developers who are already familiar with the Spring Framework and its conventions. The author not only addresses the "how-to" questions, but he also spends time answering the "why" questions. This is very important because many people have an understanding of Aspect Oriented programming, but struggle to find valid cases where it fits into a project.

Chapter 1, Understanding AOP Concepts, discusses code tangling or coupling, AOP inside the IoC container and configuration.

Chapter 2, Spring AOP Components, addresses the key Spring components; Aspects, Pointcuts, Advice, Joinpoints and Advisors.

Chapter 3, Spring AOP Proxies, takes a look into how AOP is possible with Spring. This chapter discusses how AOP is realized and how crosscutting is possible within a Spring project.

Chapter 4, AspectJ Support, takes a look at how Java 5 and AspectJ's annotation support makes AOP even easier.

Chapter 5, Design with AOP, looks into common design decisions for concurrency, caching and security that involves AOP solutions.

Chapter 6, Three-tier Spring Application, Domain Driven Design, sets up chapter 7 with a sample DDD application.

Chapter 7, Three-tier Spring Application, Tests and AOP, dives into how AOP fits into the development of the example created in chapter 6.

Chapter 8, Develop with AOP Tools, puts together the rest of the pieces; the IDE, application server and database to come full circle. So, not only do you learn the technology, but at the end you have a real world example of AOP in practice.

Overall, Spring 2.5 Aspect Oriented Programming is great book that takes a detailed look at Spring 2.5's AOP support.

Sunday, June 21, 2009

Spring Web Flow 2 Web Development

Spring Web Flow 2 Web Development is a great read for developers who want to take a hands-on approach to learning a great technology. By following and working with the examples, you can experience the basic principles of Spring Web Flow 2 and how it integrates with JSF, Spring Security and AJAX. This book is great for Java developers who are already using the core Spring Framework and now want to involve Spring in the presentation tier of a Web application.

Within the first few chapters, the authors present a good overview of Spring Web Flow 2. Chapter 2 starts with the installation of Spring Web Flow 2 and some help with running the examples packaged within the distribution. Chapter 2 also goes over putting together a development environment that is based on some pretty standard open source technologies like Ant, Maven, Ivy, Eclipse (Spring IDE) and NetBeans. The "Support for Developers" section of chapter 2 is a great feature of this book because if you are not already familiar with the aforementioned technologies, you get exposure to some great open source development tools. After learning a little more about how everything works together, the authors throw in a little JPA and by the end of chapter 2, you have completed your first example.

The focus of chapter 4 is Spring Faces. In my opinion, if you are going to work with JSF, focus on this chapter because Web Flow 2 is what is missing from JSF. I am not a big fan of some of the JSF implementations I have used in the past, but Web Flow 2 makes working with JSF and Facelets a bit nicer and the Spring Faces tag library is very helpful. Combine chapter 4 with chapter 5's sections on Subflows and AJAX and you will have a good foundation for creating rich Web applications with Web Flow 2.

Chapter 6 illustrates Spring Web Flow 2's testing support. A very important part of the development process is testing. Too many developers overlook the importance of testing especially when it comes to Web applications. Web Flow 2 comes with great testing support and as the book points out, testing support is part of the framework rather than an after-thought for developers.

Some Web applications require some level of security and most enterprise Web applications have to incorporate support for authentication and multiple levels of authorization. Chapter 7 discusses the integration of Web Flow 2 with Spring Security, formerly Acegi Security. This chapter provides a great high level view of Spring Security configuration and how to lock down access to parts of a Web page and even method level security.

Overall I enjoyed reading this book and learning Spring Web Flow 2. The authors, Markus Stäuble and Sven Lüppken, did a great job in presenting the core concepts of the technology in only 200+ pages. Prior to reading the book, I had little knowledge of the technology, but now I would be comfortable working on a project that is utilizing Spring Web Flow 2. More information about the book and authors can be found at