Dr. Dobb's JVM Languages Blogs http://www.drdobbs.com//jvm Dr. Dobb's Copyright 2012, United Business Media. en-us Java Apps on the Raspberry Pi http://www.drdobbs.com/jvm/java-apps-on-the-raspberry-pi/240155309 Here is an update on my ongoing project, where I use Java on a Raspberry Pi to control an Arduino, which in turn will control some other electrical device Tue, 21 May 2013 16:43:00 -0400 Java SE 8 Schedule Update http://www.drdobbs.com/jvm/java-se-8-schedule-update/240153268 Yes, the release of Java SE 8 (JDK8) has slipped again. But it's for good reason: platform-wide security enhancements. Fri, 19 Apr 2013 12:49:00 -0400 Periodic Thread Processing in Java http://www.drdobbs.com/jvm/periodic-thread-processing-in-java/240151595 In an earlier blog where I discussed how to handle uncaught Java exceptions in other threads, I had a minor bug in my example code. Mon, 25 Mar 2013 01:00:17 -0400 Creating and Modifying XML in Java http://www.drdobbs.com/jvm/creating-and-modifying-xml-in-java/240150782 This blog shows how to use the Apache Xerces DOM parser to create and modify XML. Wed, 13 Mar 2013 20:37:00 -0400 Continuous Debugging http://www.drdobbs.com/jvm/continuous-debugging/240148346 I propose that the next generation of IDEs create an environment of continuous debugging, to be integrated into the continuous integration paradigm. In other words, from the moment I begin coding in an editor, I want the IDE to enter debug mode, attempting to execute the project and update its execution state while I type. Fri, 22 Feb 2013 04:55:20 -0500 Uncaught Java Thread Exceptions http://www.drdobbs.com/jvm/uncaught-java-thread-exceptions/240148320 I recently encountered an issue where a worker thread was terminating quietly in some code I hadn't written, and couldn't really change. Mon, 11 Feb 2013 15:45:00 -0500 Once Again: Java Vulnerability http://www.drdobbs.com/jvm/once-again-java-vulnerability/240146438 A recent set of vulnerabilities has been found within the Java SE 7 browser plugin. Perception often beats reality, and Java is getting a big black eye from this one. Mon, 21 Jan 2013 06:48:51 -0500 Creating an Open Source Project http://www.drdobbs.com/jvm/creating-an-open-source-project/240145389 Creating an open source project can generate opportunities for everyone involved; more so than if the software sits dormant on a hard drive somewhere. But where do you start? Tue, 08 Jan 2013 05:53:54 -0500 A JavaFX File Editor: Part 2 http://www.drdobbs.com/jvm/a-javafx-file-editor-part-2/240142542 In this entry, I'll talk about the JavaFX <code>WebView</code> component, the simple file editor itself, and keyboard processing. Tue, 27 Nov 2012 02:57:33 -0500 A JavaFX Text Editor: Part 1 http://www.drdobbs.com/jvm/a-javafx-text-editor-part-1/240142297 I've built a scaled-down editor app that illustrates a lot of what makes JavaFX awesome for building client GUI applications. Sun, 18 Nov 2012 18:43:50 -0500 JavaFX TableView Sample Project http://www.drdobbs.com/jvm/javafx-tableview-sample-project/240009090 I've created a standalone TableView example project, complete with NetBeans project files. Tue, 16 Oct 2012 03:40:00 -0400 JavaOne 2012 http://www.drdobbs.com/jvm/javaone-2012/240008366 Easel, JavaFX for ARM, JDK 8, and more. Wed, 03 Oct 2012 05:57:58 -0400 JDK: Getting A Head Start with Lambdas http://www.drdobbs.com/jvm/jdk-getting-a-head-start-with-lambdas/240008174 Lambda Expressions are part of Java's Project Lambda, whose goal is to add support for closures to the Java programming language. Fri, 28 Sep 2012 12:08:19 -0400 Zero-Day: Inside the Latest Java Exploit http://www.drdobbs.com/jvm/zero-day-inside-the-latest-java-exploit/240006629 What exactly is a "zero-day" flaw? Mon, 10 Sep 2012 12:03:59 -0400 It's A Java Embedded World http://www.drdobbs.com/jvm/its-a-java-embedded-world/240005983 While you still may not be able to run Java on iOS devices, or pure Java on Android devices yet, you can still run Java on billions of embedded devices. Mon, 03 Sep 2012 04:33:37 -0400 Integrating JavaFX 2.x and Swing: It's Simple http://www.drdobbs.com/jvm/integrating-javafx-2x-and-swing-its-simp/240005970 Thu, 23 Aug 2012 20:25:33 -0400 Project Jigsaw: Java Plan B^2 http://www.drdobbs.com/jvm/project-jigsaw-java-plan-b2/240004208 When Java Chief Architect Mark Reinhold proposed the infamous "Plan B" for new Java 7 features in 2010, it was an acceptable compromise in order to get Java 7 out the door. Mon, 23 Jul 2012 09:55:29 -0400 Asynchronous Java Calls, Part 2 http://www.drdobbs.com/jvm/asynchronous-java-calls-part-2/240003830 Reflection is used to transform method calls into messages that are sent asynchronously. In this blog, we'll explore the JMS portion of the framework, and the helper class that makes it easy Tue, 17 Jul 2012 05:12:43 -0400 Asynchronous Java Calls, Part 1 http://www.drdobbs.com/jvm/asynchronous-java-calls-part-1/240002791 The asynchronous call paradigm results in fast, responsive UIs with a very clean and consistent programming model. Tue, 03 Jul 2012 02:53:53 -0400 Coding the JavaFX TableView http://www.drdobbs.com/jvm/coding-the-javafx-tableview/240001874 Here's a sample test app, with step-by-step explanations, that serve as a roadmap to building your own table-based JavaFX applications. Tue, 12 Jun 2012 15:58:03 -0400 The JavaFX SceneBuilder Tool http://www.drdobbs.com/jvm/the-javafx-scenebuilder-tool/240000176 Mon, 14 May 2012 03:10:37 -0400 Java Concurrency: The Executor Service http://www.drdobbs.com/jvm/java-concurrency-the-executor-service/240000161 Exploring the Java Executor Service, which is useful for managing pools of threads, as well as the scheduling of future events Thu, 10 May 2012 07:17:25 -0400 Java 7u4, JavaFX 2.1, and NetBeans 7.1.2 http://www.drdobbs.com/jvm/java-7u4-javafx-21-and-netbeans-712/232901064 Garbage First (G1) garbage collector, Mac support, a brand new JVM implementation, and more goodies. Thu, 26 Apr 2012 14:35:59 -0400 Java Concurrency: Queue Processing, Part 2 http://www.drdobbs.com/parallel/java-concurrency-queue-processing-part-2/232900063 There are times when you need to process different actions in different threads, but they need to be coordinated using a hand-off pattern. With a <code>SynchronousQueue</code>, both sides of the queue (consumer and producer) will block until there is a corresponding producer and consumer, respectively. Sun, 15 Apr 2012 18:06:08 -0400 Java Concurrency: Queue Processing, Part 1 http://www.drdobbs.com/parallel/java-concurrency-queue-processing-part-1/232700457 Implementing queue processing across a pool of worker threads using basic Java thread synchronization and object monitor Mon, 02 Apr 2012 18:58:27 -0400