Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

implementing RMI call in java program

 
Kavita Ghia
Ranch Hand
Posts: 91
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5782
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Kavita Ghia
Ranch Hand
Posts: 91
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic