Showing posts with label tuffest Q. Show all posts
Showing posts with label tuffest Q. Show all posts

Finally,Exceptions java questions

0 comments Posted by Unknown at 18:10

Hcl Interview Questions Part 4

           Does Java provide any construct to find out the size of an object?
            Give a simplest way to find out the time a method takes for execution without using        anyrofiling tool?
            What are wrapper classes?
            Why do we need wrapper classes? 
            What are checked exceptions?
            What are runtime exceptions?
            What is the difference between error and an exception??
            How to create custom exceptions?
Read More »

Jboss Interview questions and answers

0 comments Posted by Unknown at 16:02
I m working in eclipse. whenever i do a change i have to deploy again and it takes 4-5 minutes. is thr a way sothat i have to compile only that file which has been modified. I use apache ant for building project.i use spring as a framework and jboss as a web server.



I am interested in performance, Swing, Hibernate, jBoss, log4j, Derby, generics, patterns, cool code, Eclipse templates and plugins, tutorial to new features, good OOP design. 



i am using spring with hibernate for persistance,get error getHibernateTemplate().save()

Read More »

Most important j2ee questions

0 comments Posted by Unknown at 18:52

1. What is J2EE?J2EE is an environment for developing and deploying enterprise applications. The J2EE platform consists of a set of services, application programming interfaces (APIs), and protocols that provide the functionality for developing multitiered, web-based applications.



2. What is the J2EE module?
A J2EE module consists of one or more J2EE components for the same container type and one component deployment descriptor of that type.

3. What are the components of J2EE application? 
A J2EE component is a self-contained functional software unit that is assembled into a J2EE application with its related classes and files and communicates with other components. The J2EE specification defines the following J2EE components:
Application clients and applets are client components.
Java Servlet and JavaServer PagesTM (JSPTM) technology components are web components.
Enterprise JavaBeansTM (EJBTM) components (enterprise beans) are business components.
Resource adapter components provided by EIS and tool vendors.4. What are the four types of J2EE modules?




1. Application client module

2. Web module
3. Enterprise JavaBeans module
4. Resource adapter module

5. What does application client module contain? 
The application client module contains:
--class files,
--an application client deployment descriptoor.
Application client modules are packaged as JAR files with a .jar extension.6. What does web module contain?The web module contains:
--JSP files,
--class files for servlets,
--GIF and HTML files, and
--a Web deployment descriptor.
Web modules are packaged as JAR files with a .war (Web ARchive) extension.
Read More »

HR hibernate Interview Questions

0 comments Posted by Unknown at 18:29

What is component mapping in Hibernate?
  • A component is an object saved as a value, not as a reference
  • A component can be saved directly without needing to declare interfaces or identifier properties
  • Required to define an empty constructor
  • Shared references not supported
Read More »

Java tuff Questions And Answers

0 comments Posted by Unknown at 03:26

Tcs Java Questions

What is the Collections API?

What is the List interface? 

What is the Vector class?

What is an Iterator interface? 

Which java.util classes and interfaces support event handling?
Read More »
 

© 2011. All Rights Reserved | Interview Questions | Template by Blogger Widgets

Home | About | Top