• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.
 
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic