• Post Reply Bookmark Topic Watch Topic
  • New Topic

Enterprise JavaBeans are beans with increased functionality? eg shopping cart BEAN calculate, on bea  RSS feed

 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Enterprise JavaBeans are beans with increased functionality? eg shopping cart BEAN calculate, on beans: lineItems, etc vars, the totals are actually EJBs(THE CART)?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand your question.
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean difference between EJBs and normal(simple) beans?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The difference is their deployment environment. EJBs are designed to be deployed in a container (much the same as Servlets, if you are familiar with those?) and as such can use container provided services. This means you can declaratively configure their behaviour, for example define a method as running in a transaction or be restricted for use by user's with cetrain roles. The "increased fucntionality" you are perhaps refering to tends to be non-functional stuff rather than pre-canned behaviour. Have a read of this tutorial for the basics.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!