Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Difference between javaBeans and Enterprise JavaBeans?



Difference between javaBeans and Enterprise JavaBeans?..

Answer / raji

1. JavaBeans may be visible or nonvisible at runtime.For
example, the visual GUI component may be a button,list
box,graphic or a chart.
An EJB is a nonvisual ,remote object.
2. JavaBeans are intended to be local to a single process
and are primarly intended to run on the client side.Although
one can develop server-side JavaBeans,it is far easier to
develop them using the EJB specification instead.
EJB's are remotely executable components or business
objects that can be deployed only on the server.
3. JavaBeans is a component technology to create generic
Java components that can be composed together into applets
and applications.
Even though EJB is a component technology,it neither
builds upon nor extends the original JavaBean specification.
4.JavaBeans have an external interface called the properties
interface, which allows a builder tool to interpret the
functionality of the bean.
EJBs have a dployement descriptor that describes its
functionality to an external builder tool or IDE
5.JavaBeans may have BeanInfo classes,property editors or
customizers
EJB's have no concept of BeanInfo classes,property
editors or customizers and provide no additional information
other than that described inthe deployment descriptor.

6. JavaBeans are not typed.
EJBs are of two types - session beans and entity beans.
7. No explicit support exists for transactions in javaBeans.

EJB's may be transactional and the EJB servers provide
transactional support.

8. Component bridges are available for JavaBeans.For ex: a
javabean can also be deployed as an Activex control.
An EJB cannot be deployed as an ActiveX control because
ActiveX controls are intended to run at the desktop and
EJB's are server side components.However CORBA-IIOP
compatibility via the EJB-to-CORBA mapping is defined by the
OMG.

Is This Answer Correct ?    82 Yes 10 No

Post New Answer

More EJB Interview Questions

Explain what is an EJB Context?

0 Answers   BirlaSoft,


What is the difference between Session bean and Entity bean?one?

0 Answers  


Write down the steps for the creation of stateless ejb.

0 Answers  


in EJB diclare the static methods are not?

0 Answers   iGate,


What is ejb and how it works?

0 Answers  


What is enterprise bean provider?

0 Answers  


java doesnot support multiple inhetance. but a interface can support.how the ambiguities are rectified in interfaces?

3 Answers  


why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface

0 Answers   Polaris,


What is stateless session bean?

0 Answers  


What is the difference between ejbcreate() and ejbpostcreate?

0 Answers  


Is success EJB3.0 in the Market? IF yes just explain main differences between EJB2.0 and EJB3.0.

1 Answers   ITC Infotech,


What are the attributes of transaction in ejb?

0 Answers  


Categories