🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.api
2 messages
2 total messages Started by Rina Agarwal Wed, 31 Dec 2003 05:22
Applet and RMI
#296
Author: 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
Re: Applet and RMI
#297
Author: Lori M Olson (TeamB)
Date: Wed, 31 Dec 2003 07:25
22 lines
1698 bytes
Please do not multi-post.  It is against the newsgroup rules.

This question was answered in another newsgroup.

-- 

Regards,

Lori Olson (TeamB)

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
     http://www.visi.com/~gyles19/fom-serve/cache/1.html
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads