±Û¾´ÀÌ :Sung Yi 2000³â 2¿ù 10ÀÏ 23:57:47
In Reply to: [±ÞÁú¹®] ¾ÖÇø´À» ¼ø¼´ë·Î ·Îµù...!? posted by ±è¼ºÈñ on 2000³â 2¿ù 10ÀÏ 11:24:57:
The last thing first. Socket can be opened in any method. But we normally open it in the beginning of a program.
For the applet loading, there are several ways to handle this:
1. You can load the class A, execute, and have the class A load the class B upon completion as it passes arguments to it.
2. Load class B first, and have class B start the class A in the beginning of the process.
3. You can create an interface to accomplish the same thing.
4. If they are the completely separate programs for some reason, you can create a persistent object to hold arguments.
5. Clunky but viable option is to create a flat file or database that holds the arguments generated by the class A.