EJB Design Patterns

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 ]

Articles
  

Articles:
  • On-Demand Stateful EJBs by Swaminathan Radhakrishnan   - [Clicks: 36]
    EJBs are the de facto standard when it comes to server-side components developed in J2EE. Session beans are used for business logic components and are primarily of two types: Stateful and Stateless. The type of the bean, stateful or stateless, is decided at deployment time through some deployment parameters. There are many scenarios where the decision of needing a stateful bean can be deferred until runtime. In this article, I will explain a pattern that can be used to dynamically choose a stateful bean at runtime.
    [Includes source code]
    http://www.onjava.com/pub/a/onjava/2005/02/23/ejbpattern.html - Feb, 2005

[Top]