File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt on port in HFSJ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt on port in HFSJ" Watch "Doubt on port in HFSJ" New topic
Author

Doubt on port in HFSJ

Veena Pointi
Ranch Hand

Joined: Jun 20, 2002
Posts: 442
In HFSJ,onpage 21,page discusses about port.I had a question.They say port is 16 bit number that identifies software programme running on the server.For example port 80 identifies HTTP software that runs on server.They also gave "Using one server spp per port,a server can have up to 65536 different server apps running.although it is possible to run more than one app on the same port if the apps use different protocols)" Does this mean HTTP softare that is running on port 80 can be configured to accept different protocol?Can anybody please explain elaborately what does sentence in bold mean?

This may not be important exam point of view.But was just curious about understanding the port concept!

Thanks
Veena


SCJP1.4
"Continuous effort - not strength or intelligence - is the key to unlocking our potential."
*Winston Churchill
amit taneja
Ranch Hand

Joined: Mar 14, 2003
Posts: 810
ya i am also interested to know the above query >>..

regards


Thanks and Regards, Amit Taneja
Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026

Although it is possible to run more than one app on the same port if the apps uses different protocols


Yes this is TRUE.

Consider ServletRequest and ServletResponse. Servlet spec has these interfaces keeping in mind that some one might develop application that doesn't uses HTTP Protocol.

So the application is developed using servlet technology thats running in port 80 but might use a different protocol.


Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt on port in HFSJ