Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-31-2007, 04:36 AM
zoe zoe is offline
Member
 
Join Date: Jul 2007
Posts: 40
zoe is on a distinguished road
Call a main method from within a running program
Hi, I'm trying to find out the best way to call a main method from within a running program. Both programs are written in Java.

I've got a Java IDL server up and registered, and what I'd like to do is either call another main method (which starts a GUI) from within the server's main method or create a kind of startup method within my IDL implementation that will remotely start the GUI.

In either case, I need to know the easiest way to kick off the other main method and how I can communicate between each of the processes.
Thanks
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-07-2007, 07:16 AM
Member
 
Join Date: Jul 2007
Posts: 40
fernando is on a distinguished road
That is an interesting problem you are trying to solve. While I don't know much about calling another application from an existing running application, I am gonna try and surf around at work and see what I can come up with.
Greetings.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to call C/C++ Program from Java sanjeevtarar Advanced Java 1 04-17-2008 09:55 AM
Running main in a package... Bizmark New To Java 1 04-07-2008 02:58 PM
When to use –client and -server option while running a java program Java Tip java.lang 0 04-04-2008 03:49 PM
Call a Method Automatically rhm54 New To Java 4 02-07-2008 09:51 AM
I need to call and run another program coco Advanced Java 1 07-31-2007 06:47 AM


All times are GMT +3. The time now is 02:42 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org