Posted By:
AlessandroA_Garbagnati
Posted On:
Thursday, June 12, 2003 01:09 PM
Hi,
It doesn't seem you have a clear idea of what you are really talking about, and probably you need to get into some design documentation to better understand the environment.
Anyway, you cannot "call an applet" from a session bean. One reason, the easiest to point out, is that an applet is something executed on the client side, while the session beans are still on the server.
The data contained in your Session Bean can be somhow "provided" to a jsp page (maybe using some design pattern). This jsp page will take care of providing everything required for the applet.
The applet could be a good solution if your graph should respond to user input, but if the graph is something "static", maybe a serlet that creates an image in real time could be a better solution. But there are too many factors to consider for choosing the best solution.