How can a servlet refresh automatically if some new data
has entered the database?

Answer Posted / rajesh r

Automatic Database synchronization is not possible in
SERVLETS

we need to code for that manually..

In EJB entity Bean CMP , db sync in possible.

Thanks
Rajesh
Rajeshr1988@gmail.com

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What exactly is a servlet?

537


Why is a constructor needed in a servlet even if we use the init method?

598


What is load-on-startup in servlet?

580


Write a command to get actual path of a servlet to the server?

535


What is lazy loading and what is Generic Servlet Class?

603






How does java thread pool work?

540


When servlet object is created?

594


What are the disadvantages of storing session state in cookies?

625


How will you pass values from HTML page to the servlet?

550


What are the uses of servlet and what is servlet chaining?

557


How do you design microservices?

619


Can you refresh servlet in client and server-side automatically?

610


What is the difference between the servlets and cgi programs?

543


Can filter be used as request or response?

540


Explain the servlet filter.

538