Learn Java

Learn Java news, information, and how-to advice

javaqa-250

New BigInteger methods in Java 8

Unlike Value(), BigInteger's four new ValueExact() methods will throw an ArithmeticException if the number contained in a BigInteger instance isn't specified in the method's name. While nobody likes exceptions, this post demonstrates...


Who's to blame for 'catastrophic' Heartbleed Bug?

Over the past week, the Heartbleed bug has sent tech industry giants and startups scurrying to patch servers and change digital encryption certificates, but who's to blame for this flaw in the open-source protocol?

Don't want to mix programming languages? You already do!

Even if you don't realize it, polyglot programming is the new normal for app dev, especially on the web.

Break Down Barriers and Reduce Cycle Times with DevOps

Learn why and how many successful companies have changed how they deliver software by dismantling the traditional silos that stifle collaboration and progress.

Choosing a software methodology.

Scrum co-inventor: Agile can lower risk, but it won't tell you how to code

Co-inventor of Scrum and Agile Manifesto signatory, Ken Schwaber says the time has come for a more measurable, evidence-based approach to evaluating software development projects and methodologies.

Contributions of individual programming languages to software development

Let's not argue anymore about which programming language is best! This post considers some of our most and least popular languages in terms of their ongoing contributions to software development.

The dark side of lambda expressions in Java 8

Takipi CEO Tai Wiess says that lambda expressions in Java 8 offer more concise code at the expense of longer stack traces and more complex debugging, especially when you throw Nashorn into the mix.

Abstract class versus interface in the JDK 8 era

The difference between abstract classes and interfaces has long vexed Java developers. Find out how Java 8's default methods introduce both new complexity and new options to that familiar programming conundrum.

4 ways to modernize your application performance monitoring strategy

Online retail sales in the US will reach $370 billion by 2017 - a 10 percent compound annual growth rate over the next 5 years.

lightbulb

Git smart! 20 essential tips for Git and GitHub users

The programming world's favorite distributed version control system also lets you find, share, and improve code. Here's how to make Git and GitHub work better for you.

Video: Functions as first-class values in Java 8

Java 8 treats methods as first-class citizens, which makes Java programming both more flexible and more functional. Get a quick video introduction to programming with first-class methods and using lambdas to express behaviors from the

The wait is over: JDK 8 is here!

A developer's list and crib-sheet of some of the best resources on the web for learning about Java 8, now in general availability.

steamy java

Java 8 officially arrives at last

Oracle's long-anticipated update includes addition of lambda expressions and shift to functional programming language.

10 key findings illustrate the need for a new breed of APM solutions

This paper highlights ten key takeaways from the most recent survey on the impact of Cloud on application management. Read Now>>

7 long-ago decisions that still haunt developers today

Software developers are some of the more forward thinking people of the world, but that doesn't mean living completely free of the consequences of the past. While it might be your job to make decisions – about how to best...

Java 101: The next generation: The essential Java language features tour, Part 3

Get introduced to the last but not least of new features that have improved Java's productivity since JDK 5: Autoboxing and unboxing, the enhanced for loop, static imports, varargs, and covariant return types.

Java Q&A: The ultimate superclass, Part 1

This post launches a three-part series in which I present and answer questions about Object and its methods.

java heart

Survey: Developers eager for Java 8

Lambda capabilities are the most anticipated new feature, while JavaScript addition lags far behind in popularity.

Mobile Apps and Devices Slash Customer Cycle Time

Consolidated Engineering Laboratories' field employees used to collect data on triplicate forms that were sometimes hard to read and difficult to manage. After procuring iPad devices from CDW and integrating mobile apps with

Google's Java coding standards

Google's Java programming conventions are fully documented, so study up before you make your bid to join the Googleplex.

Coding conventions: 9 areas where developers actually agree

Millions of GitHub commits don't lie: find out how your coding habits and pet peeves stack up based on real code written in Java, Python, Ruby, PHP, Scala, C#, and JavaScript.

Everything about Java 8

Back in September 2013, developer M. Hixson took the JDK 8 Developer Preview for a test drive. His commentary about important changes coming in Java 8 is still worth a read.

Serializing Java objects with non-serializable attributes

Use custom serialization as an alternative to transience for non-serializable attributes in your Java objects.

Load More