File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes mailslot communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "mailslot communication" Watch "mailslot communication" New topic
Author

mailslot communication

mcore
Greenhorn

Joined: Jul 13, 2001
Posts: 13
has anyone used windows mailslot communication process?
i've created a simple prototype with vb that worked ok, but now i would like to convert it to java.
any ideas how to do this?
thanks,
-MCore
Ian Darwin
author
Ranch Hand

Joined: Aug 03, 2001
Posts: 64
Many Java programmers are not up on all the intricacies of MS-Windows programming, which we view as platform-dependant and therefore unimportant. There are several things that you and/or Microsoft might mean by "mailslot communication". If you mean electronic mail, there is a Java Mail api that I discuss in Chapter 19 of my Java Cookbook. If you mean something like "mailbox inter-process communication", I don't know of an API that does this directly, but you can simulate it within a Java program using Threads which rendezvous.

So, can you say a bit more about what you're looking for, if not one of those two things?
Originally posted by Matthew Core:
has anyone used windows mailslot communication process?
i've created a simple prototype with vb that worked ok, but now i would like to convert it to java.
any ideas how to do this?
thanks,
-MCore


------------------
Ian Darwin,
Author of Java Cookbook: Solutions and Examples for Java Developers


Ian Darwin
Many questions are answered in my Java Cookbook, 2nd Edition
Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

Yes I've worked with the mailslot API long long time ago. It's an interprocess mechanism which run on WINDOWS platform only. I'd suggest that you look into JMS (Java Message Service) or the Java socket APIs.
Pho


Regards,

Pho
 
GeeCON Prague 2014
 
subject: mailslot communication