Win a copy of Java Challengers this week in the Java in General 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
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • 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 ]
 
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic