• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

May be this is a stupid question for 2003

 
Alok Pota
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are java applets still slow?
Haven't worked on applets for a long time and feel that I would rather use applets instead of Active X controls for interactive charting. The only thing holding me back from even bring that idea up with my peers is the "applets are slow" generalization.
Whats the truth? Any real world experiences/demos
 
Nicholas Turner
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a chart in Java2D using applets converting a 15 meg excel file into xml then populates tons of objects and displays data thats auto sizing, variable, multiple variances and the works outdoing excel charting capabilites and it loads in about .5 seconds
It contains about 2000 rows with about 100 columns in doubles, floats, and strings and I perform engineering calculations to interpret the data for off-shore sites in real time.
Theres more but you get the point I hope. and by the way I was hell getting everything to sync with the applet security rules.
Especially since the page had to read and write properties through javascript to avoid page refreshing and stuff.
Hows that
 
Tim Holloway
Saloon Keeper
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java in general has speeded up, in large part thanks to Just-in-Time (JIT) compiling technologies. More importantly, peoples PCs have speeded up! Anybody running faster than about 300MHz has more power than they need to run MS Office, and anything above 600MHz is (usually) adequate to run heavy-duty Java.
Anyway, I'd much rather run a "slower" Java applet that I could trust not to rape my system than a "faster" ActiveX that had no security guarantees.
Plus, not all my clients are running Windows!
 
Nicholas Turner
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, maybe you mistook what I said or just adding that an applet is better than an active x control.
the excel file is just and export csv file that is 15 meg give or take 5 meg. Absoutely gigantic. I implemented some multi threading to get some real speed out of it. But its really fast the initial load takes .5 or less seconds and switching between the 10 different views is instantaneous. I like the power of applets because any new view has to populate and render at least 500+ objects in order to print the grid in Java2D
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic