nick5454
asked on
Using Applets
In the J2EE architecture it says to use applets for designated areas within the JSP page to access business components. My instructor says to use the servlet instead. That contradicts the J2EE specifications. WHich is the best.
Applets take a while the first time. But what is the correct practice.
Thanks,
Nick
Applets take a while the first time. But what is the correct practice.
Thanks,
Nick
Applets don't really have access to your business components in J2EE. Applets run on the client, while your business components run on the server.
Can you point to a reference making this recomendation to use applets and we can try to explain what they mean.
Can you point to a reference making this recomendation to use applets and we can try to explain what they mean.
ASKER
Well its in the Simplified J2EE specs. But, I am going to use the applets for animation and I guess thats the real purpose for banners and things like that.
My last question then is do I create a class that inherits the servlett class that calls and EJB?
And are java beans on a jsp page common practice or do I stay away?
My last question then is do I create a class that inherits the servlett class that calls and EJB?
And are java beans on a jsp page common practice or do I stay away?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
JavaBeans are most useful in a jsp page, as their are tags designed to access them.
They don't have any real advantage over other classes in a servlet.
They don't have any real advantage over other classes in a servlet.
ASKER
Thanks for the code I really appreciate both of your answers
nick
nick
Thank you for the "A" and good luck.
CJ
CJ
CJ