2^16 bytes - size of TCP header
Application Layer
data which an application wants to send and passed onto the transport layer
Presentation
Application layer: Data Presentation layer: Data Session layer: Data Transport layer: Segment (TCP) or Datagram (UDP) Network layer: Packet Data Link layer: Frame Physical layer: Bit
with single programming language we cannot do anything on the internet. Actually every application in java is divided into three layers. Presentation layer, Application layer, Data layer. Every layer has its own specification. Presentation layer role is to interact with client means presentation layer takes input from the user and send it to Application layer. Application layer is a business logic layer. All the logic is done in this layer. Data layer contains the data. for example:- suppose user enters student no. and student name in presentation layer, from here the data is send to application layer. In application layer we can write the logic for inserting, deleting, retriving and modifying the user data in database. From here the controller goes to datalayer to fetch data from database and sends the data back to user then the user see the corresponding data in the presentation layer. For presentation layer: html, jsp, velocity etc are used. For application layer: ejb, hibernate....... for data layer: oracle.......
Physical layer
All people seem to need data processing, or Please do not through sausage pizza away Application, presentation, session, transport, network, data link, and physical. or Physical, data link, network, transport, session, presentation, and Application.
Application Layer
7. Application Layer - Data 6. Presentation Layer - Data 5. Session Layer - Data 4. Transport Layer - Segments 3. Network - Packet 2. Data Link - Frame 1. Physical - Bit
business application
The Presentation layer must make certain that the format of the data will be understandable by the Application layer. This includes the use of encryption, compression, different graphics formats, etc. It uses a technique known as Portable Data Representation that allows data from different hardware to be able to communicate.
Ping