Skip to main content

Posts

Showing posts from 2014

The Java Memory Model

The Java Memory Model JLS: Threads and Lock http://en.wikipedia.org/wiki/Java_Memory_Model Java theory and practice: Fixing the Java Memory Model, Part 1 http://www.javaworld.com/article/2092274/java-platform/fixing-the-java-memory-model.html

Secure Code guidelines

This is just a reminder that an excellent Java security resource is available here: The CERT Oracle Secure Coding Standard for Java Here is an example: TPS03-J. Ensure that tasks executing in a thread pool do not fail silently On a recent project I was asked to look at, I could not work out why exceptions were being ignored. I eventually found the above link via a web search. I found it interesting and it was the solution to the problem.

WildFly on Raspberry Pi

It amazes me what you can do with a little Raspberry PI, here is an article showing how to run a Java EE server ! :-) WildFly on Raspberry Pi

Java Language Spec and VM Spec books updated for Java 8

I'm personally going to stick with Java 7 for a while mainly due to work & there is still a lot to learn (for me at least) about Java 5, 6 and 7 before tackling 8. But it looks like the JLS and JVM specs are updated to Java 8 level here: HTML & PDF and PDF diffs from Java 7 http://docs.oracle.com/javase/specs/

Virtual Developer Day - Java May 2014

Java Developer Day is coming up in May, it looks like it's going to be repeated 3 times for 3 different time zones. This appears to be a day to cover lots of technical info. with sessions for developers keen to learn more about Java 8, Java SE and Java EE. https://blogs.oracle.com/java/entry/virtual_developer_day_java_2014

Java 8, now what?

O'Reilly programming blog has a good article about the very recently released Java 8: Java 8, now what? What you'll need to know to start your Java 8 migration process today Java 8, now what?

Java 8 is here already?!

It seems like only yesterday that Java 7 was released, books are still being updated to Java 7 (although some books will skip 7 and will focus instead on Java 8). It's still an exciting time to be a Java developer.  Java 8 is a whole new refresh. https://blogs.oracle.com/java/entry/java_se_8_is_now Oracle: Java SE 8 Oracle: What's new in Java 8 JDK 8 release notes

Some interesting NetBeans articles

Interview: PMD Code Analyzer for NetBeans IDE http://netbeans.dzone.com/articles/searching-text-and-editing http://www.dzone.com/links/r/collection_of_netbeans_resources_by_nebrass_lamou.html 5 Hints for NetBeans Newbies (Part 1) Business Process Modeling in NetBeans IDE David Heffelfinger: My Five Favourite NetBeans IDE Features! Interview with Authors of "NetBeans Platform for Beginners" (Part 2) Lou Dasaro: My Five Favourite NetBeans IDE Features! Why NetBeans IDE is Great for Teaching Java (Part 5)

An article that has sparked my interest in Java 8 ...

This excellent article from Zeroturnaround about how Java 8 could transform your code base has finally got me intrigued about Java 8. At work we use Java 6 everywhere and that was a struggle to get them to upgrade to that, luckily they have made noises about maybe moving to Java 7 this or next year. Some guys that are thinking of getting Java certification are going for the Java 6 route, whereas I am more interested in how the new Java 7 features can help us. But even Java 7 isn't new. Companies move a lot slower to adopt new versions of Java perhaps. http://zeroturnaround.com/rebellabs/what-migrating-to-java-8-will-do-to-your-codebase-a-practical-example/ IMHO, Java 8 looks set to revolutionise Java. JavaOne 2013 Roundup: Java 8 is Revolutionary, Java is back

JVM internals

A really good detailed article about JVM internals: http://www.cubrid.org/blog/dev-platform/understanding-jvm-internals See also: http://en.wikipedia.org/wiki/Java_bytecode http://www.javaworld.com/article/2077233/core-java/bytecode-basics.html http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-6.html artima.com: Inside the Java Virtual Machine

Google Java Style

I had heard of the  Google C++ Style Guide but I had not heard about the Google Style guide for Java before. Here it is: Google Java Style