IBM Java Dev.

Subscribe to IBM Java Dev. feed IBM Java Dev.
The latest content from IBM developerWorks
Updated: 9 hours 6 min ago

Java 8 idioms, Part 3: Functional alternatives to the traditional for loop

Thu, 2017-04-27 06:00
The for loop might be ubiquitous, but it isn't irreplaceable. Learn how range, iterate, and limit cut the fuss out of even complex iterations in Java.
Categories: Java

Protect your apps from cross-site scripting (XSS) attacks

Fri, 2017-04-14 06:00
One of the most common techniques for cross-site scripting attacks is injecting code into a web page. This code snippet shows you how to use escape sequences so that any injected code can't run.
Categories: Java

Java 8 idioms, Part 2: Function composition and the Collection Pipeline pattern

Thu, 2017-03-30 06:00
Endless looping isn't the only way to iterate collections in your code. Function Composition and Collection Pipeline are two patterns that let you use expressions, rather than statements, to sort collections in Java.
Categories: Java

UPDATE: Testing for Views in Production, please ignore this article 03182017

Fri, 2017-03-17 06:00
For a modest investment, our new developerWorks Premium membership program can yield huge benefits for you in terms of time and (yes) money giving you access to powerful tools that support your cloud projects, a trove of learning resources to help you build your skills, discounts to industry events where you can expand and enhance your network, free certification testing, and more.
Categories: Java

Blockchain chaincode for Java developers

Wed, 2017-03-15 06:00
Blockchain is changing the way business transactions are done on the Internet. In this tutorial, you'll install a blockchain network and run a chaincode smart contract written in the Java language.
Categories: Java

Java 8 idioms, Part 1: An easier path to functional programming in Java

Fri, 2017-02-24 07:00
Learning to program declaratively, rather than imperatively, is an easy first step to adopting functional techniques in your Java programs.
Categories: Java

Node-RED Update Tech Talk

Thu, 2017-02-16 07:00
Node-RED co-creators Nick O’Leary and Dave Conway-Jones describe and demonstrate some of the new features that make it even faster to create and debug flows, as well as where they see the project heading in 2017.
Categories: Java

Introduction to Java programming, Part 1: Java language basics

Tue, 2017-01-24 07:00
Get an introduction to the structure, syntax, and programming paradigm of the Java language and platform in this two-part tutorial. Learn the Java syntax that youre most likely to encounter professionally and Java programming idioms you can use to build robust, maintainable Java applications. In Part 1, master the essentials of object-oriented programming on the Java platform, including fundamental Java syntax. Get started with creating Java objects and adding behavior to them, and conclude with a summary of Java coding best practices.
Categories: Java

Introduction to Java programming, Part 2: Constructs for real-world applications

Tue, 2017-01-24 07:00
Continue familiarizing yourself with object-oriented programming on the Java platform. This second half of the Introduction to Java programming tutorial introduces the more-sophisticated syntax and libraries you need to develop complex, real-world Java applications.
Categories: Java