🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #296

Applet and RMI

#296
From: Rina Agarwal
Date: Wed, 31 Dec 2003 05:22
33 lines
2226 bytes
I want to connect to JDBC using Applet . If i use JSP then the page is
refreshed each time i need
server side interaction. If i use RMI such page refresh is avoided. But for
RMI i need the stub file
and the Interface file to be installed at client end. The server side
interaction is required quiet a
number of times in the same page. How do i solve this problem?

I have deployed the file in tomcat server:-
Directory Server has files - appInterface.class,
appImplement.class,appImplement_skeleton ,
appImplement_stub,appServer.class , Client.jar (appClient.class,
appImplement_stub,
appInterface.class), Client.html ;

The Client.html calls for the applet appClient.class in the Client.jar
archieve.

When i run the applet thru http://localhost:8080 :- it gives no error but
the applet is not executing
the method (which is called thru RMI). Where shall i lookup the error if
any? The applet runs fine
when not thru http.

=======================================================

computer1:  the browser, with the applet
computer2:  the webserver (port 80), the rmi server (port 2001??), AND
a naming service, such as the "rmiregistry" (default port 1099) (some
other name server will work...)

?? how to change port for the rm server..rt now it is running at default
port ..i dont know which
Technical Details
Message-ID: <3ff25dcd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,5c1468bdc135c8b1,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-12-30 21:39:11 PST
From: "Rina Agarwal" <rinaa@eisec.com>
Newsgroups: borland.public.jbuilder.java.api
Subject: Applet and RMI
Date: Wed, 31 Dec 2003 10:52:28 +0530
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
NNTP-Posting-Host: 202.140.159.155
Message-ID: <3ff25dcd@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072848333 202.140.159.155 (30 Dec 2003 21:25:33 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail