Servlets and JSP Pages Best Practices
Java Servlet technology and JavaServer Pages (JSP pages) are server-side technologies that have dominated the server-side Java technology market; they've become the standard way to develop commercial...
View ArticleServlets interview questions and answers
Q. How do you get your servlet to stop timing out on a really long database query? A. There are situations despite how much database tuning effort you put into a project, there might be complex queries...
View ArticleSecuring AJAX Servlets in JBoss Portal
Before the Portlet 2 specification (JSR286), the recommended method for adding AJAX functionality to a JSR168 portlet was to deploy an additional servlet to the portal server (either inside the same...
View ArticleServlet JSP Communication
The above line is essence of the answer for “How does a servlet communicate with a JSP page?” When a servlet jsp communication is happening, it is not just about forwarding the request to a JSP from a...
View ArticleJava-Only | Authenticate and Authorize users with Servlets/JSPs and Hibernate
Authenticate and Authorize users with Servlets/JSPs and Hibernate A tutorial on how to authenticate and authorize users using Servlets/JSPs and Hibernate When we are developing web applications we...
View ArticleUpload CSV file into MySql Database based on columns using Servlets and Java
The CSV file is having multiple values to insert in perticular columns and rows in mysql database. Basically these two are to upload the questions and answers into the examination portal to upload...
View Article30 Important Servlets Interview Questions with Answers ~ Java Stuff
1. What is a servlet?2. What is the difference between Server and Container?3. What are the uses of Servlets?4. Why to use Servlet ?5. How does HTTP Servlet handle client...
View ArticleImprove your life Through Science and Art: JPA: 2 ways to get...
In Thread-safety when injecting EntityManager post, I wrote about the danger of using field/setter injection to get EntityManager in servlets and compares container-managed EntityManager vs...
View Article