Claims
- 1. A method for providing a generic contract between an application server and a message provider, comprising:
selecting an appropriate resource adapter; obtaining activation configuration information from a messaging application; obtaining messaging application activation information; instantiating an activation instance based, in part, upon the selected resource adapter; deploying the messaging application in the application server; instantiating a message endpoint factory instance in the application server; and activating an messaging endpoint associated with the messaging application thereby allowing the message provider to deliver messages to the message endpoint residing in the application server that is independent of a specific messaging protocol.
- 2. A method as recited in claim 1, wherein the messaging protocol includes: a messaging style, a messaging semantic and a messaging infrastructure used to deliver the messages.
- 3. A method as recited in claim 1, wherein the activating the messaging endpoint factory comprises:
calling the selected resource adapter by the application server.
- 4. A method as recited in claim 3, further comprising:
passing a message endpoint factory instance and the activation instance.
- 5. A method as recited in claim 4, wherein when a message arrives,
using the message endpoint factory to create an endpoint instance by the resource adapter; narrowing the endpoint instance to the actual message listener type based upon the activation instance; and delivering the message to the endpoint instance.
- 6. An apparatus for providing a generic contract between an application server and a message provider, comprising:
means for selecting an appropriate resource adapter; means for obtaining activation configuration information from a messaging application; means for obtaining messaging application activation information; means for instantiating an activation instance based, in part, upon the selected resource adapter; means for deploying the messaging application in the application server; means for instantiating a message endpoint factory instance in the application server; and means for activating an messaging endpoint associated with the messaging application thereby allowing the message provider to deliver messages to the message endpoint residing in the application server that is independent of a specific messaging protocol.
- 7. An apparatus as recited in claim 6, wherein the messaging protocol includes: a messaging style, a messaging semantic and a messaging infrastructure used to deliver the messages.
- 8. An apparatus as recited in claim 6, wherein the activating the messaging endpoint factory comprises:
means for calling the selected resource adapter by the application server.
- 9. An apparatus as recited in claim 8, further comprising:
means for passing a message endpoint factory instance and the activation instance.
- 10. An apparatus as recited in claim 9, wherein when a message arrives,
means for using the message endpoint factory to create an endpoint instance by the resource adapter; means for narrowing the endpoint instance to the actual message listener type based upon the activation instance; and means for delivering the message to the endpoint instance.
- 11. A computer program product for providing a generic contract between an application server and a message provider, comprising:
computer code for selecting an appropriate resource adapter; computer code for obtaining activation configuration information from a messaging application; computer code for obtaining messaging application activation information; computer code for instantiating an activation instance based, in part, upon the selected resource adapter; computer code for deploying the messaging application in the application server; computer code for instantiating a message endpoint factory instance in the application server; computer code for activating an messaging endpoint associated with the messaging application thereby allowing the message provider to deliver messages to the message endpoint residing in the application server that is independent of a specific messaging protocol; and computer readable medium for storing the computer program product.
- 12. A computer program product as recited in claim 11, wherein the messaging protocol includes: a messaging style, a messaging semantic and a messaging infrastructure used to deliver the messages.
- 13. A computer program product as recited in claim 11, wherein the activating the messaging endpoint factory comprises:
computer code for calling the selected resource adapter by the application server.
- 14. A computer program product as recited in claim 13, further comprising:
computer code for passing a message endpoint factory instance and the activation instance.
- 15. A computer program product as recited in claim 4, wherein when a message arrives,
computer code for using the message endpoint factory to create an endpoint instance by the resource adapter; computer code for narrowing the endpoint instance to the actual message listener type based upon the activation instance; and computer code for delivering the message to the endpoint instance.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] This application takes priority under 35 U.S.C. §119(e) of U.S. Provisional Patent Application No ______ filed Mar. 21, 2002 (Attorney Docket No.: SUN1P854P), entitled “J2EE CONNECTOR ARCHITECTURE” naming Thulasiraman Jeyaraman as inventor, which is also incorporated herein by reference for all purposes. This application is also related to the following co-pending U.S. Patent applications, which are filed concurrently with this application and each of which are herein incorporated by reference, (i) U.S. patent application Ser. No. ______ (Attorney Docket No.: SUN1P853), entitled “CALLBACK EVENT LISTENER MECHANISM FOR RESOURCE ADAPTER WORK EXECUTIONS PERFORMED BY AN APPLICATION SERVER THREAD” naming Jeyaraman as inventor; (ii) U.S. patent application Ser. No. ______ (Attorney Docket No.: SUN1P852), entitled “MECHANISM TO MANAGE THE LIFECYCLE OF A RESOURCE ADAPTER” naming Jeyaraman as inventor, each of which are incorporated by reference in their entirety.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60367138 |
Mar 2002 |
US |