File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark ""must not use networking in alone mode"" Watch ""must not use networking in alone mode"" New topic

"must not use networking in alone mode"

Jerry Goldbaum

Joined: Oct 31, 2008
Posts: 11

I am considering "alone" mode solution.
As far as I understand in Alone mode only one jar should be started, like: java -jar mysolution alone, and that's it?
In this version GUI should consist functionality to open database from file and perform all actions that usually Client did over network?

Best regards,
Roberto Perillo

Joined: Dec 28, 2007
Posts: 2271

Howdy, champion!

By "must not use networking in alone mode", you can understand that your RMI/Socket server must not be used when running the application locally. For instance, you can't start a server locally and use it in standalone mode. In fact, this would mean that you prepared your program only to run in networked mode.

Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Vasya Pupkin
Ranch Hand

Joined: Dec 06, 2006
Posts: 39
I have these words: "The executable JAR containing the programs. This must be called runme.jar"
So you will automatically fail with your "mysolution" name. Please, be careful.

I agree. Here's the link:
subject: "must not use networking in alone mode"
It's not a secret anymore!