Rahul Chhangani wrote:servlet implement server side functionality as, database access, insert or any query
You don't need servlets to access a DB -- your Swing app can do that via
JDBC or any JPA implementation.
and i wants that if swing implemented with servlet then the app access remotely via web browser
You can't mix Swing and servlets. If you want your swing app to be easily downloaded via the web, that's the job of
Java Web Start, not servlets.