Dave Miner wrote: >Sundar Yamunarchari wrote: >> In our use cases, the client ask for the specific data and server >> provides the data. In the case self-contained AI, the client will not >> use any transport. So I think it should work. Still have to think >> about how the client gets the AI manifest. > > Well, one model is that it doesn't use any transport; another model is > that you implement a sort of "null" transport which takes file: URL's or > something like that. One nice thing about the null transport model is > that you can use it for a simplified testing environment to exercise all > the other pieces more completely, and it further tests the generality of > what you've done. I'd suggest thinking about that a bit more. > http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
I have to agree with Dave; I did the same thing for the pkg(5) publication API and found it was quite helpful. Although, in our case, file:// is actually functional, while null:// is just used for pure abstract testing. Cheers, -- Shawn Walker