Posts

Servlet

Image
What is a Servlet? Servlet can be described in many ways, depending on the context. Servlet is a technology which is used to create a web application. Servlet is an API that provides many interfaces and classes including documentation. Servlet is an interface that must be implemented for creating any Servlet. Servlet is a class that extends the capabilities of the servers and responds to the incoming requests. It can respond to any requests. Servlet is a web component that is deployed on the server to create a dynamic web page. Do You Know? What is the web application and what is the difference between Get and Post request? What information is received by the web server if we request for a Servlet? How to run servlet in Eclipse, MyEclipse and Netbeans IDE? What are the ways for servlet collaboration and what is the difference between RequestDispatcher and sendRedirect() method? What is the difference between ServletConfig and ServletContext interface? How many ways

Apache Tomcat server

Image
Apache Tomcat Tutorial – Index Introduction to Apache Tomcat Installation of Apache Tomcat in Ubuntu Managing Tomcat Starting Tomcat Restarting Tomcat Stopping Tomcat Deploying Web Applications with Apache Tomcat Introduction to Apache Tomcat The Apache Tomcat software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. Apache Tomcat is usually used as a Servlet Container even though Tomcat has a fully functional HTTP Server to serve static content. In most of production, Tomcat is used in conjunction with Apache HTTP Server where Apache HTTP Server attends static content like html, images etc., and forwards the requests for dynamic content to Tomcat. This is because Apache HTTP Server supports more advanced options than that of Tomcat. Latest Apache Tomcat version 8.5 adds support for HTTP/2, OpenSSL for JSSE, TLS virtual hosting and JASPIC 1.1 Components and Features of Apache To

Java Concepts

Image
Java Tutorial Our core Java programming tutorial is designed for students and working professionals. Java is an  object-oriented , class-based, concurrent, secured and general-purpose computer-programming language. It is a widely used robust technology. What is Java Java is a  programming language  and a  platform . Java is a high level, robust, object-oriented and secure programming language. Platform : Any hardware or software environment in which a program runs, is known as a platform. Since Java has a runtime environment (JRE) and API, it is called a platform. Java Example Let's have a quick look at Java programming example. A detailed description of hello Java example is available in next page. class  Simple{        public   static   void  main(String args[]){        System.out.println( "Hello Java" );       }   }   Test it Now Application According to Sun, 3 billion devices run Java. There are many devices where Java is current