• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

applet

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which is better to deploy an applet,appletviewer or to use applet tag in html page,in terms of memory management?I was asked this during an interview for which I had no answer.
------------------
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What the ****?!?!?

That is a really, really stupid question... if you are going to make an applet, you should run it in a browser... that's what Applets were made for. If you are going to "deploy" an Applet with the idea that people are going to run it using appletviewer, you are better off writing a regular Java application...

And as far as the "memory management" thing goes... the question is kind of irrelevant, since the browser itself probably takes up much more memory than the applet itself... and it probably depends on the browser you are running, the version of the browser, the version and type of VM that the browser supports, etc...

So the answer would be, in terms of memory management, that to deploy the applet using appletviewer would use less memory, but then you might as well develop a stand alone application, and, Mr. Interviewer, why are you wasting my time with idiotic questions such as this?!?!?

-Nate
 
Ranch Hand
Posts: 439
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Plus appletviewer is a poors man browser as far as i know it can only understand simple applet tag and no other html tags which could be dangeriouse. I don't think people even test their work using appletviewer unless it's something simple.
 
prashant danekar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by prashant danekar:
Which is better to deploy an applet,appletviewer or to use applet tag in html page,in terms of memory management?I was asked this during an interview for which I had no answer.

.
Thanks for the reply.See,I have just joined this industry & the question put me off as well,but finally in an interview,the interviewer is the boss.
 
machines help you to do more, but experience less. Experience this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic