Lecture 26: More RMI
Ambient Temperature: 74.4oF
Concepts
- More explanation of the RMI infrastructure.
- If you are off-campus you must use VPN before you’ll be able to connect to an on-campus partner.
- If you are behind your own router, you will have to make sure that you forward the appropriate ports to your computer.
- public <Type> Type executeTask(ITask<Type> _task) throws RemoteException;
This is a parameterized method. Its parameter is an ITask, which has been parameterized to some arbitrary type. Whatever the type of the ITask is, is what the method will return.
Resources
- Lecture 26 webpage: http://www.clear.rice.edu/comp310/f12/lectures/lec26/
- Lecture 25 webpage: http://www.clear.rice.edu/comp310/f12/lectures/lec25/
- COMP 310 Resources on Generics: http://www.clear.rice.edu/comp310/JavaResources/generics/
- Oracle Tutorial on Generic Methods: http://docs.oracle.com/javase/tutorial/extra/generics/methods.html