This is actually one of the goals of the SCA programming models - having a model that allows users to test their components without needing to boot a load of container infrastructure.

--
Jeremy

On Sep 26, 2006, at 12:17 PM, Luciano Resende wrote:

I was considering this more like a 2nd option, as it was going to bypass the SCA wiring.. but if this is acceptable, it's pretty much what i had as a 1st
pass to exercise the service.

- Luciano

On 9/26/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote:

How about just newing up the instance and inject/mock its dependencies?
--
Jeremy

On Sep 26, 2006, at 11:12 AM, Luciano Resende wrote:

> Hi All
>
>   I have created some jUnit for account services exercising the
> persistence
> layer using DAS. I would also like to extend the jUnit testcases to
> instantiate a AccountService instance using SCA...
>
>   I know BigBank is having some blocking issues around SCA, would
> that be
> affecting what I want to acomplish ?
>
> Is there any place in Tuscany where I could find simmilar aproach ?
>
>   Any pointers would be of great help, as this is my first contact
> with the
> SCA area...
>
> - Luciano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to