Web tier: servlets, JSP, Web frameworks: How to use adapter design pattern and servlet as controller?
- Posted by: James Cheung
- Posted on: May 15 2001 03:25 EDT
Relatively new to J2EE architecture, but it draws a lot of my attentions.
In MVC, people suggest using servlet as centralized controller to receive all the incoming requests, then direct messages/parameters to workflow/business logic. In order to adapt the parameters from views to models, adapter pattern can be used to do the magic.
The idea sounds good, but I don't know the detail and how. I read the adapter design pattern several times, but doesn't help at all. Would any friends shed some lights on this subject to me.
- How to use adapter design pattern and servlet as controller? by Keith McRae on May 15 2001 04:51 EDT
A good introduction to using a servlet as a controller can be found at JavaWorld (http://www.javaworld.com/jw-09-1999/jw-09-servlet.html).