Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

J2ee Weblogic connecting to Tariff Server  RSS feed

Phuu Thu
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 and
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

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!