Enterprise JavaBeans (EJB)

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

Articles
Tutorials
  

Articles:
  • EJB 2.1: The Enhanced Message-Driven Bean by Richard Monson-Haefel   - [Clicks: 82]
    This column covers the new connector-based MDBs, which allow you to use MDBs with any kind of messaging system, not just JMS. In addition, the column covers the activation-configuration properties used in the deployment of MDBs, as well as EJB 2.1's new message-linking facilities.
    http://www.theserverside.com/resources/article.jsp?l=MonsonHaefel-Column6 - Dec, 2002
  • EJB 2.1 Adds New Functionality to EJB QL by Richard Monson-Haefel   - [Clicks: 35]
    I'm happy to report that EJB 2.1 has largely addressed these shortcomings with the addition of several new functions and an ORDER BY clause. The purpose of this article is to describe these new features, not to provide an overview of EJB QL in general. At the end of the article I'll also present a short list of features and failings that the next version of the specification should address.
    http://www.theserverside.com/resources/article.jsp?l=MonsonHaefel-Column5 - Nov, 2002
  • EJB Inheritance, Part 3 by Emmanuel Proulx   - [Clicks: 56]
    Session beans can take advantage of inheritance, just like entity beans. Indeed, implementing session bean inheritance is nowhere near as hard as it is with entity beans. Part 3 of this series shows the proper technique for implementing inheritance in session beans and addresses the use of factories.
    http://www.onjava.com/pub/a/onjava/2002/11/13/ejbinherit3.html - Nov, 2002
  • EJB 2.1 The Timer Service by Richard Monson-Haefel   - [Clicks: 109]
    The rest of this article describes the EJB Timer Service API, its use with entity, stateless session, and message-driven beans, and provides some criticism and suggested improvements of the Timer Service.
    http://www.theserverside.com/resources/article.jsp?l=MonsonHaefel-Column4 - Oct, 2002
  • EJB Inheritance, Part 2 by Emmanuel Proulx   - [Clicks: 22]
    Part two of this series on inheritance with Entity Java Beans focuses on the various options for table mapping.
    http://www.onjava.com/pub/a/onjava/2002/09/25/ejbinherit2.html - Sep, 2002
  • EJB 2.1 Web Services (Part 2) by Richard Monson-Haefel   - [Clicks: 26]
    The section on SAAJ provides a quick overview and an example of its use. The JAXM section focuses on why JAXM didn't become a part of J2EE. There seemed little reason at this point to show JAXM examples or go into detail about the JAXM message-driven bean.
    http://www.theserverside.com/resources/article.jsp?l=MonsonHaefel-Column3 - Sep, 2002
  • EJB Inheritance, Part 1 by Emmanuel Proulx   - [Clicks: 23]
    The principles of object-oriented programming are encapsulation and inheritance. Enterprise JavaBeans handle encapsulation just fine, but what about inheritance? In this article, the author attempts to apply inheritance to EJBs.
    http://www.onjava.com/pub/a/onjava/2002/09/04/ejbinherit.html - Sep, 2002
  • EJB 2.1 Web Services (Part 1) by Richard Monson-Haefel   - [Clicks: 18]
    This month's column is the first of two installments on EJB 2.1 Web services. It provides a high-level primer on Web services, then goes on to an overview of JAX-RPC and the new EJB endpoint interface. In next month's column I'll tell you about SAAJ and JAXM.
    http://www.theserverside.com/resources/article.jsp?l=MonsonHaefel-Column2 - Aug, 2002
  • What's New in EJB 2.1 by Richard Monson-Haefel   - [Clicks: 15]
    The new features introduced by EJB 2.1 are too extensive to cover in a single article, so this first installment will provide an overview of new features. In the coming months this column will describe many of these features in more detail, including Web services, the new MDB programming model, and EJB QL enhancements.
    http://www.theserverside.com/resources/article.jsp?l=MonsonHaefel-Column1 - Jul, 2002
  • Inheritance & EJBs by Daniel O'Connor   - [Clicks: 23]
    In this article I'm going to show how to implement entity bean inheritance with three CMP EJBs: a "base class" PARTY EJB and two "derived class" EJBs: PERSON and CORPORATION. (This is a common design in relational database schemas.) Furthermore, I'll demonstrate a polymorphic finder query and a couple of polymorphic method calls. The beans I produce will be absolutely portable according to the EJB 2.0 specification. I'll also show how these container-managed persistence beans can be mapped to a standard relational database schema for this type of data.
    http://www.theserverside.com/resources/article.jsp?l=EJBInheritance - Jun, 2002
  • Container-managed relations for the 21st century by Allen Fogleson   - [Clicks: 43]
    Enterprise JavaBeans (EJB) 2.0's Container-Managed Persistence (CMP) specification allows for fine-grained control over entity bean relationships. The container can also persist these relationships instead of having the bean author control them. In this article, Allen Fogleson explains and demonstrates how to use such relationships in CMP 2 entity beans.
    [Includes source code]
    http://www.javaworld.com/javaworld/jw-04-2002/jw-0419-cmp.html - Apr, 2002
  • J2EE Design Patterns: CMP-to-BMP Pattern by Dion Almaer   - [Clicks: 30]
    In this article, we will discuss: - CMP 2.0: What has changed? - The Inventory EJB application. - Developing a CMP bean. - Migrating the bean to use BMP.
    http://www.onjava.com/pub/a/onjava/2002/04/10/j2eedesign.html - Apr, 2002
  • Integrate EJBs with CORBA by Matjaz B. Juric   - [Clicks: 18]
    Interoperability between EJBs (Enterprise JavaBeans) and CORBA is important for integrating Java- and non-Java-based applications. This article shows how to achieve integration between an EJB and a CORBA C++ application. It points to several important integration areas, particularly those in which EJBs use methods with Java built-in or user-defined objects as their parameters and return values.
    [Includes source code]
    http://www.javaworld.com/javaworld/jw-03-2002/jw-0329-corba.html - Mar, 2002
  • Dynamic Value Objects using CMP2 and XML by Meeraj Kunnumpurath   - [Clicks: 19]
    This article proposes an alternative to the standard Value Object/Data Transfer Object approach patterns, by illustrating using EJB 2.0 in conjunction with bean introspection and JAXP to create dynamic XML based data structures. In the article, a framework is developed that can dynamically traverse the container managed persistent and related fields of a given local EJB and create an XML document that can be transferred between the various tiers in the application.
    http://www.theserverside.com/resources/article.jsp?l=CMP2 - Mar, 2002
  • Accelerate EJB 2.0 development with EJBGen by Thierry Janaudy   - [Clicks: 30]
    EJBGen is a free command-line tool that limits your code editing to just one file, the bean class. Step-by-step, this article shows you how to use EJBGen to speed your Enterprise JavaBeans (EJB) 2.0 development, especially for entity bean container-managed persistence (CMP). The article uses an example from the EJB 2.0 specification to illustrate the relationships and local interface concepts in the EJB 2.0 CMP model, and shows how easily EJBGen generates all the interfaces and XML deployment descriptors for you.
    [Includes source code]
    http://www.javaworld.com/javaworld/jw-02-2002/jw-0222-ejbgen.html - Feb, 2002
  • Customized EJB security in JBoss by Luke Taylor   - [Clicks: 63]
    The current EJB (Enterprise JavaBeans) specification supports basic declarative, role-based access-control mechanisms, but provides limited support for coding application-specific security checks. Moreover, it doesn't define any way to factor out access-control code from business logic, or to integrate external authorization services. The open source, J2EE-compliant (Java 2 Platform, Enterprise Edition) JBoss application server features a protection-proxy security architecture that will help you overcome these restrictions.
    [Includes source code]
    http://www.javaworld.com/javaworld/jw-02-2002/jw-0215-ejbsecurity.html - Feb, 2002
  • Using XDoclet: Developing EJBs with Just the Bean Class by Dion Almaer   - [Clicks: 93]
    This article will discuss the XDoclet tool, how to use it, and how to extend it. In this article, we will create a session bean that uses the Javadoc tags, and run XDoclet on the bean.
    http://www.onjava.com/pub/a/onjava/2002/01/30/xdoclet.html - Jan, 2002
  • Future of EJBs: Tools Are Finally Catching Up by Dion Almaer   - [Clicks: 8]
    This article will address the maturity of EJB from our perspective as EJB developers, including …
    http://www.theserverside.com/resources/article.jsp?l=FutureEJB - Jan, 2002

[Top]

Tutorials:
  • Introduction to container-managed persistence and relationships, Part 4 by Rick Hightower   - [Clicks: 56]
    This tutorial completes Rick Hightower's series on container-managed persistence and relationships in EJB 2.x with a focus on EJB Query Language. This piece details advanced finder methods and more complex EJB-QL queries.
    [Formats: HTML, PDF, Zip]
    http://www-106.ibm.com/developerworks/edu/ws-dw-wscomp4-i.html - Jul, 2002
  • Introduction to container-managed persistence and relationships, Part 3 by Rick Hightower   - [Clicks: 26]
    EJB QL provides the ability to query the container-managed persistent store for EJB objects without the need to learn or make database specific calls. EJB QL provides a subset of SQL and adds support for traversing relationships between entities and working with collection-based CMP fields.
    [Formats: HTML, PDF, Zip]
    http://www-106.ibm.com/developerworks/edu/ws-dw-wscomp3-i.html - Jul, 2002
  • Introduction to container-managed persistence and relationships, Part 2 by Rick Hightower   - [Clicks: 34]
    Container-managed persistence and relationships allow you to build components to the EJB 2.0 specification that can save the state of your EJBs to any J2EE supporting application server and database without having to create your own low-level JDBC-based persistence system. The second part to this tutorial series describes the three varieties of component managed relationships: one-to-one, many-to-many, one-to-many.
    [Formats: HTML, PDF, Zip]
    http://www-106.ibm.com/developerworks/edu/ws-dw-wscomp2-i.html - Mar, 2002
  • Introduction to container-managed persistence and relationships, Part 1 by Rick Hightower   - [Clicks: 85]
    Container-managed persistence and relationships allow you to build components to the EJB 2.0 specification that can save the state of your EJBs to any J2EE supporting application server and database without having to create your own low-level JDBC-based persistence system. It also provides a unified way to support persistent fields and variables within entity beans. This two-part introductory tutorial explains all about CMP/CMR.
    [Formats: HTML, PDF, Zip]
    http://www-106.ibm.com/developerworks/edu/ws-dw-wscomp-i.html - Mar, 2002

[Top]