This is a non-provisional of U.S. Provisional Application Ser. No. 60/696,171, filed Jul. 1, 2005, the entire disclosure of which is incorporated herein by reference.
One of the core features and highly desired functionalities of any value-add business application such as a customer relationship management (“CRM”) system is the ease and cost of adapting to many existing business requirements. Ideally, an application should expose, manage and execute business logic in a flexible and extensible way. Business logic enables commercial enterprises to model and execute their processes in order to simplify and consolidate their functions. It empowers users to work more effectively and provides the best value out of their business application. Nevertheless, as every business has different and specific requirements, a desired business application should provide out-of-the-box business logic as well as a rich extensibility model that allows new business logic and data to be seamlessly integrated with the application. A typical business application provides application programming interfaces (“APIs”) to enable the users to access the application data and logic. Most of these application APIs have the business logic hard coded in their architecture and execution path and offer little ability to adopt and incorporate new/modified business logic/data to the users of the application. These APIs locate and execute the logic in a non extensible and rigid way and will not allow any dynamical change to the APIs to allow custom data and processes exposure and management. As the business logic is not extensible, the only way to include new logic or modify existing logic is to change the application source code and recompile the application which is not desirable and is inefficient.
An extensible architecture that allows users to extend, change or replace existing business logic of a business application which allows comprehensive customization of the business logic and significantly improves the usability of the application is disclosed. The design may: 1) allow the business data and process customization to be added to the system and be accessed programmatically by dynamically generating the service descriptions that include any newly added customization and providing an extended execution path for the logic/data to be accesses/executed without the need for recompiling the application source code; and 2) allow the users to integrate their own business logic and code into the API calls that are made to the application in order to extend or modify the out-of-the box business logic and the system behavior.
Although the following text sets forth a detailed description of numerous different embodiments, it should be understood that the legal scope of the description is defined by the words of the claims set forth at the end of this patent. The detailed description is to be construed as exemplary only and does not describe every possible embodiment since describing every possible embodiment would be impractical, if not impossible. Numerous alternative embodiments could be implemented, using either current technology or technology developed after the filing date of this patent, which would still fall within the scope of the claims.
It should also be understood that, unless a term is expressly defined in this patent using the sentence “As used herein, the term ‘______’ is hereby defined to mean . . . ” or a similar sentence, there is no intent to limit the meaning of that term, either expressly or by implication, beyond its plain or ordinary meaning, and such term should not be interpreted to be limited in scope based on any statement made in any section of this patent (other than the language of the claims). To the extent that any term recited in the claims at the end of this patent is referred to in this patent in a manner consistent with a single meaning, that is done for sake of clarity only so as to not confuse the reader, and it is not intended that such claim term by limited, by implication or otherwise, to that single meaning. Finally, unless a claim element is defined by reciting the word “means” and a function without the recital of any structure, it is not intended that the scope of any claim element be interpreted based on the application of 35 U.S.C. § 112, sixth paragraph.
The steps of the claimed method and apparatus are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the methods or apparatus of the claims include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The steps of the claimed method and apparatus may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The methods and apparatus may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
With reference to
Computer 110 typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by computer 110 and includes both volatile and nonvolatile media, removable and non-removable media. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by computer 110. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of the any of the above should also be included within the scope of computer readable media.
The system memory 130 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 131 and random access memory (RAM) 132. A basic input/output system 133 (BIOS), containing the basic routines that help to transfer information between elements within computer 110, such as during start-up, is typically stored in ROM 131. RAM 132 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 120. By way of example, and not limitation,
The computer 110 may also include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only,
The drives and their associated computer storage media discussed above and illustrated in
The computer 110 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 180. The remote computer 180 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 110, although only a memory storage device 181 has been illustrated in
When used in a LAN networking environment, the computer 110 is connected to the LAN 171 through a network interface or adapter 170. When used in a WAN networking environment, the computer 110 typically includes a modem 172 or other means for establishing communications over the WAN 173, such as the Internet. The modem 172, which may be internal or external, may be connected to the system bus 121 via the user input interface 160, or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer 110, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation,
At block 220, the method may create a service description on demand by referencing metadata about the service description wherein the metadata includes full type descriptions for as-shipped and custom business entities. Referring to
As an example, if a user adds a new custom entity called BankAccount, a new schema for this is entity may be generated that defines the BankAccount type and all members (Attributes) and their types. This schema may be included in the requested WSDL which allows the clients to generate classes on the client side and enables effective coding. As the generated schema is fully typed, the clients may be able to define strongly typed classes for the programmer to use.
Referring again to
A service provider may include specialized operations as well as commonly shared operations across all the service providers. In order for a service provider to expose a common operation that is also shared by other service providers, the provider may simply uses multiple interface inheritance to include the name of the supported interfaces in a class declaration. In the below example, the BankAccountServiceProvider uses the default definition of ICreatable, IUpdatable, IDeletable, IRetrievable, IMergable, IOwned and IStateful interfaces which means the provider supports these corresponding operations. The service provider may also support specialize operations. In this example, the CustomServiceProvider is an abstract interface which is implemented in the BankAccountServiceProvider to provide specialized operation and business logic. The following may be a code example:
public class BankAccountServiceProvider: CustomServiceProvider, ICreatable, IUpdatable, IDeletable, IRetrievable, IMergable, IOwned, IStateful { }
A user may need to register the service provider with the metadata 340 and modify the service description to map specific messages to the service provider 350, 360. Then new messages may be defined that are inherited from the base message classes allowing the same interfaces to be used for the new messages. As all the routing and service description are driven and generate dynamically from the metadata 340, extending this model is simplified and does not need a recompile of the whole application.
One way to allow a user to modify an existing operation of the application to add or modify existing business logic and processes may be through a callout mechanism that is included in the application web service. The callout model may expose a number of events to which a user code can subscribe. After a user is subscribed to an event, when the event is invoked, the plug-in code that is provided by the user may be executed as part of the web service call. This architecture may add yet another very powerful extensibility point to the application. The events may be categorized into Pre and Post events. Referring to
Each application operation that supports the pre and/or post callout may provide an interface that can be overridden by user code. The application platform 440 may call into these methods at the operation execution time. Contextual information that may be provided inside the callout function 410, 430 may be used for additional business logic processing or simply to modify the data that is passed into the application platform. Of course, there may be other ways to modify an existing operation of the application to add or modify existing business logic and processes. The following code may illustrate some methods that may be overridden by user for pre-callout (PreCRMOperationEvent (e.g. PreCreateEvent)) or post-callout (PostCRMOperationEvent (e.g. PostCreateEvent)).
While in the PreCRMOperationEvent process, a user may invoke different actions in respect to the CRM Server and continuation of method execution.
Continue action: The callout has completed successfully and the CRM Server should continue with the execution of the method.
Stop action: The pre callout has completed successfully and no further processing for the method should be done.
Abort action: The callout component encountered an error and the platform should abort the method call returning an error to the method caller.
Rich messages may be sent to the callout process including method execution context, the business entity context and calling user context. A user may modify and intervene with this data before it is sent to the CRM Server. This is an approach that allows data and processes to be modified on the fly through the callout extension to provide a much richer and closer extensibility with the CRM application. An error message may also be returned to the caller in order to enable building business logic based on returned error messages.
After modifications have been made, the metadata may store the modifications so every time a system customizer adds any of these customizations, the metadata may be updated with the description of such customization.
Although the forgoing text sets forth a detailed description of numerous different embodiments, it should be understood that the scope of the patent is defined by the words of the claims set forth at the end of this patent. The detailed description is to be construed as exemplary only and does not describe every possible embodiment because describing every possible embodiment would be impractical, if not impossible. Numerous alternative embodiments could be implemented, using either current technology or technology developed after the filing date of this patent, which would still fall within the scope of the claims.
Thus, many modifications and variations may be made in the techniques and structures described and illustrated herein without departing from the spirit and scope of the present claims. Accordingly, it should be understood that the methods and apparatus described herein are illustrative only and are not limiting upon the scope of the claims.
Number | Date | Country | |
---|---|---|---|
60696171 | Jul 2005 | US |