Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

correct syntax...?

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
Is it correct syntax to embea a Bean within an Applet:

<APPLET ACHIVE="MyResources.jar"
CODE=MyApp.class
WIDTH=200
HEIGHT=200>
</APPLET>
Thanking in anticipation.
Regards
M.Shahzad
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you mean how should you include the remote interfaces of an EJB for an applet acting as an EJB client, then yes, the remote interface .class files (and any parameter classes) need to be included in the applet's .jar file.
Here's a sample of the HTML code block for an applet using .jar archives:
http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html#plugin
EDIT: I forgot to mention that you might need some client libraries for your particular application server in addition to the EJB interfaces. Refer to your appserver's documentation for details.
[ August 12, 2003: Message edited by: Lasse Koskela ]
 
This is my favorite show. And this is my favorite tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic