When Applets Make Sense in an EJB Application

As you saw in Chapter 44, "Applet Development," applet use has dwindled since the early days of Java, but still makes a strong showing in a few key areas (interactive programs and data displays). There are times when you might need to use an Enterprise JavaBean (EJB) (almost always a session bean) directly from an applet. Although there are definitely cases in which an applet makes sense, you will probably find that an applet is not always the best choice for front-end development.

When you are deciding whether to use applets for an EJB application, you should consider the following questions:

  • Are there any potential firewall issues? EJBs use Remote Method Invocation (RMI), which is notoriously firewall ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.