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 how to comprehend the 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 "how to comprehend the "Non-Networked Mode" mentioned in my requirement!" Watch "how to comprehend the "Non-Networked Mode" mentioned in my requirement!" New topic

how to comprehend the "Non-Networked Mode" mentioned in my requirement!

Steven z.Li

Joined: Dec 10, 2004
Posts: 8
I have some troubles when I read my URLyBird project,s instruction. My puzzle is come from follow quote.

Non-Networked Mode
The program must be able to work in a non-networked mode. In this mode, the database and GUI must run in the same VM and must perform no networking, must not use loopback networking, and must not involve the serialization of any objects when communicating between the GUI and database elements.
The operating mode is selected using the single command line argument that is permitted. Architecturally, this mode must use the database and GUI from the networked form, but must not use the network server code at all.

Network Communication Approach
You have a choice regarding the network connection protocol. You must use either serialized objects over a simple socket connection, or RMI. Both options are equally acceptable. Keep in mind that networking must be entirely bypassed in the non-networked mode.

It said "must not use the network server code at all" but other part of instruction tell me must use server-side data management system, and can use socket connection or rmi. I think the socket and rmi is used for solve Networked problem. So there is something wrong . I hope someone can tell me what Non-Networked Mode extra mean
thanks in advanced!

SCJP1.4 <br />SCJD 1.4 (In progress)<br />SCWCD 1.4 (Preparing...)
Liang Anmian
Ranch Hand

Joined: Jun 25, 2004
Posts: 119
It means that in networked mode, you query the database using an RMI interface. In non-networked mode, a local database is used. In other words, your Swing application must allow the user to select a database file for use in non-networked mode.

Current Status:<br /> <br />SCJP 1.4<br />SCJD (in progress)
I agree. Here's the link:
subject: how to comprehend the "Non-Networked Mode" mentioned in my requirement!
It's not a secret anymore!