Getting to the Classes You Need
The biggest hassle with using EJBs from an applet is that the Java plug-in doesn't have the EJB classes built-in. If you're using a normal Web server such as Apache to serve up the class files, you might need to unpack all the EJB classes into a directory where the browser can find them. For example, in Listing 46.2, you can see that the codebase for the applet is a directory called classes. The classes directory contains all the files from the WebLogic classes directory, plus the contents of the weblogicaux.jar file and the applet classes themselves. You will probably need to perform a similar unpacking routine when you use other EJB servers.
The WebLogic developers realized that you would probably need an easy ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access