JavaPins - Stories tagged with Java 7
1
Pins

Improve your life Through Science and Art: JDK7: ARM (Automatic Resource Management) or try-with-resources - Using Java 7 in Java EE 6/GlassFish

published 583 days, 9 hours, 37 minutes ago posted by anishaanisha 584 days, 3 hours, 20 minutes ago
Tuesday, September 11, 2012 12:01:13 PM GMT Monday, September 10, 2012 6:18:37 PM GMT
Java 7 is now available, NetBeans 7.0.1 provide complete tooling around it, and GlassFish 3.1.1 allow you to leverage JDK7 features in your Java EE 6 applications. this article will explain a new feature introduced in JDK7 and how it can be used to simplify your Java EE 6 application code. (more)
category: Java EE | clicked: 3 | comment | | source: tamanmohamed.blogspot.in
tags: ARM, Java 7, JDK 7, try with resource
1
Pins

Improve your life Through Science and Art: JDK7: Java SE 7 Exception Changes

published 583 days, 9 hours, 37 minutes ago posted by anishaanisha 584 days, 3 hours, 26 minutes ago
Tuesday, September 11, 2012 12:01:13 PM GMT Monday, September 10, 2012 6:12:10 PM GMT
In this article, we cover some changes are a part of the Java Platform, Standard Edition 7 (Java SE 7) release, which are specified in JSR 334, also known as Project Coin. We focus on exception handling, specifically multi-catch, rethrow, and try-with-resources. Project Coin consists of the following set of small language changes, which are intended ... (more)
category: Java EE | clicked: 4 | comment | | source: tamanmohamed.blogspot.in
tags: Exception, Java 7, java SE7
1
Pins

Improve your life Through Science and Art: JDK7: Part 1- The power of java 7 NIO.2 (JSR 203) (important concepts)

posted by anishaanisha 585 days, 1 hour, 38 minutes ago
Sunday, September 09, 2012 7:59:48 PM GMT
Get educated with the new file I/O mechanism introduced in the JDK 7 release. This is a 2 parts series of article, focuses on JSR 203 java 7 NIO.2 API. Part 1 will introduce the main concepts involved in the new JSR. Part 2 will covers the important aspects involved in developing NIO.2-based applications by examples and case studies for the concepts introduced in part 1, this will spice up your Java 7 applications with the new I/O capabilities. (more)
category: Java EE | clicked: 1 | comment | | source: tamanmohamed.blogspot.in
tags: Java 7, JDK 7, NIO2
1
Pins

Improve your life Through Science and Art: JDK7: JavaBean enhancements in Java 7

posted by anishaanisha 585 days, 1 hour, 48 minutes ago
Sunday, September 09, 2012 7:50:29 PM GMT
JavaBean is a way of building reusable components for Java applications. They are Java classes that follow certain naming conventions. There have been several JavaBean enhancements added in Java 7. Here we will focus on the java.beans.Expression class, which is useful in executing methods. The execute method has been added to facilitate this capability. (more)
category: Java EE | clicked: 0 | comment | | source: tamanmohamed.blogspot.in
tags: Java 7, Javabeans, JDK 7
1
Pins

Improve your life Through Science and Art: JDK7: Part 1 - Java 7, The "Dolphin" new features & enhancements.

posted by anishaanisha 585 days, 1 hour, 52 minutes ago
Sunday, September 09, 2012 7:46:13 PM GMT
Java 7 was released in July of 2011 and introduced a number of new features. In the Java SDK documentation, you may see it referred to as Java 1.7, it streamline the development process and has a great and improved enhancements in many areas specially IO and concurrent processing. (more)
category: Java EE | clicked: 0 | comment | | source: tamanmohamed.blogspot.in
tags: dolphin feature, Java 7, JDK 7
1
Pins

Improved and Better Exception Handling from Java 7

posted by anishaanisha 585 days, 23 hours, 50 minutes ago
Saturday, September 08, 2012 9:48:15 PM GMT
So as a continuation of my previous post Features from Java-7 that you will love being a developer, today I am going to introduce the very new Improved Exception Handling in Java SE 7. (more)
category: JAVA | clicked: 0 | comment | | source: code-on.blogspot.in
tags: Exception Handling, Java 7
1
Pins

Why do we need Type Inference from Java 7?

posted by anishaanisha 585 days, 23 hours, 54 minutes ago
Saturday, September 08, 2012 9:44:17 PM GMT
Every good programmer likes to write a concise but effective and optimized code. Type Inference is a way introduced in JDK 7 which will surely give you benefits of less typing. Its been a long time that you have using the java code in following manner. List (more)
category: JAVA | clicked: 0 | comment | | source: code-on.blogspot.in
tags: Java 7, type inference
1
Pins

New Java 7 Language Features | Loiane Groner

published 587 days, 3 hours, 2 minutes ago posted by anishaanisha 589 days, 2 hours, 40 minutes ago
Friday, September 07, 2012 6:36:14 PM GMT Wednesday, September 05, 2012 6:57:47 PM GMT
Last week I was at the Java 7 launch party in Sao Paulo, Brazil and it was really cool. There were a lot of developers on the party to celebrate Java 7 (afterall, we have been waiting for it for 5 years!). (more)
category: JAVA | clicked: 11 | comment | | source: loianegroner.com
tags: feature, Java 7
1
Pins

Mechanical Sympathy: False Sharing && Java 7

published 589 days, 3 hours, 38 minutes ago posted by anishaanisha 590 days, 4 hours, 15 minutes ago
Wednesday, September 05, 2012 6:00:00 PM GMT Tuesday, September 04, 2012 5:23:11 PM GMT
In my previous post on False Sharing I suggested it can be avoided by padding the cache line with unused long fields.  It seems Java 7 got clever and eliminated or re-ordered the unused fields, thus re-introducing false sharing.  I've experimented with a number of techniques on different platforms and found the following code to be the most reliable. (more)
category: Java EE | clicked: 1 | comment | | source: mechanical-sympathy.blogspot.gr
tags: false sharing, Java 7
1
Pins

Java 7 listen for file/directory change « Development world stories

posted by anishaanisha 593 days, 2 hours, 20 minutes ago
Saturday, September 01, 2012 7:18:31 PM GMT
Today I’ve started to experiment with some new features we’ll get in Java 7. First is filesystem WatchService which allows us to listen to changes in some directory without any pooling. Looks really great. You just register to be notified about change and wait to get your notifications. Best of it you can assign as much listeners as you like and even from different threads with no code changes, it all is thread save. (more)
category: Java EE | clicked: 1 | comment | | source: jdevel.wordpress.com
tags: directory, file, Java 7
1
Pins

Peter Pilgrim :: Java Champion :: Enterprise Blog » ScalaFX – Working Configuration for MacOS X Lion, Java 7 Update 5

published 596 days, 7 hours, 23 minutes ago posted by anishaanisha 597 days, 3 hours, 19 minutes ago
Wednesday, August 29, 2012 2:15:40 PM GMT Tuesday, August 28, 2012 6:19:00 PM GMT
Here is a complete verbatim build.sbt for ScalaFX that works on MacOS X Lion and Java SE 7 Update 5: (more)
category: Java EE | clicked: 1 | comment | | source: www.xenonique.co.uk
tags: Java 7, MacOS X, ScalaFX
1
Pins

Vanilla #Java: Using Java 7 to target much older JVMs

published 597 days, 3 hours, 5 minutes ago posted by anishaanisha 598 days, 6 hours, 20 minutes ago
Tuesday, August 28, 2012 6:32:53 PM GMT Monday, August 27, 2012 3:18:31 PM GMT
Java 5.0 and 6 used to have poor support for compiling classes to target older versions of Java. It always supported the previous version, but often no more. Even if you could compile for previous version, you had to be careful not to use functionality which did exist in the previous versions. (more)
category: JAVA | clicked: 4 | comment | | source: vanillajava.blogspot.in
tags: Java 7, JVM
1
Pins

Inspired by Actual Events: JavaFX 2.0.2 Delivered with Java 7 Update 2

posted by anishaanisha 613 days, 1 hour, 55 minutes ago
Sunday, August 12, 2012 7:43:12 PM GMT
The JavaTM SE 7 Update 2 Release Notes state that this update contains "new JVM (Java HotSpot Virtual Machine, version 22) that improves reliability and performance" along with support for Oracle Solaris 11 and "Firefox 5 and later". Perhaps most interesting of the update's new features, however, is "JavaFX is included with Java SE." (more)
category: Java EE | clicked: 0 | comment | | source: marxsoftware.blogspot.in
tags: Java 7, JavaFX 2.0.2
1
Pins

Inspired by Actual Events: Java 7's Support for Suppressed Exceptions

posted by anishaanisha 613 days, 2 hours, 18 minutes ago
Sunday, August 12, 2012 7:20:21 PM GMT
A new constructor and two new methods were added to the Throwable class (parent of Exception and Error classes) in JDK 7. The new constructor and two new methods were added to support "suppressed exceptions" (not to be confused with the bad practice of swallowing or ignoring exceptions). In this post, I look at why these methods were introduced and how they are used in JDK 7. I throw in a short discussion on how suppressed exceptions are different than chained exceptions. (more)
category: JAVA | clicked: 0 | comment | | source: marxsoftware.blogspot.in
tags: Java 7, Suppressed Exceptions
1
Pins

Java 7: Closing NIO.2 file channels without loosing data - Java Code Geeks

published 604 days, 1 hour, 57 minutes ago posted by anishaanisha 613 days, 9 hours, 50 minutes ago
Tuesday, August 21, 2012 7:41:32 PM GMT Sunday, August 12, 2012 11:47:57 AM GMT
Closing an asynchronous file channel can be very difficult. If you submitted I/O tasks to the asynchronous channel you want to be sure that the tasks are executed properly. This can actually be a tricky requirement on asynchronous channels for several reasons. The default channel group uses deamon threads as worker threads, which isn't a good choice, cause these threads just abandon if the JVM exits. (more)
category: Java EE | clicked: 4 | comment | | source: www.javacodegeeks.com
tags: File Channels, Java 7, NIO2
1
Pins

Java 7's Support for Suppressed Exceptions - Java Code Geeks

posted by anishaanisha 615 days, 6 hours, 24 minutes ago
Friday, August 10, 2012 3:14:26 PM GMT
A new constructor and two new methods were added to the Throwable class (parent of Exception and Error classes) in JDK 7. The new constructor and two new methods were added to support "suppressed exceptions" (not to be confused with the bad practice of swallowing or ignoring exceptions). In this post, I look at why these methods were introduced and how they are used in JDK 7. I throw in a short discussion on how suppressed exceptions are different than chained exceptions. (more)
category: JAVA | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: Java 7, Suppressed Exceptions
1
Pins

GC with Automatic Resource Management in Java 7 - Java Code Geeks

posted by anishaanisha 615 days, 6 hours, 25 minutes ago
Friday, August 10, 2012 3:12:47 PM GMT
This post provides a brief overview of a new feature introduced in Java 7 called Automatic Resource Management or ARM. The post delves how ARM tries to reduce the code that a developer has to write to efficiently free the JVM heap of allocated resources. (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: automatic resource management, Java 7
1
Pins

Fork and join in Java 7 - JSR 166 concurrency utilities - Java Code Geeks

posted by anishaanisha 615 days, 6 hours, 33 minutes ago
Friday, August 10, 2012 3:05:44 PM GMT
One of the most interesting improvements of Java 7 is the better support of concurrency. With JSR 166 Concurrency Utilities we get some very helpful improvements of concurrency. From my point of view the fork-join library has a high potential for practical use in software engineering. Fork and join provides a very easy programming model for algorithms which can be implemented as recursive task. There are a lot of algorithms that can be implemented with divide and conquer algorithms. (more)
category: JAVA | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: concurreny, Fork, Java 7, Join
1
Pins

A glimpse at Java 7 MethodHandle and its usage - Java Code Geeks

posted by anishaanisha 615 days, 12 hours, 19 minutes ago
Friday, August 10, 2012 9:19:43 AM GMT
Due to Java’s Reflection API we have been able to inspect and alter program execution at runtime. In particular, we can observe interfaces/classes/methods and fields at runtime without knowing their names at compile time. (more)
category: JAVA | clicked: 1 | comment | | source: www.javacodegeeks.com
tags: Java 7, MethodHandle
1
Pins

Manipulating Files in Java 7 - Java Code Geeks

posted by anishaanisha 615 days, 12 hours, 37 minutes ago
Friday, August 10, 2012 9:01:33 AM GMT
The following is a modified snippet from a draft of The Well-Grounded Java Developer. It gives you a quick taster of how much easier it is to manipulate files in Java 7 than in previous versions. By using the new Files class and its many utility methods, you can perform the following operations on files with only a single line of code: (more)
category: JAVA | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: file, Java 7, manipulation
Previous 1 2 3 Next