• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Java 7 Concurrency Cookbook: Does Java7 provide new features to make concurrency programming easier?

 
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Javier,

Concurrency programming in Java is hard to me. I'm not confident when my code runs in multi-thread environment. Does Java 7 provide some new features to make things easier?

I play a little with Scala this year. It seems the immutable objects is way easier to do concurrency programming. What's your opinion on this?

Thanks,
Qunfeng
 
author
Posts: 20
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Qunfeng

Java 7 doesn't introduce new features to make life easier to programmers. The most significant new feature it's the Fork/Join framework, but it's a kind of Executor and Executors where introduced in Java 5. I suppose that you know it. The new features of Java Concurrency API are oriented to concrete problems and they

I haven't worked with Scala yet, but it's on my list of pending tasks. I want to test the concurrency features of Scala, Groovy and Clojure.

If you need more info, please let me know.
 
A berm makes a great wind break. And we all like to break wind once in a while. Like this tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic