Please be sure to take the time to compose descriptive subjects for your posts. You will attract people who will can give you better and faster answers when your posts have good, descriptive subjects. For more information, please click this link ⇒ UseAMeaningfulSubjectLine.
Using a title such as you have isn't going to attract the attention of those who can best help you.
You can change your subject line by clicking the button on your post.
Vineet Mangal wrote:there is no such thing that as Controller, however you can design a Stateless Session bean to behave like Controller.
So there actually *is* such a thing as a controller? :-)
A controller is a pattern that could occur in any one of the various architecture layers, but the most common one is probably the "C" in "MVC" than is often found in the front end of a web app. That's probably what you're asking about, since you posted in the Servlets forum. This article may bring about some clarity: http://www.javaranch.com/journal/200603/Journal200603.jsp#a5
Joined: Oct 28, 2007
Yeah I do agree that there is no such thing exists as Controller, but many a times Servlet is being used as controller and hence many newbies corelate two terms.