Hey Mohammad,

IMHO, it could work without any changes using openejb-spring (aka.
bootstrapping OpenEJB in Spring).
But actually, i don't know how to use it without openejb-spring.

By the way, i have another question related to Spring. Is it possible to
start a spring application context and use spring beans in OpenEJB. I'd like
to start an application context using a kind of openejb service (with a set
of xml config files) and then use beans declared within OpenEJB (@resource,
...).

comments?

Jean-Louis




Mohammad Nour El-Din wrote:
> 
> Hi Jean...
> 
>    Seems very interesting, I skimmed over the blog. But I am
> wondering, can't we use this feature as it is in OpenEJB instead of
> re-implementing it, and then we can create some user documentation on
> how to do so. wdyt ?
> 
> On Thu, Mar 25, 2010 at 12:52 PM, Jean-Louis MONTEIRO
> <[email protected]> wrote:
>>
>> Hi,
>>
>> Some month ago, i used a Spring feature called DynamicRoutingDatasource
>> in
>> order to split data on database servers.
>>
>> Here is a short description
>> http://blog.springsource.com/2007/01/23/dynamic-datasource-routing/
>> http://blog.springsource.com/2007/01/23/dynamic-datasource-routing/ .
>>
>> I will need to implement such a feature in OpenEJB for my company.
>> So, i wonder if we could make that feature available in the Apache
>> OpenEJB
>> distribution.
>>
>> Feedback is welcome.
>>
>> Jean-Louis
>> --
>> View this message in context:
>> http://n4.nabble.com/Dynamic-Routing-Datasource-Wrapper-tp1690435p1690435.html
>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>
> 
> 
> 
> -- 
> Thanks
> - Mohammad Nour
> - LinkedIn: http://www.linkedin.com/in/mnour
> ----
> "Life is like riding a bicycle. To keep your balance you must keep moving"
> - Albert Einstein
> 
> "Writing clean code is what you must do in order to call yourself a
> professional. There is no reasonable excuse for doing anything less
> than your best."
> - Clean Code: A Handbook of Agile Software Craftsmanship
> 
> 

-- 
View this message in context: 
http://n4.nabble.com/Dynamic-Routing-Datasource-Wrapper-tp1690435p1690746.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to