java-7

Is there a want for a Java 7 Cloud Server Framework that is not Spring/Tomcat based?

I have a question. Is there a demand out there for a small, lightweight, Java 7 based open source project that is geared toward making Cloud services more elegant? I have written several servers in my lifetime, and was curious if there was a need for this. My thoughts were to keep it simple, lightweight, and use the Java 7 NIO 2 funct...

Who is preventing the release of Java 1.7

I recently attended a talk by a Sun engineer Charlie Hunt regarding performance. The talk was interesting enough but one question was regarding release date of 1.7. He said it's delayed as there are parties who are refusing to sign off JSRs they own and thus preventing the 1.7 release. It apparently has something to do with the cost of ...

Is MiGLayout going to be included in Java 7?

All I could find so far is this (open) Sun bug/RFE entry with 425 426 votes: http://bugs.sun.com/view_bug.do?bug_id=6530906 It's in third place in the list of RFEs. Tons of people have stated that it will be included in Java 7...but does anyone have any clear information on whether MiGLayout will be included? Answered Well, it see...

Can anyone describe in a nutshell differences between 3 closures proposals and their current state in Java?

I'm reading about closures which are going to appear in Java 7. And I'm a bit confused because from one hand there are lots of nice articles which describe new java closures. But from the other hand there were 3 different specs and some of the articles are simply outdated because describe not the latest proposal. So, if anyone trac...

What complexity are operations on Java 7's BigInteger?

What complexity are the methods multiply, divide and pow in BigInteger currently? There is no mention of the computational complexity in the documentation (nor anywhere else). ...

Java G1 garbage collection in production

Since Java 7 is going to use the new G1 garbage collection by default is Java going to be able to handle an order of magnitude larger heap without supposed "devastating" GC pause times? Has anybody actually implemented G1 in production, what were your experiences? To be fair the only time I have seen really long GC pauses is on very la...

Compiling Issues For Java 7 In NetBeans

So I have Java 7 (64bit Windows build 84) and NetBeans 6.8. I want to use the new invokedynamic stuff in Java 7 and compile from NetBeans but I can't figure out how to get NetBeans to run the program with the right options except when I build it (run fails, build works). The code needs to be compiled with the option -XDinvokedynamic and...

Will the "generified" version of JTree (TreeModel, TreeNode, ...) be in JDK7?

I found out recently that JList (finally!) was "generified" in JDK7. Why JTree and related classes/interfaces are not changed the same? It would be a huge improvement. Casting Object is going on one's nerves. NOTE: The javadoc had not yet been updated, see here and here. ...

What are the new features in Java 7

What is the most official Java 7 feature list? I find very little useful information regarding this on the official JDK 7 site. Apart from that I can only find blogs with people summarizing "some" of the new features. However, some of these blog entries are old and some of them claim that these features "may or may not" be included i...

Programming Java 7 in Eclipse

I installed JDK 7 and Eclipse 3.6M6. Then, I added JRE 7 as a new JRE execution environment in Eclipse, and set the compiler compliance level to Java 7. I can compile the following piece of code through command line using the javac that comes with JDK 7. import java.util.HashMap; import java.util.Map; public class Try { public st...

"Simplified Varargs Method Invocation" already implemented in the current OpenJDK 7?

Is "Simplified Varargs Method Invocation" from http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000217.html already implemented in Java 7? Today I read in www.sdtimes.com/INTEGRATION_WATCH_JAVA_7_LOOKING_GOOD/By_ANDREW_BINSTOCK/About_JAVA/34288 about that, but I never found a release note of the JDK 1.7. You have an original qu...

Why collection literals ?

Hi fellow Java programmers. From the various online articles on Java 7 I have come to know that Java 7 will be having collection literals like the following: List<String> fruits = [ "Apple", "Mango", "Guava" ]; Set<String> flowers = { "Rose", "Daisy", "Chrysanthemum" }; Map<Integer, String> hindiNums = { 1 : "Ek", 2 : "Do", 3 : "Teen" ...

IBM i (AS400) updates on new Java releases / Java 7

Since Java 7 is comming I was wondering how much time it would take to have the IBM JVM running Java 7 on IBM i systems? (AS400) I was searching IBM's site to find some roadmap but didn't find anything yet. Do you have past experience on the older java release? ...

How are the interfaces going to be replaced/augmented by the closures in Java?

Java 7 will have closures ( finally ), and I wonder how the existing code using single method classes/interfaces ( like Runnable, Comparator, etc ) will be used now. Would that code be replaced? Will be a conversion of some sort? An extra method using the closure will be added? Does anyone knows how is this going to work/what the p...

How can I use JNLP to download Java 7?

I'm developing a rich Internet application that requires a Java 7 platform. How can its associated JNLP file ensure the installation of that platform? I've tried several variations on the following in the JNLP file (mostly playing with the URL in the "href" attribute): <jnlp ...> ... <resources> <java version="1.7+" href="http...

Will structs and value types (like C#'s) be included in Java 7?

Will structs and value types (like C#'s) be included in Java 7? ...

Complexity of Java 7's current Lambda proposal? (August 2010)

Some people say that every programming language has its "complexity budget" which it can use to accomplish its purpose. But if the complexity budget is depleted, every minor change becomes increasingly complicated and hard to implement in a backward-compatible way. After reading the current provisional syntax for Lambda (≙ Lambda expres...

Why did Sun/Oracle choose Unicode 5.1 over Unicode 5.2 in Java 7/JDK7?

According to the JDK 7 feature list Java's Unicode support will be updated (from Unicode 4.0 in Java 6) to Unicode 5.1 although Unicode 5.2 is available since October 2009. What's the reason for that considering that Unicode 5.2 was mostly an update of the Unicode book? EDIT: Java 7's Unicode support will be updated to Unicode 6.0. ...

Does it make sense to use `java.nio.file.spi`to implement access to a remote file system?

Basically I write an application which copies/moves files from the local file system to a remote file system over some FTP-like protocol. Would it be a good approach to encapsulate the protocol-specific bits inside of the file system service provider interface? As far as I understand that would make my library work with other applicati...

Are there plans for ImmutableEnumSet in Java 7?

I want to have all the efficiencies of EnumSet and pass it around without worrying that somebody would modify it. ...