Rashmi Hunt wrote: > I was trying to see how the client code looks like with the new APIs > from the sandbox. With the new architecture, I don't see TuscanyRuntime, > ModuleContext etc. > > I do see DefaultBootstrapper, RuntimeComponent, CompositeComponentExtension > etc in the sandbox, But, need some help in understanding set of client > APIs. > Question, > 1) Which API starts Tuscany runtime?
There's still working going on on that. The actual process for doing this will depend on the host environment, with support provided by the DefaultBootstrapper to handle a lot of the common functions. For J2SE we should continue to support the "TuscanyRuntime" host but would need to switch the implementation to use the bootstrapper. I've also started to mess around with a "launcher" that would remove the need to have any bootstrap code in application by replacing it with a "client" container. The Tomcat code won't need to change much - just updates to how the bootstrapper is invoked. > 2) If I have a java component (e.g JobBankServiceComponent), which API to > use for locating/invoking the service? I think Jim is working on this stuff - I've not looked at his spec api changes yet. > 3) Is there a sample(preferably ported over from M1), which shows usage of > the new APIs? (I couldn't find such a sample in the sandbox tree) > Not yet. -- Jeremy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
