-
1. Re: Writing a CORBA enabled EJB - examples ???
stanimir Jan 9, 2004 12:10 PM (in response to vomus)"stanimir" wrote:
"stanimir" wrote:
"stanimir" wrote:
Actually, there is no difference between writing Corba enabled EJB and standard EJB.
Your Jboss.xml file must include the following tag
<invoker-bindings>
<invoker>
<invoker-proxy-binding-name>stateless-rmi-invoker</invoker-proxy-binding-name>
</invoker>
<invoker>
<invoker-proxy-binding-name>iiop</invoker-proxy-binding-name>
</invoker>
</invoker-bindings>
This says Jboss that your EJB could be accessed through iiop and rmi.
Deploy your EJB in default/all directory and start Jboss using run -c all command.
You are ready to test your EJB.
Cheers stan. -
2. Re: Writing a CORBA enabled EJB - examples ???
vomus Jan 10, 2004 3:40 AM (in response to vomus)"vomus" wrote:
"vomus" wrote:
"vomus" wrote:
Bah! I actually meant another thing - I want to pull a method
accessable through an external CORBA server. I must have written
this more clearly.
See, I have a server that exhibits some interfaces through CORBA
and I want to get data from this server into my bean. Does it mean
I have to somehow configure JCA or do something totally different. -
3. Re: Writing a CORBA enabled EJB - examples ???
enterprisejavabones Feb 24, 2004 1:28 AM (in response to vomus)Hi,
i've got exactly the same issue. I'm trying to use the IONA Orbix ORB but when i try to init the ORB i get some nag about not being able to instantiate the default orb com.iona....
I moved the code to a standalone app that works fine.
If you found the solution, please do tell me how.
Thanks
Bones. -
4. Re: Writing a CORBA enabled EJB - examples ???
sunilarora123 Feb 23, 2005 7:32 AM (in response to vomus)I did same what you said my Jboss.xml file is as follows
<ejb-name>Hello</ejb-name>
<jndi-name>Hello</jndi-name>
<local-jndi-name>HelloLocal</local-jndi-name>
</enterprise-beans>
<resource-managers>
</resource-managers>
<invoker-bindings>
<invoker-proxy-binding-name>stateless-rmi-invoker</invoker-proxy-binding-name>
<invoker-proxy-binding-name>iiop</invoker-proxy-binding-name>
</invoker-bindings>
But still I am not able to access the EJB via corba client.
I already tested it by puuing inside the <enterprise bean> still i am getting exception Name not found . There is no object bound on 3528 port.
Please suggest me where i am wrong?