Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

Message Queues for IPC in Java?

Thread view: 
dimitrik107@hotmail.com - 19 Aug 2006 17:36 GMT
In past job, I heard people talk about message queues in Java to
communicate with other Java process on same host. I think their talking
about FIFOs in the UNIX world (you know use posix mkfifo() etc). I
searched around, but I see nothing in javadoc or anywhere about message
queues.

Is there such a capability in Java? Please don't write to write C++ .so
and use JNI. May be there is 3rd party that provides this? Maybe those
people were lying :(

Another IPC is also acceptable anything. I already know about RMI.
Anything else? Thanks.
Michael Rauscher - 19 Aug 2006 18:18 GMT
dimitrik107@hotmail.com schrieb:
> In past job, I heard people talk about message queues in Java to
> communicate with other Java process on same host. I think their talking
[quoted text clipped - 8 lines]
> Another IPC is also acceptable anything. I already know about RMI.
> Anything else? Thanks.

Did your former colleagues discuss JMS, perhaps?

There are many ways of IPC, e. g. you could use: lock files, pipes,
sockets, TCP/IP, HTTP, RMI, Corba, ... I assume one could write pages of
possibilities.

Bye
Michael
dimitrik107@hotmail.com - 19 Aug 2006 23:17 GMT
> Did your former colleagues discuss JMS, perhaps?
>
[quoted text clipped - 4 lines]
> Bye
> Michael

You may be right. I look for the fastest. Shared memory using memory
maps is fast, but dont think java has it. I want similar performance,
which should I use? I know RMI do not compare to a Shared memory in
unix. Thank you for help.
Michael Rauscher - 20 Aug 2006 00:28 GMT
dimitrik107@hotmail.com schrieb:
>> Did your former colleagues discuss JMS, perhaps?
>>
[quoted text clipped - 9 lines]
> which should I use? I know RMI do not compare to a Shared memory in
> unix. Thank you for help.

One possibility for shared memory: threads.

Bye
Michael


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.