Monday, February 27, 2012

Role Of Servlets in J2EE

Role of Servlets in Java Web Applications

If you are learning J2EE and you are confused with what really a servlet does, then let me make you clear that you need to know the concept how information flows through a web browsers to the database and how the applications reacts with the inputs given on the browsers. When you make any request on the client, then first role of the servlet is to accept requests from the client, include appropriate application, solve the request and return the results to the client. Basically it can be understood by assuming that servlets acts like a bridge between web pages displayed on the browsers and Java components and classes that run on application servers. Servlets can be considered as entry or exit points from the web browsers to the application and vice versa.
So it is important to know how servlets work. They are either named or anonymous. Usually named servlets are secured than the anonymous because anonymous servlets gives the package patterns which helps to know the folder pattern.  

0 comments:

Post a Comment

You can Comment here. Please make some reasonable Comments. This Blog is Dofollow so get a backlink as a Gift.
Be Sure you use Name@Keywords
Using Keywords directly may make your comments difficult to get approved.

Twitter Delicious Facebook Digg Stumbleupon Favorites More

Enter your email address: