Java Networking
PROTOCOL:
set of rules to commuincate b/w two partiesn
CLIENT:
sending a request through browser
QUERYSTRING:
Syntax: service_protocolName://IPAddress of server:PortNo/Reource_Name
service_protocolName--> HTTP protocol
IPAddress of server-->server address
PortNo--> Port ID
eg-->> [Link] i.e.(QueryString)
----> ye ek static page h isko dynamic banna h
http--> ye ek organization h jiske through html
kam kr rha h
[Link] -----> dynamic querystring
(ye hme url se pta lgta h ye dynamic h kuki isme userid or pass agya mtlb jb hm
kisi page pr login krenge to ye vala url ata h to mtlb yw dynmic hoga)
From Client--> Server Communition
there are 7 methods:
1)Get------->> will be used by java developer to communicate with WebApp
2)post------>>will be used by java developer to communicate with WebApp
3)head
4)put
5)delete
6)options
7)trace
WORKS:-->
Get --->> small amount of information pass to server
Eg: Delhi--------->Bengaluru
Post --->> large volume of data requested
Eg: Resume Upload