Re: EXecuting jar file



poonam wrote:
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.

--
Lew
.



Relevant Pages

  • Re: Netbeans, the classes in lib directory are not available
    ... "Andrew Thompson" wrote in message ... > Various people have noted that the server container ... It sounds like he's having a NetBeans classpath issue. ... JARs must be mounted in NetBeans to be on the project classpath. ...
    (comp.lang.java.help)
  • Re: J2EE JBoss und Sun AppServer
    ... Denn, beim JBoss reicht es, die JARs und WARs auf den Server zu kopieren ...
    (de.comp.lang.java)
  • Re: Reducing jar dependencies?
    ... look into ant genjar. ... What you can do is tell genjar the root class for the client and ... server jars and it will collect all the dependent classes. ...
    (comp.lang.java.programmer)
  • Jarsigner newbie question
    ... We're using Oracle Jinitiator to load forms/reports. ... One of the jars that gets loaded has to be signed to the server. ...
    (comp.lang.java.help)
  • Jarsigner newbie question
    ... We're using Oracle Jinitiator to load forms/reports. ... One of the jars that gets loaded has to be signed to the server. ...
    (comp.lang.java.programmer)