0

In Eclipse, is it possible to pass arguments between different projects? I want to run two separate projects simultaneously and would like for project A to be able to initialize something in project B, based on user input. Is it possible?

AbtPst
  • 7,778
  • 17
  • 91
  • 172

2 Answers2

1

I am assuming that you have to different instances of project A and B running. If so, you have plenty of options and this really depends on your requirements.

You can implement a TCP Server in project A and in the other project you implement a TCP Client which will invoke some initialization (see this example). A more high level programming approach is the usage of Java Remote Message Invocation but this requires a third project.

schrieveslaach
  • 1,689
  • 1
  • 15
  • 32
1

It seems that your problem is similar to these other threads, maybe? Not too sure if you're asking for more other means of passing arguments/other arguments?

Aaa
  • 134
  • 1
  • 8