You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by David Blevins <da...@visi.com> on 2006/11/30 19:52:25 UTC
Re: OpenEJB examples
Also, take a look at this example which does run:
http://svn.apache.org/repos/asf/incubator/openejb/trunk/openejb3/
examples/helloworld-stateful-pojo/
It ran with the build so you've actually ran it already. But if you
take a close look at it, you'll see it's a stateless session bean
that doesn't have a single import to javax.ejb.* in the bean class.
The bean uses legacy interfaces (not business interfaces), which it
could. Just when the example was coded, we didn't yet support
business interfaces. We do now -- someone just needs to update the
example or make a different example that uses business interfaces.
I'm working on the code that will allow apps without deployment
descriptors to deploy into the system. We have the annotation
support, we just need to relax the code that checks for ejb-jar.xml.
-David
On Nov 30, 2006, at 6:49 AM, Mohammad Nour El-Din wrote:
> Hi Raj...
>
> Take a look at this thread
> http://marc.theaimsgroup.com/?l=openejb-
> development&m=116482846328131&w=2
>
>
>
> On 11/30/06, Raj Saini <ra...@gmail.com> wrote:
>
>> Hi,
>>
>> I have checked out and built the open|EJB from svn. I could
>> successfully
>> built and run the OpenEJB in standalone mode. Is it possible to
>> deploy
>> the EJB 3.0 components at this time?
>>
>> Regards,
>>
>> Raj
>>
>
>
>
> --
> Thanks
> - Mohammad Nour
Re: OpenEJB examples
Posted by David Blevins <da...@visi.com>.
On Nov 30, 2006, at 8:07 PM, David Blevins wrote:
> On Nov 30, 2006, at 10:52 AM, David Blevins wrote:
>
>> I'm working on the code that will allow apps without deployment
>> descriptors to deploy into the system. We have the annotation
>> support, we just need to relax the code that checks for ejb-jar.xml.
>>
>
> Ok, I just checked in a first attempt at this. No guarantees, but
> give it a try and let me know how it goes.
Woops. There was a fix I made to xbean-finder which I forgot to
publish. It's up in the repo now, make sure you build online.
-David
Re: OpenEJB examples
Posted by David Blevins <da...@visi.com>.
On Nov 30, 2006, at 10:52 AM, David Blevins wrote:
> I'm working on the code that will allow apps without deployment
> descriptors to deploy into the system. We have the annotation
> support, we just need to relax the code that checks for ejb-jar.xml.
>
Ok, I just checked in a first attempt at this. No guarantees, but
give it a try and let me know how it goes.
-David