India,Desi,Discussion Forum Board Astrology, Jobs

Go Back   India,Desi,Discussion Forum Board Astrology, Jobs > Career and Jobs > Interview Tips and Tricks
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-21-2012, 06:18 AM
garga_ram garga_ram is offline
Senior Member
 
Join Date: Mar 2008
Posts: 300
Default Java interview questions

These are some of the questions asked in java interview & technical interview.

1. What is J2EE?

2. What are services J2EE platform include ?

3. What do you understand by a J2EE module?

4. Name the module that J2EE specification specifies ?

5. Explain bean-managed transaction?

6. Name the components of web module?

7. What is binding (XML)?

8. What is caller principal?

9. Define Session Bean ?

10. What is entity bean ?

11. Differentiate between Session Bean and Session Bean.

12. What is Deployment Descriptor?

13. Name the two types of Exceptions?

14.Can a finally block exist with a try block but without a catch?
Reply With Quote
  #2 (permalink)  
Old 01-21-2012, 06:23 AM
ram101 ram101 is offline
Senior Member
 
Join Date: Jun 2007
Posts: 545
Default

1.J2EE is an environment for developing and deploying enterprise applications. J2EE is a Java 2 Enterprise Edition. Its platform is one of the richest platforms for the development and deployment of enterprise applications.

2. The J2EE platform is a set of services, application programming interfaces (APIs), and protocols, which provides the functionality necessary for developing multi-tiered, web-based applications.

3. A J2EE module is a software building block that consists of one or more than J2EE components of the same container type along with one deployment descriptor of that type.

4. J2EE specification specifies four characters of modules:

- Web module
- EJB module
- Resource adapter
- Application client

5. The boundaries which are defined by an enterprise bean is called bean-managed transaction.

6. The components of web module are as following:

- Java classes
- JSP files
- Gif and html files and
- Web component deployment descriptors

7.Generating the code needed to process a well-defined portion of XML data.

8.It is principal that identifies the invoker of the enterprise bean method.

9. Session is one of the EJB and it shows a single client inside theApplication Server.

10. An entity bean represents persistent global data from the database. Entity beans data are stored into database.

11.Stateless session bean is easy to develop and it is efficient. As compare to entity beans session beans need few server resources.

12. A deployment descriptor is simply an XML file with the extension of .xml. Application servers reads the deployment descriptor to deploy the components contained in the deployment unit.

13. Checked Exceptions and Unchecked Exceptions

14.Yes it can exist.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



AddThis Social Bookmark Button
All times are GMT. The time now is 02:35 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0