Showing posts with label java interview Questions. Show all posts
Showing posts with label java interview Questions. Show all posts

J2EE Interview Questions and Answers

0 comments Posted by Unknown at 18:21

PART V

151. What is JavaServer Pages Standard Tag Library (JSTL)

A tag library that encapsulates core functionality common to many JSP applications. JSTL has support for common, structural tasks such as iteration and conditionals, tags for manipulating XML documents, internationalization and locale-specific formatting tags, SQL tags, and functions.

152. What is JAXR client

A client program that uses the JAXR API to access a business registry via a JAXR provider.


153. What is JAXR provider

An implementation of the JAXR API that provides access to a specific registry provider or to a class of registry providers that are based on a common specification.

Read More »

J2EE,J2SE,JAXP Questions

0 comments Posted by Unknown at 18:19

PART IV

101. What is form-based authentication

An authentication mechanism in which a Web container provides an application-specific form for logging in. This form of authentication uses Base64 encoding and can expose user names and passwords unless all connections are over SSL.

102. What is general entity

An entity that is referenced as part of an XML document's content, as distinct from a parameter
entity, which is referenced in the DTD. A general entity can be a parsed entity or an unparsed entity.

103. What is group

An authenticated set of users classified by common traits such as job title or customer profile. Groups
are also associated with a set of roles, and every user that is a member of a group inherits all the
roles assigned to that group.

Read More »

J2EE Interview questions and answers

0 comments Posted by Unknown at 18:17
PART III


61. What is declaration

The very first thing in an XML document, which declares it as XML. The minimal declaration is . The
declaration is part of the document prolog.

62. What is declarative security

Mechanisms used in an application that are expressed in a declarative syntax in a deployment descriptor.

63. What is delegation
Read More »

J2EE Interview questions and answers

0 comments Posted by Unknown at 18:15

PART-III
81. What is EJB object

An object whose class implements the enterprise bean's remote interface. A client never references an enterprise bean instance directly; a client always references an EJB object. The class of an EJB object is generated by a container's deployment tools.

82. What is EJB server

Software that provides services to an EJB container. For example, an EJB container typically relies on a transaction manager that is part of the EJB server to perform the two-phase commit across all the participating resource managers. The J2EE architecture assumes that an EJB container is hosted by an EJB server from the same vendor, so it does not specify the contract between these two entities. An EJB server can host one or more EJB containers.

  
83. What is EJB server provider

A vendor that supplies an EJB server.
Read More »

java vs xml questions

0 comments Posted by Unknown at 18:15

PART-II

33. What is callback methods

Component methods called by the container to notify the component of important events in its life cycle.

 34. What is caller

Same as caller principal.

35. What is caller principal

The principal that identifies the invoker of the enterprise bean method.

36. What is cascade delete

A deletion that triggers another deletion. A cascade delete can be specified for an entity bean that has
container-managed persistence.

37. What is CDATA

A predefined XML tag for character data that means "don't interpret these characters," as opposed to
parsed character data (PCDATA), in which the normal rules
Read More »

keywords in java

0 comments Posted by Unknown at 18:13

HCL interview Questions Part 5           

            Is Empty .java file a valid source file?
            Can a .java file contain more than one java classes?
            Is String a primitive data type in Java?
            Is main a keyword in Java? 
            Is next a keyword in Java?
            Is delete a keyword in Java?
            Is exit a keyword in Java?
Read More »

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 »

Java Depth Interview Questions and Answers

0 comments Posted by Unknown at 16:59


HCL Interview Questions-Part 3


  1. Are the imports checked for validity at compile time? e.g. will the code containing an import such as java.lang.ABCD compile?
  2. Does importing a package imports the subpackages as well? e.g. Does importing com.MyTest.* also import com.MyTest.UnitTests.*? 
  3. What is the difference between declaring a variable and defining a variable?
  4. What is the default value of an object reference declared as an instance variable? 
  5. Can a top level class be private or protected?
  6. What type of parameter passing does Java support?
  7. Primitive data types are passed by reference or pass by value?
Read More »

Java Depth Interview Questions and Answers

0 comments Posted by Unknown at 16:30

HCL Interview Questions Part-2

What if the main method is declared as private?

What if the static modifier is removed from the signature of the main method?

What if I write static public void instead of public static void?
What if I do not provide the String array as the argument to the method?
What is the first argument of the String array in main method?
Read More »

Java depth Interview Questions and Answers

3 comments Posted by Unknown at 03:23

HCL Interview  Questions-part 1

  What is the difference between an Interface and an Abstract class?

  What is the purpose of garbage collection in Java, and when is it used?  

  Describe synchronization in respect to multithreading.

  Explain different way of using thread?  

  What are pass by reference and passby value?

  What is HashMap and Map?

  Difference between HashMap and HashTable?

Difference between Vector and ArrayList?

  Difference between Swing and Awt?
Read More »

J2EE Interview questions and answers

2 comments Posted by Unknown at 18:32

PART-I

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.
Read More »
 

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

Home | About | Top