Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Applications
    • Applications
    • Development
    • Networking
    • Servers

    Oracle and Java 7: The Top 10 Developer Features

    By
    Darryl K. Taft
    -
    July 27, 2011
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      PrevNext

      1Oracle and Java 7: The Top 10 Developer Features

      1

      -Project Coin: Diamond OperatorProject Coin is also known as Java Specification Request 334: Small language enhancements. It consists of a set of small language changes to simplify common, day-to-day Java programming tasks: Strings in switch statements, try-with-resources statements, improved type inference for generic instance creation (“diamond”), simplified varargs method invocation, better integral literals, and improved exception handling (multi-catch). The Diamond Operator reduces Java’s verbosity surrounding generics by having the compiler infer parameter types for constructors of generic classes, says Dustin Marx.

      2Project Coin: Try-With-Resources

      2

      According to Arul Dhesiaseelan, Try-with-resources (originally known as Automatic Resource Management) is a Project Coin proposal that made its way into recent JDK 7 builds. Traditionally, developers had to manually terminate any resources (files, database connections, etc.) they use in applications. It could be difficult keeping track, and not doing so could lead to problems such as resource leaks that could lead to application failures that are hard to debug and triage. Java 7 will now natively support managing resources.

      3Project Coin: Strings in Switch

      3

      In the JDK 7 release, developers can use a String object in the expression of a switch statement. The switch statement compares the String object in its expression with the expressions associated with each case label as if it were using the String.equals method. Because of this, the comparison of String objects in switch statements is case-sensitive. The Java compiler generates more efficient byte code from switch statements that use String objects than from chained if-then-else statements.

      4InvokeDynamic

      4

      Also known as JSR 292: Support for dynamically typed languages, InvokeDynamic adds extensions to the JVM (Java Virtual Machine), Java language and Java SE (Java Standard Edition) API to support the implementation of dynamically typed languages at performance levels near to that of the Java language itself. This effort is related to the Da Vinci Machine Project, which attempts to create a multi-language renaissance for the Java Virtual Machine architecture.

      5Fork/Join Framework

      5

      Also known as JSR-166y Concurrency and Collections updates, this is a lightweight fork/join framework with flexible and reusable synchronization barriers, transfer queues, concurrent linked double-ended queues, and thread-local pseudo-random-number generators. Fork/Join is a Java framework for supporting a style of parallel programming in which problems are solved by splitting them into subtasks that are solved in parallel, waiting for them to complete, and then composing the results. Fork/Join parallelism is among the simplest and most effective design techniques for obtaining good parallel performance. Fork/join algorithms are parallel versions of familiar divide−and−conquer algorithms.

      6NIO.2 Filesystem API

      6

      Also known as More New I/O APIs for the Java Platform, this project’s mission is to implement the (New) New I/O APIs being defined by JSR 203 as well as related work in the JDK. The Java I/O File API initially was not written to be extended. Many of the methods were created without exceptions, so they failed to throw I/O exceptions, frustrating developers. Applications often failed during file deletion, with developers asking why no useful error message had been generated. The rename method was inconsistent across volumes and file systems, methods for gaining simultaneous metadata about files were inefficient, and developers wanted greater access to metadata such as file permissions, as well as more efficient file copy support and file change notification. Developers wanted the ability to develop their own file system implementations. The Java NIO.2 packages address these and other needs.

      7XRender Pipeline for Java 2D

      7

      The XRender pipeline for Java 2D is a new Java2D graphics pipeline based upon the X11 XRender extension, which provides access to much of the functionality of modern GPUs. The project goal is to create a new Java2D graphics pipeline based on the X11 XRender extension.

      8Gervill Sound Synthesizer

      8

      Gervill is a software sound synthesizer that was created for the open-source JDK Audio Synthesis Engine Project. The goal of the JDK is to create a new open-source JDK software midi synthesizer implementation.

      9Upgraded Class-Loader Architecture

      9

      The upgraded class-loader architecture features modifications to the ClassLoader API and implementation to avoid deadlocks in non-hierarchical class-loader topologies.

      10SDP (Sockets Direct Protocol)

      10

      This feature provides implementation-specific support for reliable, high-performance network streams over Infiniband connections on Solaris and Linux.

      PrevNext

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×