This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
My assignment told me mustn't require the use of an HTTP server an mustn't require the installation of a security manager. 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!
Hi Leo 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. Regards, Andrew [ August 04, 2003: Message edited by: Andrew Monkhouse ]
My assignment told me to use jdk 1.3.1, whether "System.setSecurityManager(new RMISecurityManager());" is used in this jdk version? I'v seen RMISecurityManager is only used in jdk 1.1 or lower version, it exactly? thanks, Andrew.
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. Regards, Andrew
Joined: Sep 10, 2002
Dear Andrew: 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.)
author and jackaroo
It seems that SDK 1.4.0 was officially released (production version) March 1, 2002. Which would mean you've got a month left to use 1.3 . Sun really should have this sort of info available somewhere accessible.
"I'm not back." - Bill Harding, Twister
author and jackaroo
Sun really should have this sort of info available somewhere accessible. 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?