Introduction Testing is a vital phase in any software application and software cannot be complete if it is not completely tested. Unit Testing allows individual software components to be tested completely whereas Integration Testing ensures that multiple components in a system works fine. In this article, we will see the support given by Spring framework [...]
Archive | August, 2010
G1 Garbage Collector in Java 7.0
August 28, 2010
Garbage Collection in Earlier versions Java 1.5 The major enhancements in Java 1.5 Garbage Collector (GC) has changed from the previous serial collector (-XX:+UseSerialGC) to a parallel collector (-XX:+UseParallelGC). You can override this default by using the -XX:+UseSerialGC command-line option to the java command. Enormous changes have made to the heap size.Before J2SE 5.0, the [...]
Transaction Management in Spring Framework
August 28, 2010
Introduction Transaction management is critical in any form of applications that will interact with the database. The application has to ensure that the data is consistent and the integrity of the data is maintained. There are many popular data frameworks like JDBC, JPA, Hibernate etc.. and Spring Framework provides a seamless way of integrating with [...]
Spring and JMX Integration
August 25, 2010
Introduction In this article we will see how to integrate JMX with Spring. This article assumes that the reader has a basic understanding on Spring and JMX. We will initially explore a sample on JMX written without the support of Spring, then will learn the dis-advantages in using so. Later we will see how to [...]
Introduction to Spring JDBC Framework
August 17, 2010
Introduction In this article, we will see how to interact with the database through JDBC APIs using Spring framework. Spring’s JDBC framework integration simplifies the task of resource management like closing connection, statement, resultset etc, complex exception handling, providing reusable object oriented access towards database operations. Spring JDBC framework Example Code Jdbc Template Usage also [...]
Weblogic Interview Questions
August 8, 2010
Weblogic Interview Questions – 1 1)How do I provide user credentials for starting a server? When you create a domain, the Configuration Wizard prompts you to provide the username and password for an initial administrative user. If you create the domain in development mode, the wizard saves the username and encrypted password in a boot [...]
JBoss Seam Interview Questions
August 5, 2010
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 [...]
JVM,JRE,Java Compiler Interview Questions
August 5, 2010
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
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
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 [...]






August 30, 2010
0 Comments