poonam said:
I am using Sun application server. what are the necesssary things for
running a "Executable JAR file " returned by server after deploying
the application
The application server doesn't return executable JAR files.
What it does is invoke application logic when you access the server via its
defined port, e.g., 8080.
So if you have an application called, say, "foo", you get application behavior
by invoking
http://someserver.address.com:8080/foo/
The application server takes care of invoking logic contained in its deployed
JARs, or more precisely, its EARs (Enterprise ARchive) and WARs (Web ARchive).
It does not return these JARs. It returns formatted byte streams as dictated
by the logic in these JARs.
For example, a web application returns XML or HTML for browsers to render.