permaculture playing cards*
The moose likes Java in General and the fly likes implementing RMI call in java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "implementing RMI call in java program" Watch "implementing RMI call in java program" New topic
Author

implementing RMI call in java program

Kavita Ghia
Ranch Hand

Joined: Oct 10, 2000
Posts: 91
Hello friends,
How can I implement a RMI call in one of my Java programs?
I have a java file called abc.java and I want a batch file to be included in the java file.. The batch file contains the code like
c:\java com.abc.notification.RMIClient arg1 arg2 arg3
Will this be possible? Otherwise how can I do that?
Thanks,
Kavita
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
I'm sorry I don't think your question is very clear.
Do you want to know how to run a batch file from a java program that starts another java program? Or do you just want to know how to write RMI programs( RMI server and RMI client ??)
Perhaps a little clarification can help others answer your question better.
Ajith


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Kavita Ghia
Ranch Hand

Joined: Oct 10, 2000
Posts: 91
Hi Ajith,
Basically I want to execute the rmi client program from my java
application and therefore I have a batch file which contains the
the code C:\java com.abc.notification.RMIClient arg1 arg2 arg3
so that I just have to call the batch file in my application.
Regards,
Kavita.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: implementing RMI call in java program
 
Similar Threads
How do I copy files betwen 2 windows servers?
java program that can run a .class file in msdos, is this possible?
Running Java program using .bat file.
Calling Java Program form a batch file
run java code through bat file