Difference between java bean and enterprise bean

What is the difference between java bean and enterprise bean? when will be used java bean and enterprise in real time projects?

Questions by enjoy

Showing Answers 1 - 9 of 9 Answers

Jegadheesh

  • Jan 21st, 2007
 

Javabean- It cannot deploy themselves,It can be integrated into web components.only one user use it at a time

EJB:It is a business component.It can deploy themselves.Many users use it at a time

Vijay

  • Jan 29th, 2007
 

Java Beans are Non-deployable components, means the state or life of javabean is not controlled by any container.EJB is a deployable component thru application servers...

Enterprise Bean:

Gives you the facility of security & transcation , state management & reduction of network code. All the above facility will be provided by application server when it is deployed.

Java Bean:

Where it is the simple setter & getter method to trasport the bean from one layer to other layer.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions