To Fly_Eagle

jabber (jabber)
<本文发表于: 相约加拿大:枫下论坛 >
Fly_eagle, you are too humble. No sorry to say unless you have stepped on my toes. :-)

Yes, I know you have figured the problem
in my old code. The complexities come about as the code become lengthier. This is
why I always explain the basic prinicple by cooking up some small examples.

Understanding error messages is very very important. Just give you an example.
One of my colleagues told me his Weblogic
Server is wrong because he could not start it up. He has no habit to read server logs...
I asked to restart server again and show me the servlog. I found it is a java,net.BindException. Then, I told him
he probably has already started WebLogic server. He said no. But I found from his taskbar a MS-DOS containing weblogic logs
This is a server instance he started one day ago.... Here there is no coding. The important thing is that one needs to understand BindException. (Port no 7001 has been occupied by the old instance so my colleague could not start up a new one.)

Many C++ programmers think Java is a piece of cake. This is not true. Java syntax is similar to C++ one but it is not the whole story. We need to accumulate experiences in debugging. trouble-shooting....
<本文发表于: 相约加拿大:枫下论坛 >

2000-9-27 -04:00

回到话题: A Java question for fun

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论