Diffrent EJB & Java Bean



Share on Google+Share on Google+

Pradip Dutta
Diffrent EJB & Java Bean
1 Answer(s)      8 years ago
Posted in : EJB
View Answers

January 5, 2009 at 10:45 PM

Hi friend,

A Java Bean is a software component written in the Java programming language that conforms to the JavaBeans component specification. The JavaBeans APIs became part of the "core" Java APIs as of the 1.1 release of the JDK.

The JavaBeans specification defines a Java-based software component model that adds a number of features to the Java programming language. Some of these features include:

* introspection
* customization
* events
* properties
* persistence

Enterprise JavaBeans (EJBs) are Java-based software components that are built to comply with Java's EJB specification and run inside of an EJB container supplied by a J2EE provider. An EJB container provides distributed application functionality such as transaction support, persistence and lifecycle management for the EJBs.

Java Beans and EJBs are used for different purposes altogether, though both specifications are provided by Sun micro Systems. Java Beans are mainly meant for building extendable components and typically contain getters and setters for all its data members, along with other required functionality. EJBs are server side programs that typically implement middle layer business functionality, providing 3 - layer architecture for applications. EJBs can be Entity,Session or Message depending on the required functionality. Most of the critical services are provided by EJB containers and thus allowing the programmmer to concentrate on the business logic on hand.


Visit for more information.





Related Tutorials/Questions & Answers:
Diffrent EJB & Java Bean - EJB
Diffrent EJB & Java Bean  What is Different between EJB & Java Bean?  Hi friend, A Java Bean is a software component written...-based software components that are built to comply with Java's EJB specification
java bean - EJB
protocol where as Java Bean is standalone and works only in the same JVM. 3)EJB...java bean  difference between java bean and enterprice java bean  first of all dont compare java bean with enterprise java bean because
java bean code - EJB
java bean code  simple code for java beans  Hi Friend, Java Beans are reusable components. They are used to separate Business logic from.... Java Bean Code: public class EmployeeBean{ public int id; public
EJB, Enterprise java bean- Why EJB (Enterprise Java Beans)?
Why EJB (Enterprise Java Beans)?        Enterprise Java Beans or EJB for short is the server-side component architecture for the Java 2 Platform
Introduction To Enterprise Java Bean(EJB). WebLogic 6.0 Tutorial.
  Introduction To Enterprise Java Bean(EJB) Enterprise Java Bean architecture is the component... component-based distributed application using the java language. EJB
Ejb message driven bean
you the process which are involved in making a message driven bean using EJB. Mesaage driven bean in EJB have the following features:- 1) is a JMS listener...; For developing the message driven bean we are using both the EJB module and web
java - EJB
an application by an example that contains a session bean and a CMP but not able to understand the flow between diffrent kind of packages and modules. Pls reply.  Hi mona, A session bean is the enterprise bean that directly
Input in Stateless Bean - EJB
Input in Stateless Bean  Hello, I am having problem in taking the input in stateless bean, when I am trying to get integer or double type input from the user in the client file, It shows me the error
Stateless Bean - EJB
Stateless Bean  Hi everybody, I m encountring a problem in stateless bean. I have taken a Integer type input in Client file, at the time of running the program it gives error java.lang.NumberFormatException : null. Please
Cmp Bean - EJB
Cmp Bean   I want to create connection pool in admin console in sun app server the data base is sql server, I gave the resource type is javax.sql.DataSource, and the datasource class name is came automatically called
java EJB - EJB
java EJB  Please, Tell me the directory structure of EJB applications and how to deploy ejb on glassfish server
ejb  what is ejb   ejb is entity java bean
first entity bean example in eclipse europa - EJB
first entity bean example in eclipse europa  pls provide steps to create simple ejb3.0 application in eclipse .And also how to create entity bean ,session bean in ejb3.0  Hi Friend, Please visit the following links
BMP Bean Program in Weblogic9.0 - EJB
BMP Bean Program in Weblogic9.0  hello everybody, can anybody send me the BMP Bean program along with META-INF folder. i want to execute the program in WEBLOGIC 9.0
EJB,java beans
EJB,java beans  What is EJB poles,mainfest,jar files? What is nongraphical bean? Please send me as notes
Introduction To Enterprise Java Bean(EJB). Developing web component.
  Introduction To Java Beans... components, web component and the enterprise bean. Web... on the web server. Enterprise Bean consists of all the program
Java Bean
Java Bean  How to run java bean program in Netbeans
calling a session bean bean from servlet using netbeans - EJB
calling a session bean from servlet using netbeans  How to call a session bean from servlet using netbeans in Java
Java Bean
Java Bean  What is a Java Bean?   A Java Bean is a software component that has been designed to be reusable in a variety of different environments
Java Bean Properties
Java Bean Properties  What are the properties of a normal java Bean(Not EJB)   HI Friend, Please visit here: http://www.roseindia.net/jsp/usingbeansinjsp.shtml Thanks
java programming - EJB
java programming  Write an EJB program using simple bean concept to display the message " I am learning to work with Enterprise Java Bean "? .../ejb/ejb-hello-world.shtml We hope that the above link will help you to display
Ejb message driven bean
Ejb message driven bean      ... driven bean using EJB. Mesaage driven bean in EJB have the following features... the EJB module and web module. The steps involved in creating message driven bean
Java Bean
Java Bean  What is Java Bean?   I got my answer already here: http://www.roseindia.net/jsp/usingbeansinjsp.shtml Thanks a lot
java - EJB
java  execution process of ejb
creating entity bean in eclipse europa - EJB
creating entity bean in eclipse europa  how to create a entity bean in eclipse europa
From struts calling function to bean - EJB
From struts calling function to bean   I am calling a function from "struts action class" to bean. I am using weblogic 8.1 web server.i am able...: Bean is already undeployed. i am not able to solve the problem. Waiting
java - EJB
java  hi friends, i am creating one file, i want to store this file in my working directory.how can i get real path or working directory path in ejb? regards, srinivas
Java - EJB
Java  If Anybody know how to run Ejb in Eclipse, i am looking forward... Server. Just follow the following steps 1. File->New->Other->EJB->EJB Project or File->New->EJB->EJB Project then give a name to your
Java - EJB
Java  i want to develope an applictaion using java language in which when i double click on some file the computer will autometically shutdown.. not using shortcut key but using java code pls help me to develope
How to execute EJB(Entity bean) in desktop application   Dear Firends, I have one doubt about EJB that is "How to execute EJB(Entity bean) in desktop application using java in windows? Please reply quickly, i need very urgently
Java Bean - Java Beginners
Java Bean  Sir, How can i add a java bean into a target GUI.... Thanking you Pabitra Kr Debanth.   Hi friend, Java Bean classes must..., it will be a visible Java Bean. Java Beans may also be invisible


Advertisement null