Originally posted by Junilu Lacar:
Moving this to Java in General (beginner)
------
(Re-opened) I may have been too quick to close this topic as it seems to be related to how you're doing the programming assignment. Sorry about that, Sri.
------
Thanks! I appreciate your help!
Actually i think even the way i posted my question was wrong. Which might have made you think so. Sorry about that.
Why do you have two main()s?
From what I have personally observed, the main reason for having more than one main() is to use it as a quick and dirty way to do unit testing. If this is true in your case, I suggest that you try using the JUnit framework to write unit test code so you can keep your test code separate from production code.
Junilu
[ May 28, 2002: Message edited by: Junilu Lacar ]
The reason for having 2 Main() methods is that,
The first is to execute RMIDataServer
and the second one is to run the GUI/client application.
I thought this is the way i could do, to the best of my efforts. I am not sure if its dirty testing or not.
But can anyone please guide me, if there's any other way to execute both the RMIDataServer and the Client application is one/single command line option, with a single executable class in the entire application?
or am i going wrong here?
And i haven't used any
IDE for development, i was only using Textpad.
Mark, can you please help me....
Thanks,
Sri