GeekInterview.com
Series: Subject: Topic:

EJB FAQ

Showing Questions 1 - 20 of 69 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Heavy weight and light weight

Asked By: vinayak_chennai | Asked On: Nov 11th, 2008

Why is ejb2.X considered as heavy weight and ejb3.0 is considered as light weight?What you mean by heavy/light weight? How it affects the performance of server?

Answered by: Srinivas Nalla on: Jan 18th, 2012

EJB 3.0 is not really light-weight. EJB 3.0 differs from its earlier versions in terms of development and NOT performance. Using pojos and annotations, unwanted method implementations and deployment d...

Answered by: Srinivas Nalla on: Jan 18th, 2012

EJB 3.0 is not really light-weight. EJB 3.0 differs from its earlier versions in terms of development and performance. Using pojos and annotations, unwanted method implementations and deployment descr...

What is the difference between ejb2.0 and ejb3.0 and I reviewed in net that ejb 3.0 using pojo(plain old Java objects) what is pojoi want the reply for this

Asked By: kiran | Asked On: Oct 29th, 2005

Answered by: Satish gupta on: Oct 29th, 2011

we have to make remote interface using @Remote in an ejb3 application

Answered by: Satish gupta on: Oct 29th, 2011

using ejb2 framework application provides the business layer logic's in distributive and secured manner but it is little bit heavy weighted and complex, so to reduce its complexity and to overcome the...

Need of ejb

Asked By: ganesh_chormule | Asked On: Dec 8th, 2008

What is the need of ejb?

Answered by: Satish gupta on: Oct 29th, 2011

a business application consist of different-different layers like 1) User Interface development 2) Business logics development 3)database operation development EJB is used for Business logics develo...

Answered by: Abhishek on: Oct 13th, 2011

EJB : It provides another layer where the platform's logic is stored. an EJB server provides functions such as Threading , concurrency , security and memory that(all of them ) is not provided by other container like tomcat so we need a EJB container.

Web module

Asked By: Ananda_Nayek | Asked On: Nov 10th, 2010

What are the contents of a web module?

Answered by: Satish gupta on: Oct 29th, 2011

a small unit of a web resource which can be deploy, can be used in our application is a web module.

for our banking or any other business application J2EE platform is a web module.

Jms queue connection

Asked By: nsrinusetty | Asked On: Jul 1st, 2010

How to make the connection to jms queue using ejb 3.0, weblogic 10.3

Business method request

Asked By: opbehera | Asked On: Feb 24th, 2010

How to find who has given request (caller) to business method of your application(slsb)

How can we update a row in the db using entity bean?

Asked By: rajani | Asked On: Jul 31st, 2007

Answered by: uppulafaq on: Jan 20th, 2010

Yes, we can update a row using entity bean.
ejbStore() will do that.
in BMP you have to write code to update the row.

Comparison between ejb2.0 and ejb3.0

Asked By: Savitha_BM | Asked On: Nov 16th, 2005

Answered by: am577 on: Dec 27th, 2009

The deployment descriptors are no longer required; everything can be accomplished using metadata annotations. The CMP (Container Managed Persistence) has been simplified; it is now more l...

Answered by: thomaskm on: Apr 27th, 2007

The major differences i have seen between EJB 2.x and EJB 3.0 versions are as follows :- 1). Removal of home interface enabled simple lookup process in ejb 3.0 2). EJB deployment descriptors are not r...

Blob & clob

Asked By: ponnit | Asked On: Apr 22nd, 2009

What is the expansion for blob & clob?

Answered by: myogeshchavan97 on: Jul 31st, 2009

Blob Stands for Binary Large Object.

Clob Stands for Character Large Object.

Answered by: itsvenuhere on: Jul 28th, 2009

BLOB: Binmary Large Object
CLOB: Character Large Object

Both of these are used to store large amounts of data.

Metadata annotation

Asked By: vinayak_chennai | Asked On: Nov 11th, 2008

What is metadata annotation?How it is useful in ejb 3.0?

Map entity bean field with Oracle

Asked By: desh12345 | Asked On: Oct 8th, 2008

How to map the entity bean field with Oracle?

Jndi

Asked By: anubandhan | Asked On: Apr 8th, 2008

Why is jndi used.Do we have any alternative for jndi?

Portableremoteobject.Narrow()

Asked By: supari | Asked On: Mar 18th, 2008

What is the purpose of the call to portableremoteobject.Narrow()?

Answered by: supari on: Mar 19th, 2008

i know its related to some CORBA purposes, but i need some explanation

Explain the need and usage of node manager in Java

Asked By: svdurgarao | Asked On: Nov 6th, 2007

Ejb local and home interfaces

Asked By: svdurgarao | Asked On: Nov 6th, 2007

Is there any special reason to write two interfaces in ejb(local , home interfaces ). Why don't we write only one interface .

Deployment descriptor

Asked By: svdurgarao | Asked On: Nov 6th, 2007

Why do we require to write a deployment descriptor (ejb-jar.Xml) in an XML format ? Why don't we write it in a Java file ?

What is jms and message driven bean. Explain with some examples.

Asked By: questioninterest | Asked On: Aug 15th, 2006

Answered by: bharanikumariyer on: Jun 23rd, 2007

message driven is like printer,
it wont get reply from destination

How to deploy ejb 3.0 on weblogic

Asked By: swapnamarri | Asked On: May 29th, 2007

How ejp aplication communicate with JSP or servlet

Asked By: vemodharak | Asked On: Sep 17th, 2005

Answered by: Tamil Selvan on: May 28th, 2007

To access a servlet/jsp from EJB create a URL and call its openStream() method.URL google = new URL("http://www.google.com/"); BufferedReader in = new BufferedReader(new InputStreamReader(go...

Answered by: ArulJothi on: Sep 18th, 2005

JSP or Servlet can communicate with EJB by giving the jndi name of that EnterpriseJavaBean in the lookup method of InitialContext.It will return a reference for the home interface of EJB.

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.