This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes servlet is middleware ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet is middleware ?" Watch "servlet is middleware ?" New topic
Author

servlet is middleware ?

mark stone
Ranch Hand

Joined: Dec 18, 2001
Posts: 417
is rmi and servlet middleware ?
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
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.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
mark stone
Ranch Hand

Joined: Dec 18, 2001
Posts: 417
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: servlet is middleware ?