Peter Gates

Greenhorn
+ Follow
since Aug 10, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Peter Gates

Hi
Can I put more methods in Data class? I create an interface which has all the public methods of Data class. And I use Mediator pattern at client side. If I have a method say getOriginAirportNames() which will return an array of airport names, should I put this method/logic in Data class(hence at server side if remote) or put into my mediator class(hence always in client side)? What is the advantages and disadvantages? I am new to RMI and don't know how to figure out this one. Thanks for any help.
Hi all
When starting a server, normally I need to type: java -Djava.security.policy=fbn.policy XXXXXX.
I just wondering if I can put the fbn.policy into a java file, say fbn.java, so that I can start the server like java XXX?
Thanks for any help.
Peter
Why do you create an interface that have all the public methods of Data class? I didn't do that but extended the Data class. It works fine.
Cheers