I think they mean "method". Each method of the DBAccess interface. You should use correct Javadoc in all of the methods in all of your .java source files, I would think.*What do they mean by each element of the public interface? could you explain this with another sentence that a non english man can understand correctly?
Do not do this! Use java.rmi.registry.LocateRegistry.createRegistry(int port) instead!! The evaluator will not have the rmiregistry running.I used Rmi as follows
-Start RmiRegistry (rmiregistry.exe)
-Bound the server on the registry directory (Naming.rebind(objectName, this)
-The client get the Remote object server using Naming.lookup(\\ServerName\objectName)
Bob N
CSSLP
SCJP - 1.4
SCJD - (B&S) Used 1.5 And It Runs On Solaris10
SCWCD - Thanks to HFSJ!!
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
You have to get the port number from the user. Only he knows what a good port number is on his machine. Your Gui, that writes to the suncertify.properties to store this info, should accept the port input by the user and use this to run the createRegistry method.WHAT IS THE PORT NUMBER THAT I WILL HAVE TO PROVIDE TO createRegistry(int port)?
Bob N
CSSLP
SCJP - 1.4
SCJD - (B&S) Used 1.5 And It Runs On Solaris10
SCWCD - Thanks to HFSJ!!
Please don't shout.WHAT IS THE PORT NUMBER THAT I WILL HAVE TO PROVIDE TO createRegistry(int port)?
As Jason said in this thread, this is beyond the requirement of the exam.Is it a must to refresh the table of each client after any change on the server database file? (I do not have time to do so anyway)
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Nope - createRegistry() takes the place of externally running RmiRegistry. As such you only need to run it once.createRegistry(int port) run on the server or on the client?
If it runs on the server, will the server have to run createRegistry(int port) for each client?
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |