• 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

Supporting classes for applet

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am building a multi-tiered application with Applet as the client and the architecture is as follows:
Applet<->Servlet<->EJB<->Database
At the Applet tier, there will be an Applet class together with some supporting classes, e.g.


User access the application through browser. My question is: do I need to install those supporting classes in user PCs? or The browser will automatically load all the supporting classes?
Pls help. Thanks a lot.
Rgds, Michael
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All of the applet's classes will be downloaded by the browser, given that you've made them available from the same location on the web server as the applet class itself.
 
Michael Tu
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Ernest,
Thanks for your answer. Do you mean I make all classes in the same package?
Is it OK, for example, if I use following structure:

How can I make it works?

Pls help.
Thanks
Michael
 
He baked a muffin that stole my car! And this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic