J2EE Interview Questions – Part 2

Click on below link to see part 1 of the J2EE interview questions:  J2EE Interview Questions   Here are the next set of J2EE interview questions & answers.   Difference between HTTPServlet and GenericServlet   GenericServlet is protocol independent. HttpServlet extends GenericServlet and provides support HTTP protocol specific methods like goGet() and doPost().   Difference between […]

J2EE Interview questions – Part 1

HTTP is a stateless protocol. So, how to maintain state between requests in J2ee ?   State can be maintained in following ways: HttpSession Hidden Field URL Rewriting Cookies Hidden fields on the page can maintain state and they aren’t visible on the browser. The downside is they may expose sensitive information. In URL rewriting, […]