Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Software

Submission + - Dependency Injection book-- a Developer Must-Read! (blogspot.com)

RickJWagner writes: "Manning has just published "Dependency Injection" by Dhanji R. Prasanna. I highly recommend this book for anyone working in a language that lends itself to DI.

If you're not yet a DI user, you need to read this book! Dependency Injection leads to more modular code and easier testing, among other blessings.

If you're already a DI user, you owe it to yourself to listen to the sage advice of Mr. Prasanna. This man knows his business, and he offers many best practices and considerations for writing great code in a variety of environments. (For example, he has sections dealing with AOP, multi-threading, authoring frameworks, etc.) This book is really a best-practice guide for software development in the guise of DI text.

Check it out! This one makes my favorites list."

Java

Submission + - Great book for the Enterprise Java Generalist

RickJWagner writes: "When I first picked up the book "Java EE 5 Development using GlassFish", I wasn't exactly sure what I'd find. It turns out that I found a resource I believe will become one of my most trusted reference books. All this, and I'm not even a GlassFish fan! (At least I wasn't before I started with the book. You'll see.)

David R. Heffelfinger, the book's author, has demonstrated an extraordinary ability to provide simple and easy to deploy examples that showcase all the major components of the Enterprise Java stack. For a Java generalist like me, this is very useful. At one time, I was a servlets-and-JSPs man, up to date with the latest frameworks and usages for writing cutting-edge UIs in Java. Many moons have passed since this time, though, so today I find myself lacking confidence in the UI arena. What would I do if I were challenged to whip up an AJAX front-end? Recent work with JSF and EJBs won't help me there. But given this book, I can quickly reference a very easy to understand mini-application and accompanying example of the ways to flesh it out. Voila! My confidence is restored — I believe I could be a competent UI coder again, in a short amount of time.

This theme is repeated across the breadth of the JEE stack. Besides a ton of UI stuff (including really good coverage of standard tag libs and JSF), it also covers JMS, Database connectivity (with JPA natch), JEE Security, EJBs (all the flavors, plus transactions, timers, and security), Web Services, and a nice chapter on stuff that's kind of like JavaEE, but isn't. This last one includes Facelets, Ajax4jsf, and Seam. All these include dirt-simple examples and instructions how to deploy them on GlassFish, which it turns out really makes deployment easy. If you throw in the fits-like-a-glove NetBeans IDE, you might call it the Visual-Studioization-of-Enterprise-Java. By the way, the chapter on Web Services especially shocked me. Having done some fairly recent work in this arena with a competing open source application server, I was ready for a 99 step process to deploy a Hello World web service. Imagine my surprise when I found myself whipping up example Web Services (complete with Test page, deployable .war file, and WSDL viewer) with just a few clicks in NetBeans, no more than a minute tops. Yes, it's that easy.

I've seen more than a few books that try to stretch too wide — the super-whammy do it all one stop shop for a technology group. This book avoids this trap by not elaborating on frills that you likely won't need. What you're left with is easy to understand deployable samples showcasing the power of Java on GlassFish, presented one aspect at a time. The next time my boss asks me to do some work on a part of the stack I haven't visited for a while, I know which book I'm going to reach for!

Publisher: Packt Publishing

Title: Java EE 5 Development using GlassFish Application Server

Author: David R. Heffelfinger

Pages: 424

Chapters: 11

Appendices: 2

URL: http://www.packtpub.com/Java-EE-5-GlassFish-Application-Servers/book"

Slashdot Top Deals

Those who can, do; those who can't, write. Those who can't write work for the Bell Labs Record.

Working...