How the fuck do you setup Eclipse when developing client-server applications? I want to run both at the same time
>>58665615
You can have more than one class that has a main(...) method. Use the run menu to create launch profiles for each runnable class. launch them via debug or run tool button. If you want to run both, launch one main, then the other. To kill them, go to eclipse's debug window and right click on the app you want to kill.
>>58665615
>hungarian notation
kys
Just use a light client; curl or something. Assuming you're developing for web.
>>58665615
I find it easiest to make a separate workspace for both the client and server and then have a dual screen setup with one workspace per screen.
>>58665615
Use IntelliJ
>>58665615
>SubHuman
>fleas = 14;
kek
>>58665615
>what actually happens
maybe if you're a pajeet
>>58667246
>>58667246
>>>58665615 (OP)
>Use IntelliJ
I think you missed a word there. It should read:
>Never use IntelliJ.
>>58665615
Two projects.
One client, one Server.
Launch them separately as needed.
And if you, god help you, have to do the server as a bunch of microservices becaues of reasons, it's the only sort-of-sane way to do it from Eclipse.
(Although in that case, only work on one of the services at a time.)
>>58667126
I suppose that could work. But if you have shared code between the two, don't you need to keep manually syncing the code changes into the othrr Eclipse workplace? Not a prob if you have both projects in a single workspace.
>>58665615
Write a test robot like a normal person
>>58665615
You should build the pieces so that they are relatively independent from one another anyway.... It sounds like you are tightly coupling things that maybe shouldn't be tightly coupled?
If you can't do that, you can create project dependencies by configuring the project.
IntelliJ has seemed more intuitive for managing large, multi-project applications. You can use something like Maven or Gradle to control the build process.
>>58668752
T. Actual developer
>>58665615
>Subhuman fleas = 14;
>put client in one package, server in another
It's not fucking rocket science dumbfuck