This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
Hello all, I am new to this forum and j2ee. Currently I am doing a system that needs to get Tariff Rate from another Server called "RMIHOST". I am amending the current system and it is done with BEA weblogic. I was given Tarrif.jar and I can just call
String tariffCode = "1111"; Strind dateTime = "19980101 00:00:00"; //I get the dateTime as a currentdatetime and changed to that format
RmiTariffObj tariff = TariffClient.getTarifficObj( tariffCode, dateTime);
float rate = tariff.rate();
The problem is, instructions says I need to pass in the attribute of host name and port number of RMIHOST server.
I saw some wrote like init() in LoginServlet but I don't have one. I only have loginController.java and LoginFilter.java.
And I keep getting null value for rate T_T
What are the steps to connect to the server?
Do I have to use .properties file?
I was also given host name and port number of the server.
Please help me.. T_T