• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

May be this is a stupid question for 2003

 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic