Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet is middleware ?

 
mark stone
Ranch Hand
Posts: 417
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is rmi and servlet middleware ?
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use a servlet to access a backend database, then yes, it is a middleware between the HTML front end and database backend.
Servlets could be used to implement standalone applications. But most of the time, there is some sort of backend data source and the servlet controls the logic to store and present the data. In this case, the servlet is a middleware.
The same for RMI.
 
mark stone
Ranch Hand
Posts: 417
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks mike. its clear now
Originally posted by Michael Yuan:
If you use a servlet to access a backend database, then yes, it is a middleware between the HTML front end and database backend.
Servlets could be used to implement standalone applications. But most of the time, there is some sort of backend data source and the servlet controls the logic to store and present the data. In this case, the servlet is a middleware.
The same for RMI.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic