Browse Prior Art Database

Naming and Metadata Design for Querying Enterprise Java Beans Considering Different Inheritance Hierarchy on Remote Interface and Bean Interface

IP.com Disclosure Number: IPCOM000014541D
Original Publication Date: 2002-Oct-16
Included in the Prior Art Database: 2003-Jun-19
Document File: 1 page(s) / 40K

Publishing Venue

IBM

Abstract

Enterprise Java Bean (EJB) has gradually become the de facto standard for server side Java component, where querying EJBs is one of the demanded capability. An EJB home is a collection containing EJB objects of a class. Remote interface and bean interface are the two public interfaces for accessing and specifying constraints to query EJB objects in EJB homes. Since remote interface and bean interface are two separate interfaces, two separate inheritance hierarchies appear when the EJB object has inheritance relatinoship with other EJB objects. The invention proposes a naming approach able to query EJB homes on both remote interface and bean interface, as well as the metadata design to process this kind of querying. The proposed technique consists of the naming convension and metadata design. Using naming convension, the EJB query user can specify the EJB query on either remote interface or bean interface even with inheritance considered. With the metadata design, the query processing engine can obtain sufficient information to resolve the specified EJB queries. Naming convension:

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 71% of the total text.

Page 1 of 1

  Naming and Metadata Design for Querying Enterprise Java Beans Considering Different Inheritance Hierarchy on Remote Interface and Bean Interface

    Enterprise Java Bean (EJB) has gradually become the de facto standard for server side Java component, where querying EJBs is one of the demanded capability. An EJB home is a collection containing EJB objects of a class.

Remote interface and bean interface are the two public interfaces for accessing and specifying constraints to query EJB objects in EJB homes. Since remote interface and bean interface are two separate interfaces, two separate inheritance hierarchies appear when the EJB object has inheritance relatinoship with other EJB objects.

The invention proposes a naming approach able to query EJB homes on both remote interface and bean interface, as well as the metadata design to process this kind of querying. The proposed technique consists of the naming convension and metadata design. Using naming convension, the EJB query user can specify the EJB query on either remote interface or bean interface even with inheritance considered. With the metadata design, the query processing engine can obtain sufficient information to resolve the specified EJB queries.

Naming convension:

For an EJB home (say xxxHome), whose contained elements can be accessed via either remote interface (say xxx) or bean interface (xxxBean), xxxHome is used to denote accessing this home via remote interface and xxxHome.xxxBean denotes accessing t...