This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB 3.0: session bean  RSS feed

 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know it's easier to code beans.
but is there much changes in session bean 3.0 in term of its functionality and capability?

thanks
 
Daniel Rhoades
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think you can 'do anymore', but obviously its a lot easier to work with and they work great with EJB 3 entity classes - mmmm no more parallel value objects.

There are some old 2.1 methods that will now throw exceptions if called, and some interesting features with nested stateful session beans and extended persistant contexts.
 
Mike Keith
author
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The primary motiviation for EJB 3 was to make the development and client models easier, so we are actually prouder of what the developer does NOT have to do rather than adding things to the list of stuff that you can do. We did end up with some things that fall into the category of "stuff you can do now that you could not do before", though. One important one is interceptors. They allow interception of business methods and provide the developer, or a layer above the developer, with an aspect-level ability to cross-cut a business API.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!