Skip to main content

Posts

Showing posts with the label Servlet

Life-Cycle of Servlet - Java J2EE

What Is the Life-Cycle of Servlet? A Servlet life-cycle can be defined as the entire process from its creation till the destruction. The Stages of the Servlet Life Cycle : 1.        Servlet is loaded 2.        Servlet is instantiated 3.        Servlet is initialized 4.        Service the request 5.        Servlet is destroyed Source - (http://www.javachain.com/servlet-life-cycle/) For more questions on servlet programming...

Groovy Interview Questions and Answers

What Is Groovy? Groovy is fully object oriented programming language for JVM - Java Virtual Machines and used to combine Java modules, to write Java application and to extend existing Java application. Groovy is a powerful high level language for the Java platform which compiles down to Java byte-code. Groovy is Java syntax compatible and is from Apache family of software. Why You Use Groovy? Groovy has a rich stock of Java Libraries and easily integrate with your existing infrastructure like – 1.       Servlet Containers 2.       App Servers 3.       Loads of databases with JDBC drivers 4.       Completely Object Oriented Groovy can be used both as a programming language and as a scripting language. It has efficient object navigation, Literal declaration for maps, arrays, ranges and regular expressions, and Operators can be overloaded. What are the Depend...