background preloader

Java

Facebook Twitter

Amazon.com Sign In. "High Performance Java EE" from HighLoad Conf. In this 45 mins session from HighLoad Conf (Minsk), I implemented, deployed, stresst tested and monitored a Java EE 7 application: Interested in performance and testing? Checkout: javaeetesting.com, javaeemicro.services or (even better) visit MUC: airhacks.com. NEW workshop: Building HTML 5 Applications Without Frameworks, Full week in December 2016: from Java EE 7 Bootstrap, Effective, Architectures over Testing to Microservices On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming. Java 8 Features Tutorial - The ULTIMATE Guide (PDF Download) Last updated Oct. 3, 2016 EDITORIAL NOTE: It’s been a while since Java 8 is out in the public and everything points to the fact that this is a really major release.

We have provided an abundance of tutorials here at Java Code Geeks, like Playing with Java 8 – Lambdas and Concurrency, Java 8 Date Time API Tutorial : LocalDateTime and Abstract Class Versus Interface in the JDK 8 Era. We also referenced 15 Must Read Java 8 Tutorials from other sources. Of course, we examined some of the shortfalls also, like The Dark Side of Java 8. Now, it is time to gather all the major Java 8 features under one reference post for your reading pleasure. Enjoy! Want to be a Java 8 Ninja ? Subscribe to our newsletter and download the Java 8 Features Ultimate Guide right now! In order to get you up to speed with the major Java 8 release, we have compiled a kick-ass guide with all the new features and goodies!

Email address: languagecompilerlibrariestoolsruntime (JVM) Java 8 is by any means a major release. 2.1. Java Programming Courses | Java Code Geeks - 2016. VirtualBox Tutorial: Virtualization Essentials Oracle VM VirtualBox is a free and open-source hypervisor for x86 computers from Oracle Corporation. VirtualBox may be installed on a number of host operating systems, including: Linux, OS X, Windows, Solaris, and OpenSolaris.

There are also ports to FreeBSD and Genode. It supports the creation and management of guest virtual machines running versions and derivations of Windows, Linux, BSD, OS/2, Solaris, Haiku, OSx86 and others, and limited virtualization of OS X guests on Apple hardware. In this course, we provide a compilation of VirtualBox tutorials that will help you get started with this virtualization platform. Java Concurrency Essentials Tutorial | Java Code Geeks - 2016. Course Overview Concurrency is always a challenge for developers and writing concurrent programs can be extremely hard. There is a number of things that could potentially blow up and the complexity of systems rises considerably when concurrency is introduced.

However, the ability to write robust concurrent programs is a great tool in a developer’s belt and can help build sophisticated, enterprise level applications. In this course, you will dive into the magic of concurrency. You will be introduced to the fundamentals of concurrency and concurrent code and you will learn about concepts like atomicity, synchronization and thread safety. As you advance, the following lessons will deal with the tools you can leverage, such as the Fork/Join framework, the java.util.concurrent JDK package. About the Author Lessons Introduction to Threads and Concurrency In the first lesson of our course, you will get introduced to the magical world of Concurrency. The java.util.concurrent Package. Java 8 Streams: An Intro to Filter, Map and Reduce Operations. If you’re a strong Java developer who wants to contribute to our coverage, get in touch with a few ideas for articles you’d like to write.

After shying away from them for years, Java finally embraced functional programming constructs in the spring of 2014. Java 8 includes support for lambda expressions, and offers a powerful Streams API which allows you to work with sequences of elements, such as lists and arrays, in a whole new way. In this tutorial, I’m going to show you how to create streams and then transform them using three widely used higher-order methods named map, filter and reduce.

The code for this post can be found here. Creating a Stream As you can tell from its name, a stream is just a sequence of items. In Java 8, every class which implements the java.util.Collection interface has a stream method which allows you to convert its instances into Stream objects. Integer[] myArray = {1, 5, 8}; Stream<Integer> myStream = Arrays.stream(myArray); The map Method The filter Method. Job search: The most extensive job network - Jobillico. Devoxx Poland 2016 - Simon Ritter - Project Jigsaw in JDK 9: Modularity Comes To Java. The Basics of Web Application Security. Modern web development has many challenges, and of those security is both very important and often under-emphasized. While such techniques as threat analysis are increasingly recognized as essential to any serious development, there are also some basic practices which every developer can and should be doing as a matter of course.

The modern software developer has to be something of a swiss army knife. Of course, you need to write code that fulfills customer functional requirements. It needs to be fast. Further you are expected to write this code to be comprehensible and extensible: sufficiently flexible to allow for the evolutionary nature of IT demands, but stable and reliable. You need to be able to lay out a useable interface, optimize a database, and often set up and maintain a delivery pipeline.

Somewhere, way down at the bottom of the list of requirements, behind, fast, cheap, and flexible is “secure”. Security is a cross-functional concern a bit like Performance. Trust In Practice. Applying Java 8 Idioms to Existing Code. Learn more about Kotlin, a new programming language designed to solve problems that software developers face every day brought to you in partnership with JetBrains.

Abstract While we’re drawing ever closer to Java 9, and even hearing about features in Java 10, many of us are still working with an older version. Even if your project has technically adopted Java 8, and even if you’re using it when coding new features, it’s likely that the majority of your code base is still not making the most of what’s available in Java 8 - features like Lambda Expressions, the Streams API, and new Date/Time.

And this is a shame, since Java 8 provides not only nicer syntax for developers, but (usually) better application performance. In this presentation, Trisha will: The Talk The IntelliJ-specific features of some of the refactoring shown are covered in my Migrating to Java 8 tutorial. Background Code The project we’re refactoring is Morphia. Performance Lambda Expressions Streams Date And Time Benchmarking Topics: 13 Decks Java Developers Must See to Stay Updated. From the Takipi blog So many presentations to see, so little spare time… There are many key figures in the Java domain, each with his own perspective and opinions about the future of the language. While we can’t be at every event, meet-up, or talk, thanks to various slide sharing sites, we can hear what these influencers have to say.

In the following post we’ve collected the best and most interesting decks about Java, so you won’t miss anything interesting and exciting from top speakers around the world. New Post: 13 Decks Java Developers Must See to Stay Updated pic.twitter.com/qGnQWaok3v— Takipi (@takipid) May 18, 2016 1. Stephen Colebourne, engineering lead at OpenGamma, project lead at Joda.org (see how it ranked on our Top 100 libraries on Github post) and a Java champion, offers his suggestions for Java 8 best practices. Click here to view 2. Project Jigsaw introduces a module system to Java that will change how we think of our code. Click here to view 3. 5. 7. Java 8: Writing asynchronous code with CompletableFuture. Java 8 introduced a lot of cool features, whereas lambdas and streams caught much of the attention.

What you may have missed is the CompletableFuture. You probably already know about Futures A Future represents the pending result of an asynchronous computation. It offers a method — get — that returns the result of the computation when it's done. The problem is that a call to get is blocking until the computation is done. This is quite restrictive and can quickly make the asynchronous computation pointless. Sure — you can keep coding all scenarios into the job you're sending to the executor, but why should you have to worry about all the plumbing around the logic you really care about? This is where CompletableFuture saves the day Beside implementing the Future interface, CompletableFuture also implements the CompletionStage interface. A CompletionStage is a promise. This way we can build systems in a non-blocking fashion. Ok, enough chatting, let's start coding! It's as easy as that.

Java 8 Lambdas Hacking: interviewing the java expert. What are some cool Java tricks? - Quora.