• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB confusion

 
Kathy Brodeur
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am just trying to get some basic EJB info. Currently, I am creating web applications using Websphere App Server 6.0 and using regular java beans. I would like to know what the benefits of using EJB's would be and if I can deploy them on Websphere 6.0. If so, does WAS 6 come ready to handle this or do I need a special version or download?

Thanks.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35743
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kathy,
In a web application, you typically use a session bean to wrap the data access layer. You can also optionally use an entity bean to access the database. The ejbs provide services such as transaction support.

WAS supports EJBs out of the box. In fact, any application server does. Only web servers (like Tomcat) do not support EJBs.
 
Chris Brat
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Major advantages of EJBs are transaction management and concurrency.
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I normally say that if your app does not need distribution, transactions or messaging, then it probably does not need EJBs.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!