• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB 3.0: session bean

 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 304
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Remember to always leap before you look. But always take the time to smell the tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic