How to run a remote application (Non Java) from a Java program
Could you please tell me how to run a remote application (Non-Java) from a Java program without using RMI. Please tell me know the procedure and classes to be used.
Cheers
Ram
what do you mean remote application.In the other pc or in your pc just apart from you application?
If the application is in your pc,the method which the upper has mentioned is
a good one!
But if the application you want to run is not in your computer,the method can't do. And you can use socket with which you can build an application listening some port in the pc which contains the application you want to run .When you want to run that application ,send the Start_Command to the listening application.Then listening application will run the application with the help of the method the upper mentioned.
Similar Messages
-
How to run a jar file using Java application.
Hi all,
I know that jar file can run using the following command, using the command prompt.
java -jar jar-fileBut I don't know how to run that command through a Java code. Hope it's clear to you.
So can you please explain how can I do it.
Thanks,
itsjavarayon.m wrote:
The solution given by ropp appears to have nothing to do with what you asked about.Ok sir, I got the point.
I've try a test as follows. But it doesn't give any output. Even not an exception.
try {
String[] temp = new String[]{"java", " -jar", " MainApp.jar"};
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec(temp);
int exitVal = proc.waitFor();
System.out.println("ExitValue: " + exitVal);
System.out.println("Temp_Values");
catch(InterruptedException ex) {
System.out.println(ex.getMessage());
catch (IOException ex) {
System.out.println(ex.getMessage());
}I've debug and see, but the exitValue is even not exist at run time. Can you tell me where I'm going wrong. -
How to run a remote windows dll files and the drivers of the system using j
Dear Friends,
I need some valuable info regd how to run a remote windows dll files and the drivers of the system using java
reply regd thanking youPlease don't make duplicate posts like this.
-
How to run s60 synbian application in 6300 ?
how to run an application already runing automatically in nokia 6600 on nokia 6300, when transfered through blutooth or the memory card the particular application does not runs in nokia 6300
how to run that particular application in nokia 6300..?11-Oct-200702:15 AM
kamalkkl2002 wrote:
how to run an application already runing automatically in nokia 6600 on nokia 6300, when transfered through blutooth or the memory card the particular application does not runs in nokia 6300
how to run that particular application in nokia 6300..?
No way.
Try to google to see if you found that kind of java applications for 6300. -
How to run an "Automator" application at regular time intervals
I would like to find out how to run an "Automator" application at regular time intervals, say at every 5 minutes.
Is there any program, AppleScript or any method to do this?
I would very much appreciate a help.
Suwansave your workflow as an ical plugin, this will automatically insert the workflow into ical,and create a workflow category for it, then just set to repeat every 5 minutes, or save as an APP and use a program called CRONIX (freeware) to run the schedule.
-
How to run a unix command in java
Hi all,
I need to run a unix command in my standalone java application.my java program is in windows.Is it possible to run unix command on windows system.help me out.
I tried this
Process p = Runtime.getRuntime().exec("ps -ef");
BufferedReader stdInput = new BufferedReader(new
InputStreamReader(p.getInputStream()));
BufferedReader stdError = new BufferedReader(new
InputStreamReader(p.getErrorStream()));i get IO Exception -Create Process ps-ef error=2If you want to run a command from java for a windows platform, you should check windows knows the command.
So, load up a DOS prompt and type ps -ef and see what happens. -
How to run custom BSP application in UI frame work.
Hi,
Can you please tell me how to run custom BSP application in UI frame work.
I have copied CRM_UI_FRAME application into ZCRM_UI_FRAME. Now if i am trying to test this particular application but in URL of IE i am able to see that its always calling CRM_UI_FRAME application.
Can any body help me out in this?
Rgds,
Jat.Hi!
You will find that and some other interesting stuff here
https://websmp206.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700001006302007E
The documents name is How-to Guide Framework Enhancements
rollo
Edited by: rollo on Aug 8, 2008 8:20 AM -
How to run a FXML application on a server?
I would like to learn how to run a FXML application as applet directly on a server with no download for the client part.
My question:
1) Is it possible?
2) Is there someone so kind to give me some basic steps I have to follow to accomplish this?
A working example of the whole process would be very appreciated.
Thanks very much.I'm not sure the question really makes sense.
FXML is a markup language for laying out the user interface in a JavaFX application. So "FXML application" doesn't really make sense; you have JavaFX applications whose layout may or may not be managed by FXML. What you can do with those applications doesn't depend on whether FXML is used. In any event, JavaFX applications are inherently client-side applications; they have a user interface and expect user interaction. It wouldn't make sense to run these on a server.
So it's not really clear to me what you mean. -
How to run the oracle application cleint using static ip or domain please e
How to run the oracle application cleint using static ip or domain please explain me.
i am not able to run oracle forms in client machine how to run it please explain me
Please give me detail regarding that
any body please help me.
my mail id::::: [email protected]You did not mention exactly which Forms version you are using so it will be difficult to offer specific help. However, you did mention Forms 9i. ALL "9i" releases were desupported long ago, so find software or documentation are becoming more difficult.
Here is the Deployment Guide for Forms 10.1.2
http://download.oracle.com/docs/cd/B19375_07/doc/frs/forms/B14032_03/toc.htm
Here are some technical reference for Forms 9.0.x
http://www.oracle.com/technology/products/forms/techlisting9i.html -
How to run the VC application which is deployed
Hi All,
I am new to the VC. I created one model, and i have added some data service and view. and i compiled and deployed. I am not able to find , how to run that deployed application.
Can any body tell me how to run the deployed VC application.
Regards
VijayHi Vijay,
go after you have deployed to Deploy on the right side of the VC. There you have to see "see source code" and "Run name of your application". Put your mouse at run and the application will start.
Another way ist to put the Button "Deploy Model " (it is the picture with the running man) in the 2second menu line. If you do this, the modell will start automatically, if it has no errors.
Regards
Thomas -
Is it possible to run a non-java program(i.e program off desktop ) into a JFrame. Meaning that this program will only run in the specified JFrame.
aggie09 wrote:
Is it possible to run a non-java program(i.e program off desktop ) into a JFrame. Meaning that this program will only run in the specified JFrame.Don't create more than one thread for the same problem/question please. Since your previous post holds a bit more information about it, please continue there:
[http://forums.sun.com/thread.jspa?threadID=5378613] -
Executing Jar Application using Java Programs
Hello there,
How can I run a java application using java programs.
Desc:
public class someapp {
public static void main(String[] ext) {
// How can I execute a jar application from here through java code
}You could use java.lang.Runtime.exec(). Another way could be loading the main class of the jar file and invoking its main method dynamically.
-
How to call SAP Webservice in standalone java program
Hi,
In our Java application, we want to use the SAP Webservices. I dont know much about authentication mechanism used by SAP. Can any one please help me with any sample code how to Call SAP webservice in Standalone Jave Program. I searched alot on the web regarding this, but helpless. Please help me.
Thanks,
MohanHi Mohan,
You need an account for the ES Workplace. I'm afraid this is not free, e.g. check [SAP NetWeaver, Composition Subscription|https://www.sdn.sap.com/irj/sdn/subscriptions/composition].
But I thought you wanted to play with a WSDL [you already had at hand|Sample code to access BAPI Web services from JAVA required;? -
How do I call an Application Module method from a EntityImpl class?
Guys and Gals,
Using Studio Edition Version 11.1.1.3.0.
I've got a price update form, that when submitted, takes the part numbers and prices in the form and updates the corresponding Parts' price in the Parts table. Anytime this Parts view object's ReplacementPrice attribute is changed, an application module method needs to be called which updates a whole slew of related view objects. I know you can modify view objects via associations (How do I call an Application Module method from a ViewObjectImpl class? but that's not what I'm trying to do. These AppModuleImpl methods are the hub for all price updates, as many different operations may affect related pricing (base price lists, price buckets, etc) and hence, call the updatePartPricing(key) method.
For some reason, the below code does not call / run / activate the application module's method. The AppModuleDataControl exists and recordPartHistory(key) is registered and public. At runtime, the am.<method> code is simply ignored, and as a weird side-effect, I cannot navigate out of my current page flow.
public void setReplacementPrice(Number value)
setAttributeInternal(REPLACEMENTPRICE, value);
AppModuleImpl am = (AppModuleImpl)this.getDBTransaction().findApplicationModule("AppModuleDataControl");
Key key = new Key(new Object[]
{ getPartNumber() });
am.recordPartHistory(key); // AppModuleImpl method which records pricing history
am.updatePartPricing(key); // AppModuleImpl method which updates a whole slew of related pricing tables
}Any ideas?Thanks Timo.
Turns out the code provided was correct, but the AppModuleImpl method being called was not. A dependent ViewObject wasn't returning the row I was expecting. I then tried to perform some operations on that row, which in turn ... just stopped everything, but didn't give me an error.
It was the lack of the error that threw me off. I had never messed with calling an AppModuleImpl method from the EntityImpl so I assumed that's what was messing up.
You are correct. It is available from the ViewRow, but I thought it better to put it in the EntityImpl. This method will be called every time the replacement cost is modified. If I didn't put it in the EntityImpl, I'd have to remember to call it every time a replacement cost changed. -
How do I transfer my applications and data from one Mac to another?
I am buying a new Macbook, anyone know how do I transfer my applications and data from old MacBook to New one?
Or you can be guided bt this 'officail' Apple support document:
http://support.apple.com/kb/PH4441
Ciao.
Csound 1 greetings: Nothing wrong with a little plagiarism.
Maybe you are looking for
-
Atlantic OTC - April 25, 26 Washington Convention Center Washington, DC http://www.aotc-maop.org Schedule at a glance: Thursday, April 25: http://aotc-maop.org/abstract/thursday.html Friday, April 26: http://aotc-maop.org/abstract/friday.html Catch t
-
SAML 1.1 - Possible to configure NetWeaver Server to allow SSO to Non-SAP ?
We have NetWeaver 7 and would like to use SAML 1.1 to SSO into a vendors website. Can we send SAML Assertions from NetWeaver by configuration or do we have to write an application? Thanks! BK
-
Why does my ipad say not yet connected to itunes store? It wont let me download apps
I'm a first time user. Tohis happens when i try to download an app it always says that its not yet connected to the itunes store. Help?! (the new ipad 3)
-
Is there a way to add a password to a certain folder?
Is there a way to add a password to a certain folder on a mac?
-
Enable Deprecation Warnings (again)
Hi, i want to see deprecated warnings during the build withing bea workshop. I posted this question already. The answer i got from BEA was not sufficient and i didnt get an answer on my reply on their answer ... Please read this thread first: http://