sort by date

developerWorks (IBM)
Focus On Java

sitios en español

developerWorks (IBM)
Copyright 2004 IBM Corporation.
Get started with the Java EE 8 Security API, Part 1: Java enterprise security for cloud and microservices platforms
As one of the three core specifications introduced with Java EE 8, the new Java EE Security API is an essential addition to your Java EE toolkit, and thankfully not terribly difficult to learn. Find out how the Java EE Security API supports enterprise security in cloud and microservices platforms, while introducing modern capabilities such as context and dependency injection.
Making the cut: Top Java content from developerWorks
A quick rundown of the top content published in the Java hub in 2017.
Create an artificial neural network using the Neuroph Java framework
Build an artificial neural network (ANN) using the Java language and Neuroph open source framework.
Java 8 idioms: Functional purity
Functional pipelines can greatly increase the efficiency and performance of your code, especially when combined with lazy evaluation and parallelization. In this article you'll learn the rules of functional purity, and why you should always strive to keep lambda expressions pure in your functional pipelines.
5 Things You Need to Know About Java 9
Arnab Sarkar02/22/2018 at 08:01:01

In the month of September 2017, Java announced the latest version of Java. It was released after more than 3 years after the release of Java 8, putting a major Java finally in the hands of developers.

Java 9 is a turning point in the release cycle for Java. Here in this post, we will discuss new developer features in Java 9. From an operational point of view, there are changes and enhancements to performance and security. Here, we will talk about five of the most exciting features in Java 9 to encourage you in adopting it.

The Expression Problem in Go
Eli Bendersky02/22/2018 at 06:02:38

I've written about the expression problem here and later also here. Between them, these posts presented various solutions and non-solutions in C++, Haskell, and Clojure.

Today I want to add another language to the mix - Go. It turns out that Go interfaces allow us to solve the expression problem or at least a limited variant thereof.

Zeros to the Left: BI Best Practices
Reinaldo Nunez02/22/2018 at 06:02:37

It was not long ago when computational systems suppressed databases’ use of the century in the date fields to save space in the “so expensive” storage. The same happened when displaying the dates in fixed size for terminal screens (80 columns × 24 rows) or when printing amounts with zero quantities or zero dollars. It was extremely important and economically savvy to code and design systems for better use of the hard disk space, screen real-estate, and printer toner. Millions of dollars were actually saved for not storing, displaying, and printing zeros.

Having all of those technical barriers economically minimized almost to the point of non-importance, should we still see (or not see) the zeros in reports and screens rendered by BI tools? What are the best practices for BI reports in that sense?

Analog Computing: The AI/ML Redux
Emmett Coin02/22/2018 at 06:02:37

Well into the 1970s, analog computers did much of the heavy number-crunching for science and engineering. They were key to the aerospace industry and solving problems about fluid flow, vibration analysis, thermal simulation, and more. Analog computers provided most of the computation for getting to the moon and designing spy planes flying at three times the speed of sound. They were also used in many other fields, i.e. biology and chemistry. Back in the day, I programmed an applied dynamics analog computer that was originally intended for aircraft flight simulation to do complex simulations of pulmonary ventilation and perfusion in the humans.

Analog computers do computations in a fundamentally different way than digital computers. We "read" their answers by measuring a physical property of a mechanical, fluidic, or electronic analog of the problem we're solving. A very (very) simple analog for addition is a measuring cup. You can measure the total volume of several arbitrarily shaped containers by filling them with liquid and pouring them all into the measuring cup. Then, reading the graduations on the side of the cup, we "calculate" the total volume: the sum of the input volumes. Analog computers are pretty much that simple. Or, for a more challenging (interesting) problem, suppose you need the integral of a variable flow rate. All you need to do is pipe that variable flow into the measuring cup over the time interval that you wish to integrate and just like that you can read the integral of the volume of the side of the measuring cup. You can even do the integral of several different functions by flowing them into the same cup (dynamically adding functions). Calculus with water! FYI, for electronic analog computers, it's almost the same thing: instead of water, it's electrons, and instead of a measuring cup, it's a capacitor, and instead of reading markings on the side of the cup, we measure the voltage across the capacitor. It's really pretty simple. 

Get the Attention of a User with a Beep
Language: Java, Expertise: Intermediate - Learn to use java.awt.Toolkit.getDefaultToolkit.beep(); to get the attention of a user.
Knowing the Temp Location in Your Environment
Language: Java, Level: Intermediate: - Learn how to find the temp location in your environment.
Time Zone Conversion
Language: Java, Expertise: Beginner - Learn how to avoid this common time zone conversion mistake.
How to Find the End of a File in Java
Language: Java, Expertise: Intermediate - Easily find the end of file that you are processing.





Java and Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. javasight is independent of Sun Microsystems, Inc.