NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
April 20, 2019, 03:57:43 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
"Progress, therfore, is not and accident,¡K" ..."Herbert Spencer(1820-1903, British philosopher)"
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
  Print  
Author Topic: Extracting Needed Class from Library?  (Read 6801 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
benkwang
Newbie
*
Offline Offline

Posts: 2

«
Embed this message
on: May 07, 2008, 09:37:08 am »

Hi Proj..

I have this problem.. If i create an app, the whole of ejsBasic.jar is attached to it. But it has caused the file to be too huge.. Therefore i was thinking if theres a way i can extract the needed java classes instead of the whole 2MB library file. From what ive seen. My 14kb App becomes 2MB after attaching the required library files. Im asking this because i would need to upload them to the internet for students. But this causes the loading time to far exceed the normal loading time. Hope to hear from you soon. Thanks
Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3082



WWW
«
Embed this message
Reply #1 on: May 07, 2008, 12:09:07 pm » posted from:Taipei,T\'ai-pei,Taiwan

The same ejsBasic.jar is used for all the ejs created applets. So you only need to have one copy of ejsBasic.jar on your server. I think this is better than you have many copy of similar files. For examples, we have several hundreds ejs  applets and they all used the same ejsBasic.jar 
And if I update ejsBasic.jar to a new version, all the applets do not need to be re-compiled and all the applets will have new functions available.
Logged
Pages: [1]   Go Up
  Print  
"Progress, therfore, is not and accident,¡K" ..."Herbert Spencer(1820-1903, British philosopher)"
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Help needed !!!
Thermodynamics
vadik 5 11810 Last post November 08, 2009, 11:44:23 am
by HUMSHAPHY
EJS Digital Library simulation examples
Ejs simulations from other web sites
Fu-Kwun Hwang 2 24290 Last post June 28, 2012, 10:35:33 am
by Fu-Kwun Hwang
EjsRL Library Aurova Group's Virtual Laboratory
Ejs simulations from other web sites
lookang 2 13914 Last post July 21, 2011, 01:36:41 am
by ahmedelshfie
Help needed - Feedback for simulations!
Collaborative Community of EJS
engrg1 4 4758 Last post April 24, 2012, 10:03:49 pm
by lookang
Extracting Needed Class from Library?
Questions related to EJS
leo main 1 1090 Last post July 02, 2018, 09:04:32 pm
by leo main
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.05 seconds with 22 queries.since 2011/06/15