You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Rashmi Hunt (JIRA)" <tu...@ws.apache.org> on 2007/02/20 16:57:05 UTC

[jira] Created: (TUSCANY-1126) Stateless Session Bean Reference Binding implementation

Stateless Session Bean Reference Binding implementation
-------------------------------------------------------

                 Key: TUSCANY-1126
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1126
             Project: Tuscany
          Issue Type: New Feature
            Reporter: Rashmi Hunt


Please find Stateless Session Bean Reference Binding implementation and corresponding sample attached with 
this JIRA.  This contribution is from IBM to Apache as granted by the CCLA signed on 9 February 2007

Implementation:-
Stateless Session Bean reference binding enables SCA composite to consume service exposed by external
Stateless EJB. This implementation conforms to current Stateless EJB binding spec.

Reference binding implementation supports SCA composite running on both
	1) managed environment (J2EE)
	2) un-managed environment (J2SE)

This implementation can lookup and invoke any Stateless EJB just with the URI and Reference interface from SCDL. 
Key part of this implementation is caller (SCA composite with reference binding) doesn't need to include 
EJB home class or client related stub classes of the EJB. (see a note below).

Stateless EJB home lookup is done based on whether the SCA composite is running on managed/unmanaged environment.
JNDI name gets resolved either from InitialContext or CosNaming context based on whether composite is running on 
managed/un-managed environment and based on whether JNDI properties are configured or not. This implementation creates
the stub based on the type of home object through java reflection or via RMI/IIOP. EJB method is invoked on the stub through java 
reflection or through DII, based on whether the ejb object is local or remote.

Sample:-
EJB reference binding sample demonstrates how SCA composite can invoke Stateless Session Bean which is running on Geronimo.
This sample exercises un-managed env path with configured JNDI properties. Using Geronimo application server, managed path or 
locating through cosNaming is not tested.

Note: Including home class at the caller (composite with reference binding) is required only if the EJB is running on 
Geronimo application server which uses openejb.  This is not required for application servers like WebSphere.

Tuscany revision:
Binding implementation and sample code is compiled and tested with Tuscany SCA revision 497910. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Assigned: (TUSCANY-1126) Stateless Session Bean Reference Binding implementation

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng reassigned TUSCANY-1126:
-------------------------------------

    Assignee: Raymond Feng

> Stateless Session Bean Reference Binding implementation
> -------------------------------------------------------
>
>                 Key: TUSCANY-1126
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1126
>             Project: Tuscany
>          Issue Type: New Feature
>            Reporter: Rashmi Hunt
>         Assigned To: Raymond Feng
>         Attachments: binding.ejb.jar, ejb-reference-sample.jar
>
>
> Please find Stateless Session Bean Reference Binding implementation and corresponding sample attached with 
> this JIRA.  This contribution is from IBM to Apache as granted by the CCLA signed on 9 February 2007
> Implementation:-
> Stateless Session Bean reference binding enables SCA composite to consume service exposed by external
> Stateless EJB. This implementation conforms to current Stateless EJB binding spec.
> Reference binding implementation supports SCA composite running on both
> 	1) managed environment (J2EE)
> 	2) un-managed environment (J2SE)
> This implementation can lookup and invoke any Stateless EJB just with the URI and Reference interface from SCDL. 
> Key part of this implementation is caller (SCA composite with reference binding) doesn't need to include 
> EJB home class or client related stub classes of the EJB. (see a note below).
> Stateless EJB home lookup is done based on whether the SCA composite is running on managed/unmanaged environment.
> JNDI name gets resolved either from InitialContext or CosNaming context based on whether composite is running on 
> managed/un-managed environment and based on whether JNDI properties are configured or not. This implementation creates
> the stub based on the type of home object through java reflection or via RMI/IIOP. EJB method is invoked on the stub through java 
> reflection or through DII, based on whether the ejb object is local or remote.
> Sample:-
> EJB reference binding sample demonstrates how SCA composite can invoke Stateless Session Bean which is running on Geronimo.
> This sample exercises un-managed env path with configured JNDI properties. Using Geronimo application server, managed path or 
> locating through cosNaming is not tested.
> Note: Including home class at the caller (composite with reference binding) is required only if the EJB is running on 
> Geronimo application server which uses openejb.  This is not required for application servers like WebSphere.
> Tuscany revision:
> Binding implementation and sample code is compiled and tested with Tuscany SCA revision 497910. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1126) Stateless Session Bean Reference Binding implementation

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475823 ] 

Raymond Feng commented on TUSCANY-1126:
---------------------------------------

I made a mistake by importing the code into Tuscany SVN without going through the ASF process of accepting external code donations. Now the code has been removed from the SVN. I'll send out a note to kick out the process soon.

Thanks,
Raymond

> Stateless Session Bean Reference Binding implementation
> -------------------------------------------------------
>
>                 Key: TUSCANY-1126
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1126
>             Project: Tuscany
>          Issue Type: New Feature
>            Reporter: Rashmi Hunt
>         Assigned To: Raymond Feng
>         Attachments: binding.ejb.jar, ejb-reference-sample.jar
>
>
> Please find Stateless Session Bean Reference Binding implementation and corresponding sample attached with 
> this JIRA.  This contribution is from IBM to Apache as granted by the CCLA signed on 9 February 2007
> Implementation:-
> Stateless Session Bean reference binding enables SCA composite to consume service exposed by external
> Stateless EJB. This implementation conforms to current Stateless EJB binding spec.
> Reference binding implementation supports SCA composite running on both
> 	1) managed environment (J2EE)
> 	2) un-managed environment (J2SE)
> This implementation can lookup and invoke any Stateless EJB just with the URI and Reference interface from SCDL. 
> Key part of this implementation is caller (SCA composite with reference binding) doesn't need to include 
> EJB home class or client related stub classes of the EJB. (see a note below).
> Stateless EJB home lookup is done based on whether the SCA composite is running on managed/unmanaged environment.
> JNDI name gets resolved either from InitialContext or CosNaming context based on whether composite is running on 
> managed/un-managed environment and based on whether JNDI properties are configured or not. This implementation creates
> the stub based on the type of home object through java reflection or via RMI/IIOP. EJB method is invoked on the stub through java 
> reflection or through DII, based on whether the ejb object is local or remote.
> Sample:-
> EJB reference binding sample demonstrates how SCA composite can invoke Stateless Session Bean which is running on Geronimo.
> This sample exercises un-managed env path with configured JNDI properties. Using Geronimo application server, managed path or 
> locating through cosNaming is not tested.
> Note: Including home class at the caller (composite with reference binding) is required only if the EJB is running on 
> Geronimo application server which uses openejb.  This is not required for application servers like WebSphere.
> Tuscany revision:
> Binding implementation and sample code is compiled and tested with Tuscany SCA revision 497910. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1126) Stateless Session Bean Reference Binding implementation

Posted by "Rashmi Hunt (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rashmi Hunt updated TUSCANY-1126:
---------------------------------

    Attachment: ejb-reference-sample.jar
                binding.ejb.jar

> Stateless Session Bean Reference Binding implementation
> -------------------------------------------------------
>
>                 Key: TUSCANY-1126
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1126
>             Project: Tuscany
>          Issue Type: New Feature
>            Reporter: Rashmi Hunt
>         Attachments: binding.ejb.jar, ejb-reference-sample.jar
>
>
> Please find Stateless Session Bean Reference Binding implementation and corresponding sample attached with 
> this JIRA.  This contribution is from IBM to Apache as granted by the CCLA signed on 9 February 2007
> Implementation:-
> Stateless Session Bean reference binding enables SCA composite to consume service exposed by external
> Stateless EJB. This implementation conforms to current Stateless EJB binding spec.
> Reference binding implementation supports SCA composite running on both
> 	1) managed environment (J2EE)
> 	2) un-managed environment (J2SE)
> This implementation can lookup and invoke any Stateless EJB just with the URI and Reference interface from SCDL. 
> Key part of this implementation is caller (SCA composite with reference binding) doesn't need to include 
> EJB home class or client related stub classes of the EJB. (see a note below).
> Stateless EJB home lookup is done based on whether the SCA composite is running on managed/unmanaged environment.
> JNDI name gets resolved either from InitialContext or CosNaming context based on whether composite is running on 
> managed/un-managed environment and based on whether JNDI properties are configured or not. This implementation creates
> the stub based on the type of home object through java reflection or via RMI/IIOP. EJB method is invoked on the stub through java 
> reflection or through DII, based on whether the ejb object is local or remote.
> Sample:-
> EJB reference binding sample demonstrates how SCA composite can invoke Stateless Session Bean which is running on Geronimo.
> This sample exercises un-managed env path with configured JNDI properties. Using Geronimo application server, managed path or 
> locating through cosNaming is not tested.
> Note: Including home class at the caller (composite with reference binding) is required only if the EJB is running on 
> Geronimo application server which uses openejb.  This is not required for application servers like WebSphere.
> Tuscany revision:
> Binding implementation and sample code is compiled and tested with Tuscany SCA revision 497910. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Assigned: (TUSCANY-1126) Stateless Session Bean Reference Binding implementation

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder reassigned TUSCANY-1126:
----------------------------------

    Assignee: ant elder  (was: Raymond Feng)

> Stateless Session Bean Reference Binding implementation
> -------------------------------------------------------
>
>                 Key: TUSCANY-1126
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1126
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA EJB Binding Extension
>            Reporter: Rashmi Hunt
>            Assignee: ant elder
>             Fix For: Java-SCA-0.91
>
>         Attachments: binding.ejb.jar, ejb-reference-sample.jar
>
>
> Please find Stateless Session Bean Reference Binding implementation and corresponding sample attached with 
> this JIRA.  This contribution is from IBM to Apache as granted by the CCLA signed on 9 February 2007
> Implementation:-
> Stateless Session Bean reference binding enables SCA composite to consume service exposed by external
> Stateless EJB. This implementation conforms to current Stateless EJB binding spec.
> Reference binding implementation supports SCA composite running on both
> 	1) managed environment (J2EE)
> 	2) un-managed environment (J2SE)
> This implementation can lookup and invoke any Stateless EJB just with the URI and Reference interface from SCDL. 
> Key part of this implementation is caller (SCA composite with reference binding) doesn't need to include 
> EJB home class or client related stub classes of the EJB. (see a note below).
> Stateless EJB home lookup is done based on whether the SCA composite is running on managed/unmanaged environment.
> JNDI name gets resolved either from InitialContext or CosNaming context based on whether composite is running on 
> managed/un-managed environment and based on whether JNDI properties are configured or not. This implementation creates
> the stub based on the type of home object through java reflection or via RMI/IIOP. EJB method is invoked on the stub through java 
> reflection or through DII, based on whether the ejb object is local or remote.
> Sample:-
> EJB reference binding sample demonstrates how SCA composite can invoke Stateless Session Bean which is running on Geronimo.
> This sample exercises un-managed env path with configured JNDI properties. Using Geronimo application server, managed path or 
> locating through cosNaming is not tested.
> Note: Including home class at the caller (composite with reference binding) is required only if the EJB is running on 
> Geronimo application server which uses openejb.  This is not required for application servers like WebSphere.
> Tuscany revision:
> Binding implementation and sample code is compiled and tested with Tuscany SCA revision 497910. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1126) Stateless Session Bean Reference Binding implementation

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474494 ] 

Raymond Feng commented on TUSCANY-1126:
---------------------------------------

Hi, Rashmi.

Thank you for the contribution. I'll review the patch and possibly check it into a sandbox as the starting point.

Thanks,
Raymond

> Stateless Session Bean Reference Binding implementation
> -------------------------------------------------------
>
>                 Key: TUSCANY-1126
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1126
>             Project: Tuscany
>          Issue Type: New Feature
>            Reporter: Rashmi Hunt
>         Assigned To: Raymond Feng
>         Attachments: binding.ejb.jar, ejb-reference-sample.jar
>
>
> Please find Stateless Session Bean Reference Binding implementation and corresponding sample attached with 
> this JIRA.  This contribution is from IBM to Apache as granted by the CCLA signed on 9 February 2007
> Implementation:-
> Stateless Session Bean reference binding enables SCA composite to consume service exposed by external
> Stateless EJB. This implementation conforms to current Stateless EJB binding spec.
> Reference binding implementation supports SCA composite running on both
> 	1) managed environment (J2EE)
> 	2) un-managed environment (J2SE)
> This implementation can lookup and invoke any Stateless EJB just with the URI and Reference interface from SCDL. 
> Key part of this implementation is caller (SCA composite with reference binding) doesn't need to include 
> EJB home class or client related stub classes of the EJB. (see a note below).
> Stateless EJB home lookup is done based on whether the SCA composite is running on managed/unmanaged environment.
> JNDI name gets resolved either from InitialContext or CosNaming context based on whether composite is running on 
> managed/un-managed environment and based on whether JNDI properties are configured or not. This implementation creates
> the stub based on the type of home object through java reflection or via RMI/IIOP. EJB method is invoked on the stub through java 
> reflection or through DII, based on whether the ejb object is local or remote.
> Sample:-
> EJB reference binding sample demonstrates how SCA composite can invoke Stateless Session Bean which is running on Geronimo.
> This sample exercises un-managed env path with configured JNDI properties. Using Geronimo application server, managed path or 
> locating through cosNaming is not tested.
> Note: Including home class at the caller (composite with reference binding) is required only if the EJB is running on 
> Geronimo application server which uses openejb.  This is not required for application servers like WebSphere.
> Tuscany revision:
> Binding implementation and sample code is compiled and tested with Tuscany SCA revision 497910. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1126) Stateless Session Bean Reference Binding implementation

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Sebastien Delfino resolved TUSCANY-1126.
---------------------------------------------

    Resolution: Fixed

The patch has been applied.

> Stateless Session Bean Reference Binding implementation
> -------------------------------------------------------
>
>                 Key: TUSCANY-1126
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1126
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA EJB Binding Extension
>            Reporter: Rashmi Hunt
>            Assignee: ant elder
>             Fix For: Java-SCA-0.91
>
>         Attachments: binding.ejb.jar, ejb-reference-sample.jar
>
>
> Please find Stateless Session Bean Reference Binding implementation and corresponding sample attached with 
> this JIRA.  This contribution is from IBM to Apache as granted by the CCLA signed on 9 February 2007
> Implementation:-
> Stateless Session Bean reference binding enables SCA composite to consume service exposed by external
> Stateless EJB. This implementation conforms to current Stateless EJB binding spec.
> Reference binding implementation supports SCA composite running on both
> 	1) managed environment (J2EE)
> 	2) un-managed environment (J2SE)
> This implementation can lookup and invoke any Stateless EJB just with the URI and Reference interface from SCDL. 
> Key part of this implementation is caller (SCA composite with reference binding) doesn't need to include 
> EJB home class or client related stub classes of the EJB. (see a note below).
> Stateless EJB home lookup is done based on whether the SCA composite is running on managed/unmanaged environment.
> JNDI name gets resolved either from InitialContext or CosNaming context based on whether composite is running on 
> managed/un-managed environment and based on whether JNDI properties are configured or not. This implementation creates
> the stub based on the type of home object through java reflection or via RMI/IIOP. EJB method is invoked on the stub through java 
> reflection or through DII, based on whether the ejb object is local or remote.
> Sample:-
> EJB reference binding sample demonstrates how SCA composite can invoke Stateless Session Bean which is running on Geronimo.
> This sample exercises un-managed env path with configured JNDI properties. Using Geronimo application server, managed path or 
> locating through cosNaming is not tested.
> Note: Including home class at the caller (composite with reference binding) is required only if the EJB is running on 
> Geronimo application server which uses openejb.  This is not required for application servers like WebSphere.
> Tuscany revision:
> Binding implementation and sample code is compiled and tested with Tuscany SCA revision 497910. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1126) Stateless Session Bean Reference Binding implementation

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503056 ] 

ant elder commented on TUSCANY-1126:
------------------------------------

Looks like all the legal processes are done now (see: http://marc.info/?l=incubator-general&m=118107962010063&w=4), so I'll get this applied and try to get the binding, sample and doc ready in time for the 0.91 release. 




> Stateless Session Bean Reference Binding implementation
> -------------------------------------------------------
>
>                 Key: TUSCANY-1126
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1126
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA EJB Binding Extension
>            Reporter: Rashmi Hunt
>            Assignee: ant elder
>             Fix For: Java-SCA-0.91
>
>         Attachments: binding.ejb.jar, ejb-reference-sample.jar
>
>
> Please find Stateless Session Bean Reference Binding implementation and corresponding sample attached with 
> this JIRA.  This contribution is from IBM to Apache as granted by the CCLA signed on 9 February 2007
> Implementation:-
> Stateless Session Bean reference binding enables SCA composite to consume service exposed by external
> Stateless EJB. This implementation conforms to current Stateless EJB binding spec.
> Reference binding implementation supports SCA composite running on both
> 	1) managed environment (J2EE)
> 	2) un-managed environment (J2SE)
> This implementation can lookup and invoke any Stateless EJB just with the URI and Reference interface from SCDL. 
> Key part of this implementation is caller (SCA composite with reference binding) doesn't need to include 
> EJB home class or client related stub classes of the EJB. (see a note below).
> Stateless EJB home lookup is done based on whether the SCA composite is running on managed/unmanaged environment.
> JNDI name gets resolved either from InitialContext or CosNaming context based on whether composite is running on 
> managed/un-managed environment and based on whether JNDI properties are configured or not. This implementation creates
> the stub based on the type of home object through java reflection or via RMI/IIOP. EJB method is invoked on the stub through java 
> reflection or through DII, based on whether the ejb object is local or remote.
> Sample:-
> EJB reference binding sample demonstrates how SCA composite can invoke Stateless Session Bean which is running on Geronimo.
> This sample exercises un-managed env path with configured JNDI properties. Using Geronimo application server, managed path or 
> locating through cosNaming is not tested.
> Note: Including home class at the caller (composite with reference binding) is required only if the EJB is running on 
> Geronimo application server which uses openejb.  This is not required for application servers like WebSphere.
> Tuscany revision:
> Binding implementation and sample code is compiled and tested with Tuscany SCA revision 497910. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1126) Stateless Session Bean Reference Binding implementation

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder updated TUSCANY-1126:
-------------------------------

    Fix Version/s:     (was: Java-SCA-Next)
                   Java-SCA-0.91

> Stateless Session Bean Reference Binding implementation
> -------------------------------------------------------
>
>                 Key: TUSCANY-1126
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1126
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA EJB Binding Extension
>            Reporter: Rashmi Hunt
>            Assignee: ant elder
>             Fix For: Java-SCA-0.91
>
>         Attachments: binding.ejb.jar, ejb-reference-sample.jar
>
>
> Please find Stateless Session Bean Reference Binding implementation and corresponding sample attached with 
> this JIRA.  This contribution is from IBM to Apache as granted by the CCLA signed on 9 February 2007
> Implementation:-
> Stateless Session Bean reference binding enables SCA composite to consume service exposed by external
> Stateless EJB. This implementation conforms to current Stateless EJB binding spec.
> Reference binding implementation supports SCA composite running on both
> 	1) managed environment (J2EE)
> 	2) un-managed environment (J2SE)
> This implementation can lookup and invoke any Stateless EJB just with the URI and Reference interface from SCDL. 
> Key part of this implementation is caller (SCA composite with reference binding) doesn't need to include 
> EJB home class or client related stub classes of the EJB. (see a note below).
> Stateless EJB home lookup is done based on whether the SCA composite is running on managed/unmanaged environment.
> JNDI name gets resolved either from InitialContext or CosNaming context based on whether composite is running on 
> managed/un-managed environment and based on whether JNDI properties are configured or not. This implementation creates
> the stub based on the type of home object through java reflection or via RMI/IIOP. EJB method is invoked on the stub through java 
> reflection or through DII, based on whether the ejb object is local or remote.
> Sample:-
> EJB reference binding sample demonstrates how SCA composite can invoke Stateless Session Bean which is running on Geronimo.
> This sample exercises un-managed env path with configured JNDI properties. Using Geronimo application server, managed path or 
> locating through cosNaming is not tested.
> Note: Including home class at the caller (composite with reference binding) is required only if the EJB is running on 
> Geronimo application server which uses openejb.  This is not required for application servers like WebSphere.
> Tuscany revision:
> Binding implementation and sample code is compiled and tested with Tuscany SCA revision 497910. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1126) Stateless Session Bean Reference Binding implementation

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Sebastien Delfino updated TUSCANY-1126:
--------------------------------------------

    Patch Info: [Patch Available]

> Stateless Session Bean Reference Binding implementation
> -------------------------------------------------------
>
>                 Key: TUSCANY-1126
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1126
>             Project: Tuscany
>          Issue Type: New Feature
>            Reporter: Rashmi Hunt
>         Assigned To: Raymond Feng
>         Attachments: binding.ejb.jar, ejb-reference-sample.jar
>
>
> Please find Stateless Session Bean Reference Binding implementation and corresponding sample attached with 
> this JIRA.  This contribution is from IBM to Apache as granted by the CCLA signed on 9 February 2007
> Implementation:-
> Stateless Session Bean reference binding enables SCA composite to consume service exposed by external
> Stateless EJB. This implementation conforms to current Stateless EJB binding spec.
> Reference binding implementation supports SCA composite running on both
> 	1) managed environment (J2EE)
> 	2) un-managed environment (J2SE)
> This implementation can lookup and invoke any Stateless EJB just with the URI and Reference interface from SCDL. 
> Key part of this implementation is caller (SCA composite with reference binding) doesn't need to include 
> EJB home class or client related stub classes of the EJB. (see a note below).
> Stateless EJB home lookup is done based on whether the SCA composite is running on managed/unmanaged environment.
> JNDI name gets resolved either from InitialContext or CosNaming context based on whether composite is running on 
> managed/un-managed environment and based on whether JNDI properties are configured or not. This implementation creates
> the stub based on the type of home object through java reflection or via RMI/IIOP. EJB method is invoked on the stub through java 
> reflection or through DII, based on whether the ejb object is local or remote.
> Sample:-
> EJB reference binding sample demonstrates how SCA composite can invoke Stateless Session Bean which is running on Geronimo.
> This sample exercises un-managed env path with configured JNDI properties. Using Geronimo application server, managed path or 
> locating through cosNaming is not tested.
> Note: Including home class at the caller (composite with reference binding) is required only if the EJB is running on 
> Geronimo application server which uses openejb.  This is not required for application servers like WebSphere.
> Tuscany revision:
> Binding implementation and sample code is compiled and tested with Tuscany SCA revision 497910. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org