This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, This is from my instructions: "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. " Question: What is "loopback networking"?? Can not use serialization ?? Something used in RMI must involve serialization in my project, my DataInfo class implements Serializable interface, so is this ok?? And: "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. " Question: I don't understand the bold portion, what is the "networked form" and what is the "network server code"?? [ November 12, 2003: Message edited by: biang lin ]
loopback networking is that you issue a network request, but the server is in fact located at the same machine as where you make the request. e.g. http://127.0.0.1
Cannot use serialization ?? Something used in RMI must involve serialization in my project, my DataInfo class implements Serializable interface, so is this ok??
I think you over looked the Q. The Q stated that: The program must be able to work in a non-networked mode. In this mode.... Only non-networked mode cannot use serialization. But the networked mode should use serialization.
I don't understand the bold portion, what is the "networked form" and what is the "network server code"??
Now, you need to do 2 things: 1. GUI connects to LOCAL Data Server 2. GUI connects to REMOTE Data Server. networked form means, even the user choose non-networked mode, the system behaves like networked mode, but DO NOT involve the remote server code. networ server code refers to the RMI code (server) when the system is in network mode.
Richard, Simply making your class Serializable is not a violation. In the non-networked mode, your gui can use the class directly, it does not need to transport it using serialization. My Contractor class was serializable and the gui used it directly from the List of Contractors it got from business tier. kktec SCJP, SCWCD, SCJD "The journey is the reward."
kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: (NX:URLyBird)Question about instructions: