JVM,JRE,Java Compiler Interview Questions

JVM,JRE,Java Compiler FAQs-1 1)How can I write a program that takes command line input? A: Java programs that take input from the command line declare a special static method called main, which takes a String array as an argument and returns void. The example program below loops through any arguments passed to the program on […]

Tapestry Interview Questions and FAQs

Jakarta Tapestry Interview Questions and FAQs – 1 1. How does Tapestry compare to other frameworks? Tapestry is very much unlike most other frameworks in that it doesn’t use code generation; instead it uses a true component object model based on JavaBeans properties and strong specifications. This gives Tapestry a huge amount of flexibility and […]

Java Threads Interview Questions

Java Threads Interview Questions – 1 1)What is threaded programming and when is it used? Threaded programming is normally used when a program is required to do more than one task at the same time. Threading is often used in applications with graphical user interfaces; a new thread may be created to do some processor-intensive […]

Groovy Interview Questions and FAQs

Groovy Interview Questions and FAQs – 1 What is Groovy? Groovy is a powerful high level language for the Java platform which compiles down to Java bytecode. Think of it as a Ruby or Python like language that is tightly integrated with the Java platform – allowing you the same powerful and concise coding syntax […]

Tomcat Interview Questions

Tomcat Interview Questions – 1 How do you create multiple virtual hosts? If you want tomcat to accept requests for different hosts e.g., www.myhostname.com then you must 0. create ${catalina.home}/www/appBase , ${catalina.home}/www/deploy, and ${catalina.home}/conf/Catalina/www.myhostname.com add a host entry in the server.xml file Create the the following file under conf/Catalina/www.myhostname.com/ROOT.xml Add any parameters specific to this […]

Apache Ant Interview Questions

Apache Ant Interview Questions – 1 1)What is ant? Ant is a small animal who can build magnificent buildings. Ant builds! ANT is a Java based building tool, which is similar to make, and so much better than make. ANT, what a smart name for a building tool, even the original author of ANT, James […]

Quartz Interview Questions

What is Quartz? Quartz is a job scheduling system that can be integrated with, or used along side virtually any other software system. The term “job scheduler” seems to conjure different ideas for different people. As you read this tutorial, you should be able to get a firm idea of what we mean when we […]

Cobertura Interview Questions

Cobertura Interview Questions -1 Where does the name “Cobertura” come from? “Cobertura” is the Spanish and Portuguese word for “coverage.” We were trying to avoid acronyms and coffee references. It’s not too hard to associate the word “cobertura” with the word “coverage,” and it even has a bit of a zesty kick to it! What […]

Struts Interview Questions

Struts Interview Questions and FAQs – 1 Q:What is Struts? A:The core of the Struts framework is a flexible control layer based on standard technologies like Java Servlets, JavaBeans, ResourceBundles, and XML, as well as various Jakarta Commons packages. Struts encourages application architectures based on the Model 2 approach, a variation of the classic Model-View-Controller […]

How to send EMail using Spring Framework?


Introduction In this article, we will see how to use Spring’s capability for sending email. The first section of the article deals with sending plain text email content with the help of Spring’s Mail Sender and Mail message classes with the help of a sample application. The latter half of the article deals with sending […]