Blog Archives
Page 1 of 3
1 2 3

01: 12 Web basics every Java web developer must know

Q1. HTTP is a stateless protocol, so how do you maintain state? How do you store user data between requests?
A1. This is a commonly asked interview question. The “http protocol is a stateless request/response based protocol”. You can retain the state information between different page requests as follows:

HTTP Session.

Read more ›



02: JavaScript mistakes interview Q&As

Q1. What are the common JavaScript errors or bad practices that you have noticed? A1. 1) Not having proper namespaces and not using AMD (i.e. Asynchronous Model Definition) API to modularize the Java code for improved maintainability. … Read more ›...

Members Only Content
Log In Register Home


03: 21+ Java Servlet interview Q&As

Q1. What is a Servlet? Is a Servlet inherently multi-threaded? A1. A Servlet is a Java class that runs within a web container in an application server, servicing multiple client requests concurrently forwarded through the server and the web container. The web browser establishes a socket connection to the host...

Members Only Content
Log In Register Home


04: 7 JSP interview questions and answers

JSF or JavaScript based frameworks like angularjs, ember, etc are more popular than JSPs for web developemnt. Q1. What is a JSP? How does it differ from a Servlet? A1. JSP stands for Java Server Pages. JSP technology extends the Servlet technology, which means anything you can do with a...

Members Only Content
Log In Register Home


06: Web design patterns MVC2, MVP, MVVM & MVW

Q1. What’s wrong with Servlets? What is a JSP? What is it used for? What do you know about model 0 (aka MVC0), model 1 (aka MVC1) and model 2 (aka MVC2) patterns? In “model 2” architecture, if you set a request attribute in your JSP, … Read more ›...

Members Only Content
Log In Register Home


Page 1 of 3
1 2 3

800+ Java Interview Q&As Menu

Top