Thread View: borland.public.jbuilder
2 messages
2 total messages
Started by Mervin Williams
Wed, 29 May 2002 01:46
How are Javabean classes loaded?
Author: Mervin Williams
Date: Wed, 29 May 2002 01:46
Date: Wed, 29 May 2002 01:46
9 lines
2685 bytes
2685 bytes
How are the class files used by a client-side Javabean within a distributed application loaded: - If it is the first request of the class files by the client, are the class files downloaded from the server? - If this is a subsequent request, are the files downloaded again? - If the class files have been modified on the server, how are they refreshed at the client? - Should I use the Java Plug-In to make this process work correctly?
Re: How are Javabean classes loaded?
Author: Sergey V. Udaltsov
Date: Fri, 31 May 2002 12:54
Date: Fri, 31 May 2002 12:54
21 lines
2869 bytes
2869 bytes
> - If it is the first request of the class files by the client, are the > class files downloaded from the server? If they are not in a jar - they are loaded once the app really needs the class. If they are in a jar - at the start of the app (or when this jar is requested by corresponding class loader). >- If this is a subsequent > request, are the files downloaded again? No. Unless you write special class loader (though not sure it will work). - If the class files have been > modified on the server, how are they refreshed at the client? No. Unless you write special class loader (though I am not sure this can help - probably JVM asks class loader only one). > - Should I use the Java Plug-In to make this process work correctly? I don't think there is a way to "update" classes on the fly while your app is running. Incompatible class version can possibly break JVM IMHO. -- Dr. Sergey V. Udaltsov Brainbench MVP for Java 1 http://www.brainbench.com
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