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 "Eranga Jayasundera (JIRA)" <ji...@apache.org> on 2007/01/18 14:13:30 UTC
[jira] Created: (AXIS2-1998) EJB provider is not available for
Axis2
EJB provider is not available for Axis2
---------------------------------------
Key: AXIS2-1998
URL: https://issues.apache.org/jira/browse/AXIS2-1998
Project: Apache Axis 2.0 (Axis2)
Issue Type: New Feature
Components: rpc
Affects Versions: nightly
Reporter: Eranga Jayasundera
Priority: Minor
Fix For: nightly
Axis 1 comes with an EJB provider. But there is no EJB provider in Axis2.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1998) EJB provider is not available for
Axis2
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS2-1998:
------------------------------------
Assignee: Deepal Jayasinghe
> EJB provider is not available for Axis2
> ---------------------------------------
>
> Key: AXIS2-1998
> URL: https://issues.apache.org/jira/browse/AXIS2-1998
> Project: Axis 2.0 (Axis2)
> Issue Type: New Feature
> Components: rpc
> Affects Versions: nightly
> Reporter: Eranga Jayasundera
> Assigned To: Deepal Jayasinghe
> Priority: Minor
> Fix For: nightly
>
> Attachments: ejb_msg_recvr.patch, src.zip, tutorial.rtf
>
>
> Axis 1 comes with an EJB provider. But there is no EJB provider in Axis2.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1998) EJB provider is not available for
Axis2
Posted by "Eranga Jayasundera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eranga Jayasundera updated AXIS2-1998:
--------------------------------------
Attachment: src.zip
Source files needed for the tutorial.rtf
> EJB provider is not available for Axis2
> ---------------------------------------
>
> Key: AXIS2-1998
> URL: https://issues.apache.org/jira/browse/AXIS2-1998
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: New Feature
> Components: rpc
> Affects Versions: nightly
> Reporter: Eranga Jayasundera
> Priority: Minor
> Fix For: nightly
>
> Attachments: ejb_msg_recvr.patch, src.zip, tutorial.rtf
>
>
> Axis 1 comes with an EJB provider. But there is no EJB provider in Axis2.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-1998) EJB provider is not available for
Axis2
Posted by "Eranga Jayasundera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eranga Jayasundera resolved AXIS2-1998.
---------------------------------------
Resolution: Fixed
I have ported the Axis 1 EJB provider to Axis2. I introduced the following message receivers to work with EJBs. These message receivers extend the corresponding RPC message receivers.
org.apache.axis2.rpc.receivers.ejb.EJBInOnlyMessageReceiver
org.apache.axis2.rpc.receivers.ejb.EJBInOutAsyncMessageReceiver
org.apache.axis2.rpc.receivers.ejb.EJBMessageReceiver
Here is an example for the structure of a valid aar file.
SampleEJBService.aar
|
+--META-INF
| +--services.xml
| +--SampleEJBService.wsdl
|
+--lib
| +--[jars used by the ejb client eg.initial context factory classes]
|
+--[home/remote/local interface classes]
Sample services.xml will look like this.
<serviceGroup>
<service name="SampleEJBService">
<description>description</description>
<messageReceivers>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only" class="org.apache.axis2.rpc.receivers.ejb.EJBInOnlyMessageReceiver"/>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.rpc.receivers.ejb.EJBMessageReceiver"/>
</messageReceivers>
<parameter name="remoteInterfaceName">simplessbean.SampleEJBService</parameter>
<parameter name="homeInterfaceName">simplessbean.SampleEJBServiceHome</parameter>
<parameter name="beanJndiName">/SampleEJBServiceBean</parameter>
<parameter name="providerUrl">127.0.0.1:4201</parameter>
<parameter name="jndiContextClass">org.openejb.client.JNDIContext</parameter>
</service>
</serviceGroup>
The available parameters are as follows.
beanJndiName
homeInterfaceName
remoteInterfaceName
localHomeInterfaceName
localInterfaceName
jndiContextClass
providerUrl
jndiUser
jndiPassword
Known issues: Currently wsdl is generated only for RPC message receivers. This feature does not work with EJB message providers.
Patch file is attached.
> EJB provider is not available for Axis2
> ---------------------------------------
>
> Key: AXIS2-1998
> URL: https://issues.apache.org/jira/browse/AXIS2-1998
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: New Feature
> Components: rpc
> Affects Versions: nightly
> Reporter: Eranga Jayasundera
> Priority: Minor
> Fix For: nightly
>
> Attachments: ejb_msg_recvr.patch
>
>
> Axis 1 comes with an EJB provider. But there is no EJB provider in Axis2.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1998) EJB provider is not available for
Axis2
Posted by "Eranga Jayasundera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eranga Jayasundera updated AXIS2-1998:
--------------------------------------
Attachment: tutorial.rtf
A simple tutorial.
> EJB provider is not available for Axis2
> ---------------------------------------
>
> Key: AXIS2-1998
> URL: https://issues.apache.org/jira/browse/AXIS2-1998
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: New Feature
> Components: rpc
> Affects Versions: nightly
> Reporter: Eranga Jayasundera
> Priority: Minor
> Fix For: nightly
>
> Attachments: ejb_msg_recvr.patch, src.zip, tutorial.rtf
>
>
> Axis 1 comes with an EJB provider. But there is no EJB provider in Axis2.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1998) EJB provider is not available for
Axis2
Posted by "Eranga Jayasundera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eranga Jayasundera updated AXIS2-1998:
--------------------------------------
Attachment: ejb_msg_recvr.patch
> EJB provider is not available for Axis2
> ---------------------------------------
>
> Key: AXIS2-1998
> URL: https://issues.apache.org/jira/browse/AXIS2-1998
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: New Feature
> Components: rpc
> Affects Versions: nightly
> Reporter: Eranga Jayasundera
> Priority: Minor
> Fix For: nightly
>
> Attachments: ejb_msg_recvr.patch
>
>
> Axis 1 comes with an EJB provider. But there is no EJB provider in Axis2.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-1998) EJB provider is not available for
Axis2
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas resolved AXIS2-1998.
-------------------------------------
Resolution: Fixed
> EJB provider is not available for Axis2
> ---------------------------------------
>
> Key: AXIS2-1998
> URL: https://issues.apache.org/jira/browse/AXIS2-1998
> Project: Axis 2.0 (Axis2)
> Issue Type: New Feature
> Components: rpc
> Affects Versions: nightly
> Reporter: Eranga Jayasundera
> Assigned To: Deepal Jayasinghe
> Priority: Minor
> Fix For: nightly
>
> Attachments: ejb_msg_recvr.patch, src.zip, tutorial.rtf
>
>
> Axis 1 comes with an EJB provider. But there is no EJB provider in Axis2.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1998) EJB provider is not available for
Axis2
Posted by "robert lazarski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465829 ]
robert lazarski commented on AXIS2-1998:
----------------------------------------
Eranga, I looked briefly at the code and it looks promising. I think it would be cool if we gave axis2 users the option of using EJB if they choose to do so. Although this is a port from axis 1.x , a lot has happened since then. Frankly, the EJB provider never was widely used, perhaps because lack of docs and integration with the popular containers. I have however used EJB and axis 1.x (forked) alot with JBoss which didn't use the EJBProvider, and have some questions:
1) Do you have working code or test cases with this patch ?
2) Have you considered how this patch would integrate with popular containers such as JBoss and geronimo ?
3) EJB 3.0 ? The JAX-WS folks may also have plans here.
4) Perhaps we could delegate the responsibility of loading the EJB and its JNDI bindings to the container ? If we did that, we could also perhaps avoid extending every MR and make this a lot less work. I'm thinking ServiceObjectSupplier or something like that. Not sure if its possible yet, but its worth exploring.
In short, what you have may work but I question if it would get much use. Looking forward to working with you to get the code committed, barring objections from the list.
> EJB provider is not available for Axis2
> ---------------------------------------
>
> Key: AXIS2-1998
> URL: https://issues.apache.org/jira/browse/AXIS2-1998
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: New Feature
> Components: rpc
> Affects Versions: nightly
> Reporter: Eranga Jayasundera
> Priority: Minor
> Fix For: nightly
>
> Attachments: ejb_msg_recvr.patch
>
>
> Axis 1 comes with an EJB provider. But there is no EJB provider in Axis2.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Reopened: (AXIS2-1998) EJB provider is not available for
Axis2
Posted by "Eranga Jayasundera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eranga Jayasundera reopened AXIS2-1998:
---------------------------------------
Reopened since the patch is not applied yet
> EJB provider is not available for Axis2
> ---------------------------------------
>
> Key: AXIS2-1998
> URL: https://issues.apache.org/jira/browse/AXIS2-1998
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: New Feature
> Components: rpc
> Affects Versions: nightly
> Reporter: Eranga Jayasundera
> Priority: Minor
> Fix For: nightly
>
> Attachments: ejb_msg_recvr.patch
>
>
> Axis 1 comes with an EJB provider. But there is no EJB provider in Axis2.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1998) EJB provider is not available for
Axis2
Posted by "Eranga Jayasundera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467246 ]
Eranga Jayasundera commented on AXIS2-1998:
-------------------------------------------
Lazarski, I tested this patch with Geronimo, JBoss and Weblogic. It works fine. I have uploaded a simple tutorial (tutorial.rtf) and source files needed for the tutorial (src.zip).
I couldn't find a solution for your 4th question yet. In this patch I delegated the responsibility of loading the EJB to a utility class.
> EJB provider is not available for Axis2
> ---------------------------------------
>
> Key: AXIS2-1998
> URL: https://issues.apache.org/jira/browse/AXIS2-1998
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: New Feature
> Components: rpc
> Affects Versions: nightly
> Reporter: Eranga Jayasundera
> Priority: Minor
> Fix For: nightly
>
> Attachments: ejb_msg_recvr.patch
>
>
> Axis 1 comes with an EJB provider. But there is no EJB provider in Axis2.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1998) EJB provider is not available for
Axis2
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477368 ]
Davanum Srinivas commented on AXIS2-1998:
-----------------------------------------
Looks like we have applied the patch. though we need to work on a sample/tutorial.
-- dims
> EJB provider is not available for Axis2
> ---------------------------------------
>
> Key: AXIS2-1998
> URL: https://issues.apache.org/jira/browse/AXIS2-1998
> Project: Axis 2.0 (Axis2)
> Issue Type: New Feature
> Components: rpc
> Affects Versions: nightly
> Reporter: Eranga Jayasundera
> Assigned To: Deepal Jayasinghe
> Priority: Minor
> Fix For: nightly
>
> Attachments: ejb_msg_recvr.patch, src.zip, tutorial.rtf
>
>
> Axis 1 comes with an EJB provider. But there is no EJB provider in Axis2.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org