Archive | August 5th, 2010

JBoss Seam Interview Questions

August 5, 2010

0 Comments

Q: What version of JBoss AS do I need to run Seam? A: For Seam 1.3: Seam was developed against JBoss 4.2. Seam can still be run against JBoss 4.0. The seam documentation contains instructions for configuring JBoss 4.0. A: For Seam 1.2: Since Seam requires the latest edition of EJB3, you need to install [...]

email

JVM,JRE,Java Compiler Interview Questions

August 5, 2010

0 Comments

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

August 5, 2010

0 Comments

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

August 5, 2010

2 Comments

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

August 5, 2010

0 Comments

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

August 5, 2010

0 Comments

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 1. add a host entry in the server.xml file 1 <Host appBase="www/appBase" name="www.myhostname.com"/> 2. Create the the following file under conf/Catalina/www.myhostname.com/ROOT.xml [...]

Apache Ant Interview Questions

August 5, 2010

0 Comments

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

August 5, 2010

0 Comments

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

August 5, 2010

0 Comments

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

August 5, 2010

0 Comments

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 [...]