摘要:
A method and implementing system are provided in which CORBA (Common Object Request Broker Architecture) Life Cycle Service factory finding capabilities are utilized by a CORBA Query Service query evaluator to find queriable collections using simple names. The Life Cycle Service, using the simple name, searches a distributed object oriented environment for both Home and non-Home collections. Means are also provided to make known to Life Cycle Services, the queriable collections which are not also Homes.
摘要:
A method and implementing system are provided in which CORBA (Common Object Request Broker Architecture) Life Cycle Service FactoryFinder capabilities are combined with CORBA Naming Service resolve operations on a Naming Context. The methodology allows EJBHomes in a distributed network to be found using CORBA Life Cycle Services while maintaining support for the EJB (Enterprise Java Bean) programming model of using JNDI (Java Naming and Directory Interface) lookup calls to locate EJBHomes. Usage of Life Cycle Services in an EJB environment for finding EJBHomes by using Naming interfaces is enabled while using Life Cycle Service semantics. An exemplary embodiment is provided to allow deployment in different environments (including environments without Life Cycle support) and reconfiguration of the FactoryFinder being used, without requiring changes to source code.
摘要:
The specification of specific user policies in an object oriented environment is allowed prior to a search for factory objects. A ConstraintBuilder interface object is contained within an Object Management Group's (OMG) FactoryFinder object. The ConstraintBuilder object is a subclass of an abstract ConstraintBuilder interface, and contains a method which accepts specific policy information from a user, processes the information, and returns the policy controls in a format understandable by an underlying search mechanism. The policies embodied by ConstraintBuilder objects may then be considered during searches for factory objects in order to eliminate factory objects that do not adhere to the specified policies, thus allowing for control of factory objects returned by a search mechanism.
摘要:
A method is presented for processing names by a naming service. A naming service obtains an application name for an application along with at least one deployment attribute for a deployment of an instance of the application within a data processing system. The naming service generates an application-based name for the instance of the application; the application-based name represents a context within a naming system that is supported by the naming service, and the application-based name is a compound name that includes the application name and at least one deployment name for a deployment attribute. A deployment attribute is a metadata value, such as a deployment identifier or version identifier, that characterizes a manner in which the instance of the application is deployed within the data processing system.
摘要:
A method, apparatus, and computer implemented instructions for binding object references from a remote name space into a local name space using a Web application. Information is collected to generate a request for an object reference. Information, such as an application server to use as the source, a source name space path, an identification of destination server, and a destination name space path to which the object reference is to be bound, may be used. The request is sent using a communications protocol, such as hypertext transfer protocol to the application server to be used as the source for the object reference. An object reference is located using the name space. The object reference may be serialized into a format, such as a common object request broker architecture format and sent to the destination. The destination will unserialize the object reference and perform binding using the destination name space path.
摘要:
A method and implementing system are provided in which CORBA (Common Object Request Broker Architecture) Life Cycle Service factory finding capabilities are combined with CORBA Naming Service resolve operations on a naming context. The methodology provides a performance enhancement when compared with a typical CORBA programming model usage of these two services. In addition, EJBHomes in a distributed network are allowed to be found using CORBA Life Cycle Services while maintaining support for the EJB (Enterprise Java Bean) programming model of using JNDI (Java Naming and Directory Interface) lookup calls to locate EJBHomes. Usage of Life Cycle Service semantics is provided in an EJB environment for finding object factories while having access to only Naming interfaces.
摘要:
A method and apparatus for implementing generic factories which are used to create objects in a distributed object-oriented programming environment. This method and apparatus are applicable to the Object Management Group (OMG) CORBAservices GenericFactory interface. A create.sub.-- object method implementation is subdivided into its' elemental parts, specifically finding an appropriate factory, interacting with that factory to create the object, and initializing an object. New operations are introduced which support each of these elemental parts. This allows implementations of GenericFactories to have a higher degree of reuse then when the standard interfaces are used as is.
摘要:
A method and apparatus for controlling a scope of location for a FactoryFinder object used by a program to find a factory object which is used to create another object in an object-oriented system. The scope of location may be a specific machine, all machines within a work group, all object server processes running under a particular operating system, etc. An abstract location interface is provided which is subclassed to provide a location object. The location object provides methods for returning a list of servers, for returning a boolean value of TRUE or FALSE for a specific server, and for creating a new location object and registering servers that result from an intersection/union of the servers registered with the current location and another location.
摘要:
A method and system for providing security protection to Common Object Request Broker Architecture (CORBA) objects located on a server. An EJB shadow object is created for the CORBA object. The EJB shadow object invokes an EJB security mechanism on behalf of the CORBA object, thus protecting the CORBA object from unauthorized object requesters. In a preferred embodiment, requesters are categorized and identified by their roles in the enterprise. Only those requesters having a proper role are authorized to access the requested object.
摘要:
A method and system for filtering a list of data elements within an object-oriented environment are disclosed. According to the present invention, a filter object is created that supports a filter method which discriminates data elements within an input list utilizing a filter criterion. A message is then sent to the filter object specifying an input list of data elements to be filtered. In response to receipt of the message, data elements within the specified input list are discriminated utilizing the filter criterion. In one embodiment, one or more filter objects are registered with a finder object such that a list of data elements satisfying a search criterion produced by the finder object are automatically furnished to the filter objects as an input list.