• Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between enterprise java bean and java bean

 
rehans oberoi
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can nayone tell me the difference between enterprise java bean and java bean.
thanks
 
Shanmugam Karthikeyan
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thought both are distributable components the main difference between an enterprise bean and a java bean is that the enterprise bean's life cycle is managed by the container whereas the java bean is used to getting and setting the properties of an object.


Another difference is that enterprise bean defines a process (ie.business logic) whereas a java bean is mainly for defining the properties of an object.
 
Ramakrishnan Viswanathan
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.coderanch.com/t/161195/java-EJB-SCBCD/certification/Java-Beans-Vs-EJBs
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!