• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:


i've written code for an applet which can be accessible by the remote browser.. before it starts
accessing features, browser has to load the jar file, right? i've 3 jar files all are of MB sizes
and due to this.. whenever a client opens application its taking big times to open starting page..
how can i overcome this problem?? is there a way for a client to work without jar in an efficient
  • 3
  • 2
  • 2
  • +1
1 Solution
1. You can install the jar files at client side and remove them from your html page.
2. You can extract all the class files from your jar files and and put them to the codebase of your applet, so that the browser will load the classes only when it need them. If the browse DOES need a lot of class files, this way is not efficient.
Alternative Ideas: if it is possible and you have the resources, lighten the applet by taking all the processing out and write it into a servlet.  Then set-up the servlet and applet to talk to each other.  Then your applet is basically just a gui (can include some pre-checking) and your servlet does the processing.  Distributed computing example.  However, it does make it more complex.  Or you could look into Java Web Start.  I tend to think of applets as 'small, cute thingies'  and anything that goes into the megabyte range as a qualifier for an application.

Mb sizes .... !!!

Good god, it would take years to develop so big an applet

It sounds like your jar files include stuff not needed

YOu do not need to send the client the whole Virtual Machine, you assume that the browser on the cleint has the standard classes and just supply your custom ..

I consider a jar file of 300K as massive and representing at least a years programming
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101 or Netminder will return to finalize these if they are still open in 14 days.  Experts, please post closing recommendations before that time.

Below are your open questions as of today.  Questions which have been inactive for 21 days or longer are considered to be abandoned and for those, your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> YOU CANNOT DELETE A QUESTION with comments; special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
Please click this link for Help Desk, Guidelines/Member Agreement and the Question/Answer process.  http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Click you Member Profile to view your question history and please keep them updated. If you are a KnowledgePro user, use the Power Search option to find them.  

Questions which are LOCKED with a Proposed Answer but do not help you, should be rejected with comments added.  When you grade the question less than an A, please comment as to why.  This helps all involved, as well as others who may access this item in the future.  PLEASE DO NOT AWARD POINTS TO ME.

To view your open questions, please click the following link(s) and keep them all current with updates.

To view your locked questions, please click the following link(s) and evaluate the proposed answer.

*****  E X P E R T S    P L E A S E  ******  Leave your closing recommendations.
If you are interested in the cleanup effort, please click this link
POINTS FOR EXPERTS awaiting comments are listed in the link below
Moderators will finalize this question if in @14 days Asker has not responded.  This will be moved to the PAQ (Previously Asked Questions) at zero points, deleted or awarded.
Thanks everyone.
Moderator @ Experts Exchange
I think I answered this question.
Thank you, finalized today.
Moondancer - EE Moderator
oops .. I was about to post the comment for this:
For this question, I think all the comments are useful and the combination of them is the answer .. 50 points is not much .. tomboshell and PhilAllen if you want I will split the points :-p
It doesn't bother me.  Mine was an alternative idea anyways.


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now