The major new features in Java 8 center around lambda expressions, a functional programming construct that simplifies certain types of programming problems. John Moore demonstrates the power of lambdas by contrasting several implementations of a mathematical example using C++, Java without lambdas, and Java 8 with lambda expressions.
Many companies use SharePoint to store and share documents, but relatively few Java developers know how to access SharePoint web services from a Java client. In this Java tip, learn how to use CAML calls for CRUD operations in SharePoint's Copy and Lists web services.
The open source community has created many open source Java projects, which range from charting software to game frameworks to word processors. In this post, I introduce an open source library project for reading and writing Microsoft Excel spreadsheets. Recommending a SpreadSheet Library Q: I've been asked to extend my company's Java-based spreadsheet software to read and write Excel spreadsheets.
The Java language's transient keyword isn't as well known as for , class , synchronized , and other familiar keywords; which makes it a perfect candidate for inclusion in a job interview questionnaire.
From assertions in JDK 1.4 to the forthcoming lambdas in Java 8, the
Java language has evolved considerably since its inception. The next several
articles in Java 101: The next generation present a toolbox of
essential Java language features, starting this week with assertions and
Java's Collections Framework provides many convenient idioms for accomplishing common tasks (e.g., removing a collection's null elements). In this post, I present a handful of these idioms, which can help you write clearer and shorter code. Easy List Creation Q: What's the easiest way to create a list? A: The easiest way to create a list is to use the java.util.Arrays class's List asList(T... a) generic class method, which returns a fixed-size list backed by the specified array.
Learn how the Java Concurrency Utilities handle locking, atomic variables, and fork/join operations. Then prepare for the future with an overview of anticipated changes to the Java Concurrency Utilities coming in Java 8.