I never worked with applets and have the following questions:
-
can an existing Java Desktop App be ported to an Applet by just providing a different interface? Can I reuse everything that’s behind the GUI (services, injections, databases)?
-
is the same possible for Java EE applications? Just provide a different UI and reuse the rest of the code?
Basicly you just have to embed the JFrame, or whatever you used before, in an Class,which is extending an Applet. No you can´t use everything, there are some security restrictions for Applets(acces to the filesystem for example) until they are getting signed.