NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
October 21, 2019, 05:21:09 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Music is a higher revelation than all wisdom and philosophy. Complete the mission of life. ..."Beethoven (1770-1827, German composer)"
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
Author Topic: Extracting Needed Class from Library?  (Read 6890 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
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
Fu-Kwun Hwang
Hero Member
Offline Offline

Posts: 3083

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.
Pages: [1]   Go Up
Music is a higher revelation than all wisdom and philosophy. Complete the mission of life. ..."Beethoven (1770-1827, German composer)"
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Help needed !!!
vadik 5 11984 Last post November 08, 2009, 11:44:23 am
EJS Digital Library simulation examples
Ejs simulations from other web sites
Fu-Kwun Hwang 2 24542 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 14242 Last post July 21, 2011, 01:36:41 am
by ahmedelshfie
Help needed - Feedback for simulations!
Collaborative Community of EJS
engrg1 4 4960 Last post April 24, 2012, 10:03:49 pm
by lookang
Extracting Needed Class from Library?
Questions related to EJS
leo main 1 1453 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.058 seconds with 22 queries.since 2011/06/15