| Join Forum
Sign In
Ask Question
ConcretePage.com
HOME
JAVA
≤ JAVA 6
JAVA 7
JAVA 8
JAVA 9
JDBC
JNDI
JPA
JSF 2
JSP & SERVLET
DESIGN PATTERN
SPRING
SPRING BOOT
SPRING 5
SPRING 4
SPRING 3 CORE
SPRING 3 MVC
SPRING 3 SECURITY
SPRING BATCH 3
SPRING SESSION
FRAMEWORK
HIBERNATE 3
HIBERNATE 4
STRUTS 2
PRIMEFACES 5
MYBATIS 3
QUARTZ
FREEMARKER
THYMELEAF
JUNIT 5
UTILITY
APACHE API
GOOGLE API
JACKSON API
ITEXT
WEB SERVICES
RESTEasy 3
JAX-RS/JAX-WS
WEB
NGRX
ANGULAR MATERIAL
JQUERY
HTML5
ANGULAR JS
JQUERY MOBILE
CSS 3
JAVASCRIPT
TOOLS
MAVEN
GRADLE
ECLIPSE
ANGULAR
ANDROID
PYTHON
INTERVIEW
QUIZ
FORUM
Home
>
Forum
>
Core Java
Post New Query
How the threads share values among each other in java
Jeet
Asked on March 23, 2014
Hi Guys,
What is the proper way to share values or object among threads using latest API in java?
Mohit
Replied on March 23, 2014
JDK 5 provides Exchnager in concurrent API that shares object among threads. For better understanding find the link.
http://www.concretepage.com/java/example_exchanger_java
Write Answer
Login | Sign Up
Tweet
Related Post
CLASSPATH vs MODULEPATH in Java
How to format LocalDate in Java?
Java 10 New Features
Exception in thread "main" java.time.temporal.UnsupportedTemporalTypeException: Unsupported unit: Seconds
Java 9 New Features
Caused by: java.lang.ClassNotFoundException: java.util.concurrent.Flow$Subscriber
javax.xml.bind.UnmarshalException
Java CompletableFuture vs CompletionStage
Java CompletableFuture vs Future
Oracle Certification Study Material and Tips
Java 9 src.zip for Source Code
org.codehaus.jackson vs com.fasterxml.jackson.core
How to use Stream empty() method in java 8
Difference between Java BigDecimal and Double
Difference: Java 8 stream reduce vs collect
Could u plz any body write the code for "generating Bar Code"using java
How to find an object in a List by property using Java 8
Caused by: com.fasterxml.jackson.databind.JsonMappingException: No suitable constructor found for type: can not instantiate from JSON object
java program to shutdown computer
how many ways to create thread in java
Java thread and applet is not running in eclipse
java.rmi.ConnectException: Connection refused to host- Java RMI
how to write a string in a file in java
How to use Sequencer, MidiEvent and ShortMessage to play sound in java
constructor with same argument is possible in java?
tomcat-users.xml reset after restart the server
example of hasCode() method in java
use of getClass() method in java
What is abstract class in java? How may I use it?
"main" java.lang.Error: Unresolved compilation problems
Latest Forum Post
Json Property tag issue
(Web Server)
Red Cross on WIFI Windows 7
(MS Windows)
License management module example project using spring boot
(Spring)
Change dispatcher-servlet.xml file name in Spring
(Spring)
CLASSPATH vs MODULEPATH in Java
(Core Java)
Top Trends
Angular 2 Radio Button and Checkbox Example
Angular 2 Http post() Example
Java 8 Stream: allMatch, anyMatch and noneMatch Example
Java 8 Stream sorted() Example
Angular 2/4 Pattern Validation Example
Popular Post
Java 8 Stream reduce() Example
Angular 2 Select Option + Multiple Select Option + Validation Example using Template-Driven Form
Angular 2/4 minlength and maxlength Validation Example
Angular HttpClient post
Spring Boot CrudRepository Example
Favorite Links
Java Technology
Hibernate Annotations
Spring Framework
JQuery
Apache Struts
MyBatis
Quartz Scheduler
Angular
Thymeleaf
FreeMarker
About Us
We are a group of software developers.
We enjoy learning and sharing technologies.
To improve the site's content,
your valuable suggestions
are most welcome.
Thanks
Email :
concretepage@gmail.com
Mobile Apps
ConcretePage.com
SCJP Quiz