Article View: borland.public.jbuilder.java.api
Article #449Re: RMI
From: Oliver Young
Date: Tue, 19 Aug 2003 09:18
Date: Tue, 19 Aug 2003 09:18
18 lines
1924 bytes
1924 bytes
I can't understand this:
This peace of code executes *before* any other code in my app (before main()
or code in a front of code block below):
StopDoryIntf rmi = new StopDoryEngine(this);
Naming.rebind(name, rmi);
Although this peace of the code is in the middle of constructor. (?) If I
put "System.out.println("test");" before this block of the code "test" will
not be printed and previously mentioned exception will occur (it can't be
cougth with try/catch block). If I comment block above then executing starts
from the main() and there is no exception. This behavior (start executing
code from the middle of the procedure) is not very common for modern
languges such as VB, Object Pascal (Delphi), C/C++...
Any comments?
Technical Details
Message-ID:
<3f41ebba$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f3b90c4$1@newsgroups.borland.com> <3f3e844b$1@newsgroups.borland.com> <3f40a50c@newsgroups.borland.com> <3f41a123$1@newsgroups.borland.com> <3f41e5b2@newsgroups.borland.com> <3f41e794$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,304739c9281f7628 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2003-08-19 02:40:19 PST From: "Oliver Young" <no@spam.please> Newsgroups: borland.public.jbuilder.java.api References: <3f3b90c4$1@newsgroups.borland.com> <3f3e844b$1@newsgroups.borland.com> <3f40a50c@newsgroups.borland.com> <3f41a123$1@newsgroups.borland.com> <3f41e5b2@newsgroups.borland.com> <3f41e794$1@newsgroups.borland.com> Subject: Re: RMI Date: Tue, 19 Aug 2003 11:18:38 +0200 Lines: 20 Organization: None X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 193.138.1.66 Message-ID: <3f41ebba$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1061284794 193.138.1.66 (19 Aug 2003 02:19:54 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail