Showing posts with label j2ee questions. Show all posts
Showing posts with label j2ee 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 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 »

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 »

Hcl solved J2ee questions 2012

0 comments Posted by Unknown at 16:27

  1. What is the difference between procedural and object-oriented programs?- a) In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOP program, unit of program is object, which is nothing but combination of data and code. b) In procedural program, data is exposed to the whole program whereas in OOPs program, it is accessible with in the object and which in turn assures the security of the code.
  2. What are Encapsulation, Inheritance and Polymorphism?- Encapsulation is the mechanism that binds together code and data it manipulates and keeps both safe from outside interference and misuse. Inheritance is the process by which one object acquires the properties of another object. Polymorphism is the feature that allows one interface to be used for general class actions.
  3. What is the difference between Assignment and Initialization?- Assignment can be done as many times as desired whereas initialization can be done only once.
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.

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 »

most Asked j2ee questions

0 comments Posted by Unknown at 18:49

What servlet container and JDK is used in J2EE Public Service?
Apache Tomcat, release 5.5.23 running on Java SDK version 6.

What Servlet/JSP specification versions are supported?
The supported specification versions are: Servlet 2.4 and JSP 2.0.

My webapplication uses EJB, can I host it in the J2EE Public Service?
Apache Tomcat is not an EJB server. It is a Servlet container so EJBs are not supported directly by the J2EE Public Server. 
A solution to use EJBs in the J2EE Public Service is to use OpenEJB. It is a project developed by the Apache Software Foundation which allows to use EJBs with Tomcat server (Tomcat 5 or 6 ). For more information, please visit the project website OpenEJB.
Read More »
 

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

Home | About | Top