Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Java applet - servlet communication

Reply
Thread Tools

Java applet - servlet communication

 
 
M B HONG 20
Guest
Posts: n/a
 
      06-15-2005
Hi all-
I am developing an ASP.NET web application (in C#). There is a
separate server-side application running, which checks various things
and will decide if the user's screen will need to refresh. Is this
possible through a java applet? I have investigated polling, remote
scripting, and many other alternatives, but this option seems to be the
best and most efficient. Also, I need this to work with Internet
Explorer 5+ and Netscape 7. Any help will be greatly appreciated.
Thanks in advance.

 
Reply With Quote
 
 
 
 
Dag Sunde
Guest
Posts: n/a
 
      06-16-2005
"M B HONG 20" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Hi all-
> I am developing an ASP.NET web application (in C#). There is a
> separate server-side application running, which checks various things
> and will decide if the user's screen will need to refresh. Is this
> possible through a java applet? I have investigated polling, remote
> scripting, and many other alternatives, but this option seems to be the
> best and most efficient. Also, I need this to work with Internet
> Explorer 5+ and Netscape 7. Any help will be greatly appreciated.


But your Applet will have to check regularly with the server-side app,
and that is polling as good as anything. Or where you thinking about
something else?

Yes, the polling via an Java Applet to a ss-app is very doable, but send
some more info. If you end up polling, you might as well use JavaScript
and XMLHttp.

--
Dag.


 
Reply With Quote
 
 
 
 
M B HONG 20
Guest
Posts: n/a
 
      06-17-2005
Dag, thanks for the reply.

I was wondering if there was a way to somehow issue a "server push" to
refresh the browser through a java applet, meaning no polling would be
necessary from the client to the server application. And since this
will be an intranet app, bandwidth issues are not really of a concern,
so javascript polling would also be plausible. However, i cannot think
of a way to actually call the C# functions from the client side script
code. I have looked into Remote Scripting and web services, but they
dont seem to work with Netscape 7. And oh yea, i successfully have my
code behind for my web page accessing functions from the separate
server application through Remoting, and if i could make those calls
within the client code that would be a good solution.

Charles.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Servlet to Servlet Communication MattC Java 11 10-14-2005 01:42 PM
Servlet to Applet Communication -- Cheats Troy Java 4 07-19-2004 11:51 AM
Applet Servlet communication via HTTPS Ng Wee Peng Java 1 04-01-2004 06:21 PM
Applet <==> Servlet Communication Mustafa Aydin Java 7 11-20-2003 03:26 PM
Applet to servlet communication Rui Pacheco Java 2 10-23-2003 12:06 AM



Advertisments