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. And more. What Does java.util.concurrent.Future Hold?
7 new cool features in Java 7 @ The evolution of the Java language and VM continues! 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. 7 new cool features in Java 7 @
Cogitations and Speculations: Java Development Posts of Interest - 9 April 2011 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. 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 is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server. 'Quick and easy' doesn't mean that a resulting application will suffer from a maintainability or a performance issue. Netty has been designed carefully with the experiences earned from the implementation of a lot of protocols such as FTP, SMTP, HTTP, and various binary and text-based legacy protocols. Netty - the Java NIO Client Server Socket Framework Netty - the Java NIO Client Server Socket Framework
Today I tried to use remote debugging with Eclipse and Tomcat. 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: Remote debugging Tomcat with Eclipse - NewInstance Remote debugging Tomcat with Eclipse - NewInstance
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, Solaris, Linux and Mac OS X. This document deals exclusively with non-standard options recognized by the Java HotSpot VM: Options that begin with -X are non-standard (not guaranteed to be supported on all VM implementations), and are subject to change without notice in subsequent releases of the JDK. Java HotSpot VM Options Java HotSpot VM Options