Serv Let
Serv Let
client -> request -> server -> response is generated at runtime -> response is sent
to the client
Disadvantages -
1. if number of client increase it takes more time for sending the response
2. Platform dependent for C/C++
advantages of servlet -
- instead of creating new servlet it will make the thread instead of the new
process
- it is platform independent
HTTP requests
1. GET
2. Post
3. HEAD
4. TRACE
5. PUT
6. DELETE
java beans -
it is just a simple class , if some class follows following properties then it is
called a java bean class
1. Public class
2. No argument constructor
3. Data Encapsulation - private data members
4. Getter and Setter
Project -
1. Fetch record in the table Employee table (id ,name, email)
2. intermediate class - Data access object Layer between database and controller
3. com.employee.classes
4. In webapp create jsp files -> index, search , list