The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

same problem

Posted by Lucas on October 25, 2000 at 4:27 AM

> u can have a servelt at the server side to which u can >communicate from applet.Since the bussiness logic and data >access is also on server side only it is better to have a HTML >page as a client insted of applet which takes more downloading >time than HTML.
I don't know about that:
for example i have an applet aplication that contains some 50
classes (for now) and the total size is about 400k and will be more. But I (supposse) I solved the problem by doing this:
the applet class and a few other classes are 30k (and i will jar them) and the applet loads itself with only few classes, among this classes most are abstract classes. So i do this,when the client clicks for example on Productivity ,the applet does this:
Class.forName("derivatedclasspath.*.class of some abstract class") (these are mostly panels ) wich is casted on the abstract class. By doing this i think i resolved the problem with the loadtime... Problem is that i tryied this application
only in intranet, and i think it's not relevant.
But, my big worry is how it would behave once putted on the main
web server accesible from outside because the applet connects itself to a server application from the host through sockets
using TCP/IP. My experience is web server-client applications is very small, i am dealing with this only recently and don-t know most important issuses related to this.
I expect some heavy problems(or i should not?) once applied on the main webserver.
I would appleciate any advices related to that,( it would spare me of lot of problems in the future)subject.
thank you very much,
lucas







Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us