Results 1 to 5 of 5
Thread: What is server?
- 08-28-2008, 05:37 AM #1
Member
- Join Date
- Aug 2008
- Posts
- 2
- Rep Power
- 0
- 08-28-2008, 06:22 AM #2
A server is a computer that serves stuff.
Can you be more specific? There are zillions of types of servers.
You can execute the code in a jar file using a JRE (Java Runtime Environment) which you can download for free from java.sun.com
- 08-28-2008, 06:49 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Between the stuff talking about here, there is no any connection.
Server is a machine(a PC) where we locates resources to serve others.
jar is a Java deployment package. To run a jar file you need a JRE(Java Runtime Environment). You can download it from the SUNs' official web site. To run a jar file on the command prompt use the following command.
But there you should set the class path to the jar executing folder.Java Code:java -jar your_jar_file
- 08-28-2008, 07:14 AM #4
Hi,
Are you asking a general server or some server like Jboss or Tomcat where we deploy our applications?
And for running application without using servers like Jboss or Tomcat is possible using the command mentioned by Eranga.To finish sooner, take your own time....
Nivedithaaaa
- 08-28-2008, 08:52 AM #5
Member
- Join Date
- Jul 2008
- Posts
- 35
- Rep Power
- 0
Basically server is piece of software that runs and serves resources/responses if there is any request. E.g. if you run tomcat server then it stays and waits for any requests to come. That request(s) always come from browser and after receiving the request, tomcat processes the requests and serves appropriately.
I think I am pretty much clear about the server concepts. Please let me know if you have any other questions.New to Java/PHP/Javascript development?
For free help go to- www.techcubetalk.com
Similar Threads
-
SQL Server
By Ganeshag777 in forum JDBCReplies: 1Last Post: 01-12-2009, 03:37 PM -
Does any file in an FTP server ends up in an HTTP server?
By islamfunny in forum CLDC and MIDPReplies: 4Last Post: 08-15-2008, 04:30 PM -
Web-App server connection - How to hit the particular app server from the web server
By maruthi_s in forum Enterprise JavaBeans (EJB)Replies: 2Last Post: 07-15-2008, 06:11 PM -
One server to another server redirection
By chaudhuri_abhi in forum Java ServletReplies: 1Last Post: 02-11-2008, 07:05 PM -
WAS Server
By Albert in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 06-25-2007, 05:38 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks