By Justin Gehtland, Bruce A. Tate
Occasionally the easiest resolution is the easiest. Many company Java builders, acquainted with facing Java's spiraling complexity, have fallen into the behavior of selecting overly complex suggestions to difficulties whilst easier thoughts can be found. construction server purposes with "heavyweight" Java-based architectures, corresponding to WebLogic, JBoss, and WebSphere, may be expensive and bulky. while you've reached the purpose the place you spend extra time writing code to help your selected framework than to resolve your genuine difficulties, it's time to imagine when it comes to simplicity.
In larger, speedier, Lighter Java, authors Bruce Tate and Justin Gehtland argue that the outdated heavyweight architectures are unwieldy, advanced, and give a contribution to sluggish and buggy program code. instead capacity for development greater functions, the authors current "lightweight" open resource architectures: Hibernate—a patience framework that does its activity with a minimum API and will get out of how, and Spring—a box that's no longer invasive, heavy or complex.
Hibernate and Spring are designed to be quite easy to benefit and use, and position average calls for on process assets. greater, quicker, Lighter Java indicates you the way they could assist you create company purposes which are more uncomplicated to keep up, write, and debug, and are eventually a lot faster.
Written for intermediate to complicated Java builders, greater, swifter, Lighter Java, deals clean ideas—often unorthodox—to assist you reconsider how you paintings, and methods and rules you'll use to construct less complicated functions. You'll discover ways to spend extra time on what's vital. whilst you're comprehensive with this booklet, you'll locate that your Java is best, quicker, and lighter than ever prior to.
Read or Download Better, Faster, Lighter Java PDF
Best java books
The Spring Framework 2. five liberate displays the state-of-the-art in either the Spring Framework and firm Java frameworks as an entire. A guidebook to this serious instrument is critical studying for any conscientious Java developer. — Rob Harrop, writer of professional Spring The circulation from so–called heavyweight architectures, similar to company JavaBeans, towards light-weight frameworks, like Spring, has now not stopped due to the fact seasoned Spring was once released by way of Rob Harrop and Jan Machacek in 2005; actually, it’s picked up speed.
The open resource agile light-weight Spring (meta) Framework 2. five is by way of a ways the prime leading edge strength and “lightning rod” that’s riding today’s Java undefined. Spring has time and time back confirmed itself in real-world hugely scalable firm settings comparable to banks and different monetary associations.
Restlet in motion will get you began with the Restlet Framework and the remainder structure type. Youll create and install functions in checklist time whereas studying to take advantage of well known RESTful internet APIs successfully. This booklet appears to be like on the many elements of net improvement, on either the server and patron facet, besides cloud computing, cellular Android units, and Semantic net functions.
- Programming Hive
- TCP/IP Sockets in Java, Second Edition: Practical Guide for Programmers
- Big Java (4th Edition)
- Java Persistence with Hibernate, 2nd Edition
- Pro JavaFX 2: A Definitive Guide to Rich Clients with Java Technology
- AOP. Aspektorientierte Programmierung in der Praxis
Extra resources for Better, Faster, Lighter Java
You can apply this type of thinking in many places. Algorithms When you hear about simplicity, it’s usually in the context of algorithms. I’m not saying that you should always reach for that bubble sort, but I am saying that you 24 | Chapter 2: Keep It Simple This is the Title of the Book, eMatter Edition Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved. should leave all of the tiny, ugly optimizations out until you measure the need for change. Take the example of object allocation.
All rights reserved. | 19 Is it easy to integrate and extend? Many technologies work well within their own domain, but make assumptions that make even basic extensions difficult. Be especially careful with frameworks for distributed communication, persistence, and user interfaces. Will it cause you to compromise your core principles? If you’re striving for simplicity and independence, you should not consider ultrainvasive technologies. If you need portability at any cost, then you shouldn’t use a tool that forces you to adopt nonstandard SQL.
The overall effort was 200 developers strong. Now, that project might use 10 developers and half the original timeframe to develop the same piece of software. Since the development of better automation and unit testing, each modern developer must shoulder more of the testing load. Coders also do more design work and planning than ever before. However, experience shows that many of those developers are not equipped to handle many of the increased planning and analysis roles that they face. Gathering Requirements This book would not do its readers justice if we didn’t talk about dealing with change from a process perspective.
Better, Faster, Lighter Java by Justin Gehtland, Bruce A. Tate