JavaPins - Stories tagged with Java7
1
Pins

Java 7 – Files API | Alvin "Jay" Reyes Blog

posted by anishaanisha 675 days, 19 hours, 29 minutes ago
Sunday, September 02, 2012 5:48:08 PM GMT
Java 7 Introduce a new I/O package to handle File Access form the Java Virtual Machine more  ”simple”. Well thats how I actually look at it after using it in one of my sideline projects. Although upon exploring the net on potential cause on why a new File I/O Api was developed, I found this to be the most straight forward reason. (more)
category: Java EE | clicked: 0 | comment | | source: alvinjayreyes.com
tags: file API, Java7
1
Pins

Inspired by Actual Events: Java 7's ThreadLocalRandom

posted by anishaanisha 696 days, 17 hours, 33 minutes ago
Sunday, August 12, 2012 7:44:28 PM GMT
Java 7 brings many new language features and new classes to the Java developer. One of the new classes included in Java 7's new concurrency offerings is ThreadLocalRandom (located in the java.util.concurrent package). ThreadLocalRandom extends java.util.Random, but intentionally does not support the explicit setting of seed its parent class supports. (more)
category: Java EE | clicked: 1 | comment | | source: marxsoftware.blogspot.in
tags: Java7, ThreadLocalRandom
1
Pins

Java 7 #8: NIO.2 File Channels on the test bench - Java Code Geeks

published 696 days, 2 hours, 13 minutes ago posted by anishaanisha 697 days, 1 hour, 32 minutes ago
Monday, August 13, 2012 11:04:13 AM GMT Sunday, August 12, 2012 11:45:30 AM GMT
Another blog post about new JDK 7 features. This time I am writing about the new AnsynchronousFileChannel class. I am analyzing the new JDK 7 features in depth for a couple of weeks now and I have decided to number my posts consecutively. Just to make sure I don't get confused :-) Here is my 7th post about Java 7 (I admit that - by coincidence - this was also a little confusing). Using NIO.2 asynchronous file channels effectively is a wide topic. There are some things to consider here. I have decided to ... (more)
category: Java EE | clicked: 2 | comment | | source: www.javacodegeeks.com
tags: File Channels, Java7, NIO2
1
Pins

Java 7: Project Coin in code examples - Java Code Geeks

posted by anishaanisha 698 days, 22 hours, 4 minutes ago
Friday, August 10, 2012 3:13:24 PM GMT
This blog introduces - by code examples - some new Java 7 features summarized under the term Project Coin. The goal of Project Coin is to add a set of small language changes to JDK 7. These changes do simplify the Java language syntax. Less typing, cleaner code, happy developer ;-) Let's look into that. (more)
category: JAVA | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: example, Java7, project coin
1
Pins

Java 7: Copy and Move Files and Directories - Java Code Geeks

posted by anishaanisha 699 days, 3 hours, 49 minutes ago
Friday, August 10, 2012 9:28:31 AM GMT
This post is a continuation of my series on the Java 7 java.nio.file package, this time covering the copying and moving of files and complete directory trees. If you have ever been frustrated by Java’s lack of copy and move methods, then read on, for relief is at hand. Included in the coverage is the very useful Files.walkFileTree method. Before we dive into the main content however, some background information is needed. (more)
category: JAVA | clicked: 1 | comment | | source: www.javacodegeeks.com
tags: copy, directory, file, Java7, Move
1
Pins

JDK 7: Small Library Treats (Joseph D. Darcy's Oracle Weblog)

published 1050 days, 21 hours, 23 minutes ago posted by vasantvasant 1054 days, 19 hours, 9 minutes ago
Wednesday, August 24, 2011 3:54:02 PM GMT Saturday, August 20, 2011 6:08:41 PM GMT
With JDK 7 out the door, many writeups of the release have naturally focused on its larger features like Project Coin, NIO.2, the fork/join framework, and invokedynamic. However, there are a number of small but useful library conveniences in JDK 7 that shouldn't be overlooked. Library changes I think are handy include: To allow more informative assertion errors to be constructed, AssertionError now includes a constructor taking a string message and a Throwable cause, which is one of the four co... (more)
category: JAVA | clicked: 4 | comment | | source: blogs.oracle.com
tags: Java7, JDK
5
Pins

Vanilla Java: Comparing Java 7 Async NIO with NIO.

posted by vasantvasant 1054 days, 19 hours, 12 minutes ago
Saturday, August 20, 2011 6:05:46 PM GMT
OverviewSDP (Sockets Direct Protocol) in Java 7 promises better integration with InfiniBand. This comes with a new Socket classes AsynchronousSocketChannel and AsynchronousServerSocketChannel. Is there any advantage in using these libraries if you don't have InfiniBand? Creating a server socketThe API for AsynchronousServerSocketChannel is slightly different to ServerSocketChannel. The most notable difference is the use of Futures instead of always blocking. final AsynchronousServerSocketChannel s... (more)
category: JAVA | clicked: 2 | comment | | source: vanillajava.blogspot.com
tags: Java7
4
Pins

Java 7: Too Little, Too Late?

published 1054 days, 4 hours, 34 minutes ago posted by ankyanky 1057 days, 5 hours, 3 minutes ago
Sunday, August 21, 2011 8:43:17 AM GMT Thursday, August 18, 2011 8:14:33 AM GMT
Articles | News | Weblogs | Buzz | Books | ForumsArtima Weblogs | Bruce Eckel's Weblog | Discuss | Email | Print | Bloggers | Previous | NextSponsored Link• Computing Thoughts Java 7: Too Little, Too Late? Summary One of the things I've loved about Python is that it was built as a community from the beginning. Language design decisions are genuinely discussed and struggled with as a community. But with Java, I've always felt like the adults were telling me what to think. ... (more)
category: JAVA | clicked: 9 | comment | | source: www.artima.com
tags: Java7
7
Pins

JDK 7 GC behavior: To free or not to free | Stefan Krause.blog()

published 901 days, 5 hours, 31 minutes ago posted by anujaanuja 1058 days, 7 hours, 4 minutes ago
Saturday, January 21, 2012 7:46:04 AM GMT Wednesday, August 17, 2011 6:13:49 AM GMT
Post navigation← PreviousPosted on by admin I still remember my sysadmin’s face whenever I asked for a few GBs of RAM for some J2EE app – I guess he wasn’t a big Java fan. Times have changed in nowadays we happen to be offered more RAM than our apps reasonably needed (of course we take what we were offered ) On the desktop site users are a bit more concerned about memory consumption and thus the JVM hasn’t a particular good standing when it comes to the client side. It feels alien to developers and u... (more)
category: JAVA | clicked: 7 | comment | | source: www.stefankrause.net
tags: GC, Java7, JDK
8
Pins

A better approach to handle Java NullPointerException

published 1055 days, 20 hours, 50 minutes ago posted by parakh1989parakh1989 1059 days, 17 hours, 28 minutes ago
Friday, August 19, 2011 4:27:34 PM GMT Monday, August 15, 2011 7:49:13 PM GMT
The most common exception that you meet coding in java whether you are a junior or an Intermediate level programmer. Before coming to the solution proposed and added in the new Java 7 update, I would like to discuss the strategies that most of us should follow while handling this common but peculiar exception. There are two approaches that people generally follow. 1.) Treat Null as a valid response2.) Treat Null as an invalid response Life is very easy for the people who go with the second approach.... (more)
category: JAVA | clicked: 31 | comment | | source: code-on.blogspot.com
tags: Exception, Java, Java7, npe
5
Pins

Java 7 – Language Enhancements (Part 1) « Zeeshan Bilal's Blog

published 1059 days, 2 hours, 1 minute ago posted by jamesjames 1060 days, 19 hours, 13 minutes ago
Tuesday, August 16, 2011 11:16:44 AM GMT Sunday, August 14, 2011 6:04:41 PM GMT
Java 7 – Language Enhancements (Part 1)Filed under: Java — zishanbilal @ 12:02 pm Tags: Binary Literals, Java, Java SE 7, Java SE 7 Language Enhancements, Language Enhancements, Strings in switch Statements, Underscores in Numeric Literals After nearly five year (on July 2011), Java SE 7 has been released! With Project Coin, the new Fork/Framework, the New File System API (NIO.2), and more. Java SE 7 is an important step in Java’s evolution. There are number of enhancements in the programming langu... (more)
category: JAVA | clicked: 5 | comment | | source: zishanbilal.wordpress.com
tags: Java, Java7
5
Pins

Features from Java-7 that you will love being a developer

published 1057 days, 18 hours, 53 minutes ago posted by anujaanuja 1062 days, 5 hours, 51 minutes ago
Wednesday, August 17, 2011 6:24:21 PM GMT Saturday, August 13, 2011 7:26:52 AM GMT
The latest update to java i.e Java 7 which was launched a few days back. So as a developer , I was pretty curious to know about the changes made with this version of update. Since this update included mostly enhancements and bug fixes, here is the list of changes that I found useful. 1.) Strings in switch A very essential feature that was in demand for the last two decades is finally introduced in Java SE 7. So it is possible to use switch/case statements for String along with the previously accepte... (more)
category: JAVA | clicked: 14 | comment | | source: code-on.blogspot.com
tags: Java7
4
Pins

7 new cool features in Java 7 @ sellmic.com

published 1061 days, 4 hours, 12 minutes ago posted by ankyanky 1066 days, 21 hours, 1 minute ago
Sunday, August 14, 2011 9:05:01 AM GMT Monday, August 08, 2011 4:16:29 PM GMT
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 whe... (more)
category: JAVA | clicked: 12 | comment | | source: sellmic.com
tags: Java7
5
Pins

Don't Use Java 7? Are you kidding me? | Javalobby

published 1062 days, 3 hours, 7 minutes ago posted by ankyanky 1066 days, 21 hours, 39 minutes ago
Saturday, August 13, 2011 10:10:08 AM GMT Monday, August 08, 2011 3:38:10 PM GMT
We Recommend These ResourcesReference Guide—LucidWorks for Solr Certified Distribution Oracle Java.net 2 (DZ Promo)Build Windows Azure apps for PHP, Ruby, & Java - Using EclipseNational Information Exchange ModelGWT Style, Configuration and JSNI Reference Java 7 was released yesterday and some guys from the Apache Lucene & Apache Solr community quickly came up with a couple of issues which lead them to the point where they are actively rejecting Java 7 and advice anybody else to to likewise. ... (more)
category: JAVA | clicked: 6 | comment | | source: java.dzone.com
tags: Java7