Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 25-02-2010
Member
 
Join Date: Nov 2009
Posts: 652
Message Passing in Java

Hello, I want to know the Message Passing Details in Java. I have heard that it is possible in java and I want to know the details about it. If anyone from you is having information about it, then please help me to know it. Thank you in advance.
Reply With Quote
  #2  
Old 25-02-2010
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: Message Passing in Java

If you are wanted to know about the message passing in java then it is a you need to make use of the sockets, I/O streams, and object serialization for getting the information of the implementation of the protocol which will simply able to send, receive and handle all of the messages. You can simply able to merge the message passing framework with the java event model which will be used from the awt package for handling the GUI events. If you make use of the GUI events then you will simply able to get the solution for integrating different systems at a time.
Reply With Quote
  #3  
Old 25-02-2010
Member
 
Join Date: May 2008
Posts: 2,008
Re: Message Passing in Java

Message passing in java is have following characteristics:
  • It happens when a thread from the process sends any types of message to the any other thread.
  • Most of the time message passing is performed for the communication and synchronization between the threads in the environments. You are able to perform the message passing in shared memory platform also.
  • If you want to send the Messages then you can simply able to use the channel as below:
  • Code:
     send(channel,  message)
  • Code:
    receive(channel,  message)
  • And if you are passing the message in the Asynchronous type then the sender does not block.
Reply With Quote
  #4  
Old 25-02-2010
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: Message Passing in Java

Hello, if you consider the definition of the Meilir Page-Jones then you will able to get the following three types of messages:
  • Informative - It will simply send the details of information to the object for updating.
  • Interrogative - It will simply ask to object for the details of it.
  • Imperative - This is used for taking some action.
Reply With Quote
  #5  
Old 25-02-2010
Member
 
Join Date: May 2008
Posts: 2,293
Re: Message Passing in Java

Hey, I have search regarding the Message passing on internet and I come to know that there are four types of messages available with the reference to the Grady Booch:
  • Synchronous - This of message receiving started simply when the message which is sent from the sender is got.
  • Balking - It is used if the receiver is not taking the message.
  • Timeout - This is the type where sender will take into consideration of the sending and receiving for the specified time of period.
  • Asynchronous - This type of message is used when the sender want to send the message whether receiver want to receive or not.
Reply With Quote
  #6  
Old 25-02-2010
Member
 
Join Date: Jan 2008
Posts: 1,515
Re: Message Passing in Java

Message passing in java is used for the following purpose:
  • It is use when the communication between the Objects is necessary.
  • In this type of message passing some sort of information is provided.
  • For sending some request to the object one object may use the message passing in java.
  • Most of the time in message passing the message is passed by passing arguments back and forth.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Message Passing in Java"
Thread Thread Starter Forum Replies Last Post
what is message passing and other terms in Object oriented programming languages? Palnila Software Development 3 08-01-2011 06:23 AM
Passing by reference in Java Amy Adams Software Development 5 06-04-2010 11:17 AM
Passing optional parameters in java Miles Runner Software Development 5 05-03-2010 10:20 AM
Java & Oracle: Passing Date garfield1 Software Development 5 04-01-2010 12:30 PM
Problem Passing Data Dynamically in Java Kushan Software Development 3 26-03-2009 02:26 PM


All times are GMT +5.5. The time now is 01:30 PM.