You may take whatever option whether you are using Applet or Application.
First you need to decide how you like to create this, as a webpage or as
GUI, both can be used. If you are deciding to use Applets then please use
Servlets, so you may understand how secure it is?