Better, Faster, Lighter Java and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Start reading Better, Faster, Lighter Java on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Better, Faster, Lighter Java [Paperback]

Bruce A. Tate , Justin Gehtland
3.9 out of 5 stars  See all reviews (31 customer reviews)

List Price: $34.99
Price: $25.31 & FREE Shipping. Details
You Save: $9.68 (28%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it tomorrow, May 24? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $15.39  
Paperback $25.31  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

June 4, 2004 0596006764 978-0596006761 1

Sometimes the simplest answer is the best. Many Enterprise Java developers, accustomed to dealing with Java's spiraling complexity, have fallen into the habit of choosing overly complicated solutions to problems when simpler options are available. Building server applications with "heavyweight" Java-based architectures, such as WebLogic, JBoss, and WebSphere, can be costly and cumbersome. When you've reached the point where you spend more time writing code to support your chosen framework than to solve your actual problems, it's time to think in terms of simplicity.

In Better, Faster, Lighter Java, authors Bruce Tate and Justin Gehtland argue that the old heavyweight architectures are unwieldy, complicated, and contribute to slow and buggy application code. As an alternative means for building better applications, the authors present two "lightweight" open source architectures: Hibernate--a persistence framework that does its job with a minimal API and gets out of the way, and Spring--a container that's not invasive, heavy or complicated.

Hibernate and Spring are designed to be fairly simple to learn and use, and place reasonable demands on system resources. Better, Faster, Lighter Java shows you how they can help you create enterprise applications that are easier to maintain, write, and debug, and are ultimately much faster.

Written for intermediate to advanced Java developers, Better, Faster, Lighter Java, offers fresh ideas--often unorthodox--to help you rethink the way you work, and techniques and principles you'll use to build simpler applications. You'll learn to spend more time on what's important. When you're finished with this book, you'll find that your Java is better, faster, and lighter than ever before.


Frequently Bought Together

Better, Faster, Lighter Java + Java Performance Tuning (2nd Edition) + Java Concurrency in Practice
Price for all three: $95.26

Buy the selected items together

Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

Bruce Tate is a kayaker, mountain biker, and father of two. In his spare time, he is an independent consultant in Austin, Texas. In 2001, he founded J2Life, LLC, a consulting firm that specializes in Java persistence frameworks and lightweight development methods. His customers have included FedEx, Great West Life, TheServerSide, and BEA. He speaks at conferences and Java user's groups around the nation. Before striking out on his own, Bruce spent thirteen years at IBM working on database technologies, object-oriented infrastructure and Java. He was recruited away from IBM to help start the client services practice in an Austin start up called Pervado Systems. He later served a brief stent as CTO of IronGrid, which built nimble Java performance tools. Bruce is the author of four books, including best-selling Bitter Java.

First rule of kayak: When in doubt, paddle like Hell

Working as a professional programmer, instructor, speaker and pundit since 1992, Justin Gehtland has developed real-world applications using VB, COM, .NET, Java, Perl and a slew of obscure technologies since relegated to the trash heap of technical history. His focus has historically been on "connected" applications, which of course has led him down the COM+, ASP/ASP.NET and JSP roads.

Justin is the co-author of Effective Visual Basic (Addison Wesley, 2001) and Windows Forms Programming in Visual Basic .NET (Addison Wesley, 2003). He is currently the regular Agility columnist on The Server Side .NET, and works as a consultant through his company Relevance, LLC in addition to teaching for DevelopMentor.


Product Details

  • Paperback: 266 pages
  • Publisher: O'Reilly Media; 1 edition (June 4, 2004)
  • Language: English
  • ISBN-10: 0596006764
  • ISBN-13: 978-0596006761
  • Product Dimensions: 7 x 0.7 x 9.4 inches
  • Shipping Weight: 15.8 ounces (View shipping rates and policies)
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (31 customer reviews)
  • Amazon Best Sellers Rank: #1,004,338 in Books (See Top 100 in Books)

More About the Author

I started in this industry back in 1985, as a co-op with IBM in Austin. I joined IBM full time in 1987, and spent 13 years with them. I later left to join a startup, and ultimately started my own business where I focus on helping customers build software with lightweight technologies.

I've been writing technical books for more than 10 years now, with the last 7 coming since 2000. I write for the love of the craft.

Others have told me that my fundamental strength as an author is the ability to quickly recognize emerging trends. I do tend to find emerging frameworks just as they become popular, and that skill is a mixed blessing that--combined with my complete lack of political tact--gets me in trouble sometimes, as it did with Bitter Java (Java is too hard), Beyond Java (Java is not going to last forever), and most recently, From Java to Ruby: Things Every Manager should Know (there's a better language for some problems, but our managers don't know it yet.)

My promise to you is this: I will always seek to find better ways to do things, and will work hard to tell you the truth, without regard for any notion of political correctness. Thanks for reading.

Customer Reviews

A must for anyone willing to be a good programmer. Sergio Oliveira Jr.  |  3 reviewers made a similar statement
Most Helpful Customer Reviews
23 of 25 people found the following review helpful
5.0 out of 5 stars Simple, and elegant June 13, 2004
By A Customer
Format:Paperback
If I were looking for a Spring or Hibernate book, this one would let me down. But that's not what Gehtland and Tate are trying to do. They are showing why Spring and Hibernate are important, and how they have passed up enterprise java beans. They have shown basic rules for lightweight development, and they have done it effectively. The book is simple, well-written, and in conflict with established J2EE development. I get into the emphasis on JUnit.

I also like how Gehtland and Tate show me more than programming. They let me see how companies sell. They show me how a better process can work. I like extreme programming, but my manager doesn't. They give me some good ideas about how to use the best parts without doing all of XP.

I also like the idea of showing the principles, and then seeing how those principles apply to open source software, and then showing me how to put them into use. I don't think that the book would have been useful if they would have simply tried to invent some application that fit their model. Instead, they picked a couple of open source projects that seem to do what they are advocating.

Lighter Faster java is a home run. If you're looking for a Spring book, just go buy Expert J2EE One on One. If you want to understand why Spring, and other technologies like it, are important, get Lighter Faster Java. I can understand how to program Spring and Hibernate with tutorials on line. This book gives me something far more valuable. Insight.

I think I'm also going to pick up one for my boss.

Comment | 
Was this review helpful to you?
35 of 41 people found the following review helpful
1.0 out of 5 stars Not worth buying. Simple manifesto. October 15, 2004
Format:Paperback
This book delivers a great message in the worst possible way.

It is useful if you are trying to persuade a PHB (management) that going with a full-blown EJB solution doesn't make sense.

If you need to convince an architect about this, give them Rod Johnson's book "Expert one-on-one J2EE Design and Development without EJB".

If you want to actually learn anything about the approach and philosophy, don't use this book. For one thing, the authors are working on a broken definition of "coupling" and fail to address "cohesion" by its proper name. In short, there is a lack of depth and rigor in what they are presenting that, at times, leads them to recommend approaches that aren't necessarily valid. For example: Using a message passing API without a strict message format definition (such as a WSDL definition in the WS world) actually leads to tighter coupling because the author of a service client must inspect the code of the service in order to understand the rules of exchange (the API). By definition that is tight coupling. The omission is minor, but significant in understanding the pitfalls of message-oriented service integration.

In short, AOP and related ideas are all about cohesion. Not just on the function or method level, but on the interface and class level. "Separation of concerns" sounds a lot like "functional cohesion". Not addressing this well understood issue by its formal name denies the reader the opportunity to find the broader body of knowledge on the subject. Why reinvent the wheel?

I guess if I had to sum up why this book isn't worth your money is because it is dogmatic and not prescriptive. The great thing about Rod Johnson's book is that it tells you not only when it is appropriate to take this approach, but the different ways to do so. The examples presented here are straw-men and "hello world" (as described above). What would be nice is a full example that brings all the pieces together. An implementation of the Java Pet Store using this approach, fully described point-by-point would be a nice approach.
Was this review helpful to you?
15 of 18 people found the following review helpful
4.0 out of 5 stars Mixed Feelings June 2, 2005
By Larry
Format:Paperback
I loved the premise of this book, because I, too, believe that Java - and programming in general - is getting out of control. Languages, frameworks, and products are adding so many features that it is now literally impossible to have a handle on the language - or even the subset - that you are using. Gone are the days where you can sit and try to figure something out; now programming seems to have boiled down to finding code you can cut and paste (Can you really figure out how to implement, say, an SSL client on your own?), then wrestling with the overwhelming complexity of the APIs, configuration, deployment, framework(s), your IDE, you-name-it.

Anyway, enough ranting. That's what the book does. And I agree with it. I also agree with all of the good programming principles that the book espouses. The problem I have with it is that it seemed to be a hodgepodge of ideas, practices, and solutions that did not always seem to relate to the title of the book. Don't get me wrong - they're good, but I... well, I guess I was just hoping for more. Like I said at the outset, I think this is a SERIOUS problem that needs to be addressed, and I'm not sure the book did it. ("Not sure" being the operative phrase there. Maybe I just missed the overall picture.)

Then I started thinking, well, how does one address/attack this problem? Truth is, I don't know. Maybe you can't. Can any one of us, or any one organization or any one book, change the direction of Java programming, which is being chartered by a small group of large companines? Heck, look at the Java Lobby (www.javalobby.org) It's a great website that has been around since Java's beginning, but have they really effected any change? They try, but mostly it boils down to the same cast of characters sharing their ideas (and flames) with one another.

Bottom Line: I don't know what one can do to change the state of Java programming. These guys try - they certainly did a lot more than I'll ever do - but I'm not sure if this book will do anything except encourage certain good, common-sense programming habits. And some of its advice - like "Life is too short to be stuck with a bad manager. If you don't like your job, find a new one" makes sense on the surface, but have they looked around the real world lately?

In closing I want to firmly agree with what one reviewer said: The fact that this book has two authors, but is written in a *strong* first person sense, is definitely, definitely weird.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
2.0 out of 5 stars Refactoring will not save your soul
The book starts off well and the author makes several good points about having lighter objects and not being tied to a particular framework, but then it digresses into refactoring... Read more
Published on September 27, 2007 by Bryon S. Lape
4.0 out of 5 stars A Book Not Just for the Java World
I recommend the first set of chapters in this book for EVERYONE. While it helps to know J2EE/EJB to step through the examples, the author provides a wonderful, thought-provoking... Read more
Published on May 10, 2007 by J. Brutto
5.0 out of 5 stars keep it simple
This is a great book. It compares different tools, and shows how to keep things simple and maintainable. Read more
Published on May 25, 2006 by bmaltzan
1.0 out of 5 stars simple and homely; not a good technical book
They work on five basic principles which, as another reviewer hints, makes it read a little like Covey and that is bad. Read more
Published on October 10, 2005 by Ray McDermott
4.0 out of 5 stars A lot of preaching
If you are interested in code, you will find very little in this book. If you are interested in the believes of the authors you get more than your share. The believes are not bad. Read more
Published on March 29, 2005 by ws__
5.0 out of 5 stars Free yourself from EJB woes
This book seems to be an equal mix of pragmatic preaching and technical examples. The book makes sense, and if you're a person who thinks that J2EE applications are bloated, slow,... Read more
Published on March 11, 2005 by Kevin J. Schmidt
5.0 out of 5 stars Great book for technical architects and lead developers
This is a refreshing piece of work for the J2EE world that is rife with over-engineered non-performant complex applications. Read more
Published on February 11, 2005 by Alex Chaniotis
1.0 out of 5 stars Not even spell checked
This book with its talk of the business "sponser" was not even spell checked. The code will not compile because in Java declarations are case sensitive. Read more
Published on February 7, 2005 by Ken Braithwaite
4.0 out of 5 stars Better Title: A REVIEW to Better, Faster, Lighter Java
It is a very nice book. It is something that you would like to give to people who are into EJB most of their lives telling them its time to change. Read more
Published on January 28, 2005 by Steve Torrefranca
3.0 out of 5 stars Common sense
This book is really divided into two virtual sections: one outlining the principles of coding excellence, and the second section deals with technology choices that align with... Read more
Published on January 18, 2005 by Andrew Violette
Search Customer Reviews
Only search this product's reviews



Books on Related Topics (learn more)

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category