Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

EXecuting jar file

Thread view: 
poonam - 12 Aug 2007 16:04 GMT
I am using Sun application server.  what are the necesssary things for
running a "Executable JAR file " returned by server after deploying
the application
Lew - 12 Aug 2007 18:28 GMT
> 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.

Signature

Lew

Roedy Green - 14 Aug 2007 03:18 GMT
>I am using Sun application server.  what are the necesssary things for
>running a "Executable JAR file " returned by server after deploying
>the application
Build a "war" file and drop in it the war file directory.  That is all
there is to it. See http://mindprod.com/jgloss/war.html
To run a jar standalone. see http://mindprod.com/jgloss/jar.html
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.