Two Laptop Bag*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Author

"must not use networking in alone mode"

Jerry Goldbaum
Greenhorn

Joined: Oct 31, 2008
Posts: 11
Hi,

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,
Tnts
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2258
    
    3

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.


SCJP, SCJD
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: "must not use networking in alone mode"
 
Similar Threads
NX: Question about database location.
RMI Server
Running server/client separately in runme.jar
getResource always returns null
My user document.