You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Supun Malinga (Commented) (JIRA)" <ji...@apache.org> on 2011/11/30 12:45:40 UTC

[jira] [Commented] (AXIS2-5204) Support for exposing ejb 3.x as web-services

    [ https://issues.apache.org/jira/browse/AXIS2-5204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159991#comment-13159991 ] 

Supun Malinga commented on AXIS2-5204:
--------------------------------------

After some work I could modify the ejb Message receivers to support ejb3.0. I made this as a separate message receiver. Three new classes introduced.
org/apache/axis2/rpc/receivers/ejb/EJB3Util.java
org/apache/axis2/rpc/receivers/ejb/EJB3InOnlyMessageReceiver.jav
org/apache/axis2/rpc/receivers/ejb/EJB3MessageReceiver.java

Attached a draft patch. I'll further look into do more fine tuning and testing with different appservers.
                
> Support for exposing ejb 3.x as web-services
> --------------------------------------------
>
>                 Key: AXIS2-5204
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5204
>             Project: Axis2
>          Issue Type: Improvement
>          Components: adb
>    Affects Versions: 1.6.1
>            Reporter: Supun Malinga
>              Labels: patch
>             Fix For: 1.7.0
>
>         Attachments: ejb3support_v1.patch
>
>
> axis2 supports exposing ejb2 components as web-services. Refer [1]. This is handles via extending Message receiver to look-up jndi contexts and handle invocations.
> For eg: org.apache.axis2.rpc.receivers.ejb.EJBInOnlyMessageReceiver
>             org.apache.axis2.rpc.receivers.ejb.EJBMessageReceiver
> Currently this implementation works with ejb 2.0.
> Since ejb 3.x has changed lot(from architectural level) since ejb2 this implementation is not usable with ejb 3. I'm working on improving it to support ejb 3.0.
> But we may have to move away from support for ejb2 while doing this. As ejb 2 is a pretty old standard [2] and ejb 3 is widely used.
> I'am still working to come up with a implementation for this.
> [1] http://axis.apache.org/axis2/java/core/docs/ejb-provider.html
> [2] http://en.wikipedia.org/wiki/Enterprise_JavaBean#Version_history

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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