Java

Facebook Twitter

What Does java.util.concurrent.Future Hold? We Recommend These Resources Let’s be sure of what the Future holds Future, which is a part of the Java concurrency Task execution framework, is the result of your computation as the javadoc claims.

What Does java.util.concurrent.Future Hold?

And more. 7 new cool features in Java 7 @ sellmic.com. The evolution of the Java language and VM continues!

7 new cool features in Java 7 @ sellmic.com

Mark Reinhold (Chief Architect of the Java Platform Group) announced yesterday that the first release candidate for Java 7 is available for download, he confirms that the final released date is planned for July 28. For a good overview of the new features and what’s coming next in Java 8, I recommend this video on the Oracle Media Network, which features Adam Messinger, Mark Reinhold, John Rose and Joe Darcy. I think Mark sums up Java 7 very well when describing it as an evolutionary release, with good number “smaller” changes that make for a great update to the language and platform. Cogitations and Speculations: Java Development Posts of Interest - 9 April 2011. I ran across several articles and blog posts this past week that I believe deserve specific mention.

Cogitations and Speculations: Java Development Posts of Interest - 9 April 2011

In this post, I reference these resources and provide a quick summary of what I found interesting about them. The referenced posts and articles are largely Java-focused, but cover topics such as cloud computing, Scala, Java 7, polyglot programming, and consultants versus internal developers. Twitter Changes: Lucene and Java. Netty - the Java NIO Client Server Socket Framework. Remote debugging Tomcat with Eclipse - NewInstance. Today I tried to use remote debugging with Eclipse and Tomcat.

Remote debugging Tomcat with Eclipse - NewInstance

I usually use a Tomcat Sysdeo Plugin to run Tomcat inside Eclipse, but today I faced remote debugging. To run tomcat in remote debugging you can start it with commandcatalina jpda start But this will start remote debugging using shared memory, and Eclipse, as far as I know, does not support shared memory as transport for deubugging. The alternative is to use a socket as transport for JPDA. You simply set some enviroment variable that will be checked by catalina startup script, as in following example: Java HotSpot VM Options. Please note that this page only applies to JDK 7 and earlier releases.

Java HotSpot VM Options

For JDK 8 please see the Windows, Solaris, Linux and Mac OS X reference pages. This document provides information on typical command-line options and environment variables that can affect the performance characteristics of the Java HotSpot Virtual Machine. Unless otherwise noted, all information in this document pertains to both the Java HotSpot Client VM and the Java HotSpot Server VM.

Categories of Java HotSpot VM Options Standard options recognized by the Java HotSpot VM are described on the Java Application Launcher reference pages for Windows and Solaris & Linux.