URL | Description |
---|---|
10 Examples of Lambda Expressions and Streams in Java 8 | |
Annotations | |
Annotations in Java 5.0 | |
Annotations in Tiger Part 1 - Add Metadata to Java Code | Annotations, a new feature in J2SE 5.0 (Tiger), brings a much-needed metadata facility to the core Java language. In this first of a two-part series, author Brett McLaughlin explains why metadata is so useful, introduces you to annotations in the Java language, and delves into Tiger's built-in annotations. Part 2 covers custom annotations. |
Annotations in Tiger Part 2 - Custom Annotations | Part 1 of this series introduced annotations, the new metadata facility in J2SE 5.0, and focused on Tiger's basic built-in annotations. A more powerful related feature is support for writing your own annotations. In this article Brett McLauglin shows how to create custom annotations and then how to annotate your annotations to document and customize your code further. |
Calling C From Java Is Easy | Sometimes we need to access operating system functions that the standard Java API doesn’t expose, or use non-Java libraries. Although it’s well known that you can call this “native code” from Java using JNI, there is not so much entry-level material on how it’s actually done. It is often left out of introductory material–including the official Java Tutorial. Here I hope to give a short introduction to get you started. |
Default Methods on Interfaces | |
How do I read a private feld in Java? | |
How to Convert InputStream to String in Java | |
Install JDK 8 (not JRE 8) to run Eclipse on Mac | To avoid JRE version confusion make sure you install the JDK instead of the JRE for the latest Java version otherwise Eclipse on the Mac will not launch without thinking it has version 1.6 of JRE instead of 1.8. You may waste a lot of time fooling around with the PATH, JAVA_HOME, .bash_profile, and Eclipse.ini otherwise to get Eclipse to launch. It is unnecessary if you install the JDK. |
Java 8 Lambda Expressions Tutorial with Examples | |
Java Concurrency | |
Java Notes | |
Java SE 8 API | |
Lambda Expressions | |
Learn Java 2.1- Game Programming -Creating a Web Applet | Good tutorial on creating some Java Swing graphics using an applet.
|
RESTful Java with JAX-RS 2.0 |