Whether it mean that mustn't send a serialized object between the client and server, so it needn't the properties named "java.rmi.server.codebase".
I don't fully understand "installation of a security manager", before this, i use RMI through .policy file to manager security.It whether i use .policy file?
Waiting for answer. Thanks a lot!
Since you are not allowed to use a HTTP server, you cannot dynamically download code from the server. This should not cause you any problems. As you noted, this means that you do not need to set the codebase.
The policy file only takes effect when you use a security manager. That is, you would have used code similar to "System.setSecurityManager(new RMISecurityManager());" in your application. Since you cannot use a security manager, you do not need the policy file.
[ August 04, 2003: Message edited by: Andrew Monkhouse ]
I'v seen RMISecurityManager is only used in jdk 1.1 or lower version, it exactly?
My assignment told me to use jdk 1.3.1
Can you tell me what this requirement is? Up until now, the only requirement I have seen is that the platform you develop on "must not have been superseded by a new production version for more than 18 months by the time you make your submission".
This is not specific to version 1.3.1. I would actually question whether 1.3.1 is even allowable under that instruction, as I think JDK 1.4 was released around September / October 2001.
You are right, my application submission version is 1.3.1, not jdk version. In my assignment have this:
Throughout this exercise, you must use exclusively the Java 2 platform. You may develop your code using any implementation of the Java 2 platform, but the submission that you return must have been tested and shown to work under a production (not development) version of the Sun Microsystems' Java 2 platform and that platform must not have been superseded by a new production version for more than 18 months by the time you make your submission.
What meaning "under a production (not development) version " is ? And whether it allows me to use jdk 1.3.1 version. (In fact, i always use jdk 1.4.1, until recieve this assignment.)
What meaning "under a production (not development) version " is ?
Sun releases beta and "early-access" versions of it's products. These usually have either "beta" or "EA" in their names. You cannot use one of these products.
And whether it allows me to use jdk 1.3.1 version
I don't think so - I think version 1.4 has been out 18 months, so you can no longer use 1.3.x. Anyone else care to venture an opinion?
Agreed. The nearest I could find was Sun's Archive page which tells you the EOL status for some products. But even then the information is not complete enough to make a categorical statement. JDK 1.4.0 has completed EOL, but JDK 1.3.1 is not mentioned?