Wow,

This would be a really cool feature.

Also, what is " *hinting* in eclipse and intellij" ?


On Wed, Aug 13, 2008 at 5:36 AM, Dain Sundstrom <[EMAIL PROTECTED]> wrote:

> Got it cleaned up.  Here is spring file I'm working on:
>
>
> http://svn.apache.org/repos/asf/openejb/trunk/openejb3/container/openejb-spring/src/test/resources/org/apache/openejb/spring/spring.xml
>
> The "OpenEJB" bean starts the OpenEJB system.  I wrote type safe wrappers
> to declare our different container types so you get hinting in eclipse and
> intellij.  Resources can be defined in the "OpenEJB" bean using a syntax
> similar to the openejb.xml file, and these resources are constructed by
> OpenEJB using the defaults from the OpenEJB provider system.
>
> External to the "OpenEJB" bean any bean you define is imported into OpenEJB
> as an injectable resource.  The "OpenEJB" bean will also detect a
> TransactionManager and/or a SecurityService and use these instances instead
> of creating the default services.  Finally, this file shows a DataSource
> exported from OpenEJB to the Spring context.
>
> Next, I'm going to work on deployment of JEE applications in the Spring
> context.  After that, I'm thinking that a Spring xml extension could
> automatically export all of the EJBs and Resources in an application.
>
> Anyway, let me know what you think,
>
> -dain
>
>
> On Aug 13, 2008, at 12:06 AM, Dain Sundstrom wrote:
>
>  I've been working with Spring a lot lately which got me thinking about
>> embedding OpenEJB into a Spring application.  What I'm thinking about is a
>> user that has an exiting JEE module (ejb-jar) and wants to expose the
>> services (the EJBs) to the Spring context.  Also, I'd like to be able to
>> make the spring defined beans available to OpenEJB for injection into the
>> EJBs.
>>
>> I've been hacking on this for a few hours and it is looking very doable.
>>  Anyway, I'll clean up the code and check it so everyone can see.
>>
>> -dain
>>
>
>


-- 
Karan Singh Malhi

Reply via email to