Hi,
Welcome to Tuscany. Please see my comments inline.
Thanks,
Raymond
--------------------------------------------------
From: "Maxime Porhel" <[EMAIL PROTECTED]>
Sent: Friday, July 18, 2008 7:42 AM
To: <[email protected]>
Subject: Some questions about implementation.ejb in Tuscany 1.2.1
Hi all,
I am a new user of Tuscany. I am using the 1.2.1 binary distribution for
windows.
I would like to deploy EJBs (stateless session bean, EJB2) in Tuscany. Is
it possible today with 1.2.1 ? I saw that Java EE integration
specification was published two weeks ago. But the fact that Tuscany
already had an implementation.ejb, I would like to know if it already
worked before the osoa's spec.
There are different options:
1) Use binding.ejb to expose a SCA service as a stateless session bean
2) Develop EJBs using JEE programming model and use them as SCA component
implementations (implementation.ejb).
For 1), we have some experimental implementation using OpenEJB.
The 2nd option doesn't mandate a SCA runtime. It can be used for wiring
purposes: modeling EJBs as components and enable wirings between SCA
components and EJBs.
I tried to test the store tutorial with the catalog-ejb enabled, I
modified the store-merger.composite (comment the vegetables catalog
webservice reference line and uncomment the catalog-mediation reference
line).
Whereas it works with the default version, it fails with the catalog-ejb
enabled version : when I go on the page corresponding to the store-merger
(/localhost:8101/ui/), I have the following error : /TypeError : items is
null/.
You need to deploy tutorial-catalog-ejb.jar (generated from the maven build)
to an application server such as Geronimo or WebSphere.
Does it come from the ejb binding which seems not to be ready for ejb
binding service but only for ejb binding references ?
The service-side binding.ejb support are in trunk modules: host-ejb,
host-openejb
Is the ejb implementation working in the 1.2.1 distribution ?
I think so. At least the store tutorial.
Regards,
Maxime Porhel
Obeo