Interview Questions

I'm using a WebLogic multitier driver in an applet as an interface to a DBMS ...

BEA WebLogic Questions and Answers


(Continued from previous question...)

I'm using a WebLogic multitier driver in an applet as an interface to a DBMS ...

I'm using a WebLogic multitier driver in an applet as an interface to a DBMS. If I run the class using the Sun Appletviewer on my local machine, I have no problems. But when I try to run the applet in a Netscape browser, it will not connect.


If Appletviewer works and Netscape does not, it is an indication that you are violating a Netscape security restriction. In this case, the violation is that an applet cannot open a socket to a machine other than the one from which it loaded the applet. To solve this problem, you will have to serve your applet code from the same machine that hosts the DBMS.
In addition, the IP naming format you use in the applet CODEBASE and the constructor for the T3Client must match. That is, you can't use dot-notation in one place and a domain name in the other.

(Continued on next question...)

Other Interview Questions