Solved

simple

Posted on 2002-03-07
8
166 Views
Last Modified: 2010-03-31
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
manner??
bye,regards
0
Comment
Question by:prabhuram
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 3

Accepted Solution

by:
daitt earned 50 total points
ID: 6847220
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.
0
 
LVL 7

Expert Comment

by:tomboshell
ID: 6849959
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.

Tom
0
 

Expert Comment

by:PhilAllen
ID: 6868752
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
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6978420
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.
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
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.
http://www.experts-exchange.com/questions/Q.20088467.html
http://www.experts-exchange.com/questions/Q.20011814.html
http://www.experts-exchange.com/questions/Q.20259379.html
http://www.experts-exchange.com/questions/Q.20261987.html
http://www.experts-exchange.com/questions/Q.20266756.html
http://www.experts-exchange.com/questions/Q.20274369.html
http://www.experts-exchange.com/questions/Q.20281907.html
http://www.experts-exchange.com/questions/Q.20282914.html
http://www.experts-exchange.com/questions/Q.20289912.html
http://www.experts-exchange.com/questions/Q.20291338.html

To view your locked questions, please click the following link(s) and evaluate the proposed answer.
http://www.experts-exchange.com/questions/Q.11542818.html

*****  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
http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643
POINTS FOR EXPERTS awaiting comments are listed in the link below
http://www.experts-exchange.com/commspt/Q.20277028.html
 
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.
Moondancer
Moderator @ Experts Exchange
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 3

Expert Comment

by:daitt
ID: 6979278
I think I answered this question.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6979299
Thank you, finalized today.
Moondancer - EE Moderator
0
 
LVL 3

Expert Comment

by:daitt
ID: 6979316
oops .. I was about to post the comment for this:
http://www.experts-exchange.com/java/Q.20259379.html
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
0
 
LVL 7

Expert Comment

by:tomboshell
ID: 6979712
It doesn't bother me.  Mine was an alternative idea anyways.

Tom
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now