[Carbon-dev] Separating out the Code Generation part for all the UI bundles.
sameera at wso2.com
Sat Mar 5 22:40:07 PST 2011
Please check  and  for sample implementation of this concept.
On Sun, Mar 6, 2011 at 12:02 PM, Sameera Jayasoma <sameera at wso2.com> wrote:
> Hi Folks,
> We(Sanjiva, Samisa, Srinath, AmilaM and myself) had an offline discussion
> on the subject on the last Friday. We came up with the following idea.
> Create separate project called "service-stubs" at the components, core
> level. In this service-stubs project, we generate code for all the wsdls at
> once and upload the jar files packaing these generated code to wso2
> dist-repo or SNAPSHOT repo.
> e.g. Consider the aar-services component. We generate the
> org.wso2.carbon.aarservices.stub-3.2.0-SNAPSHOT.jar with all the generated
> code and upload to our SNAPSHOT repo. Then in the aar-services UI component,
> we embed this jar files inside the UI bundle.
> This way we can cut down the time taken to generate code over and over
> again. But if someone make changes to these wsdl, that person needs to
> upload the stub jar again.
> Sameera Jayasoma
> Technical Lead and Product Manager, WSO2 Carbon
> WSO2, Inc. (http://wso2.com)
> email: sameera at wso2.com
> blog: http://tech.jayasoma.org
> Lean . Enterprise . Middleware
Technical Lead and Product Manager, WSO2 Carbon
WSO2, Inc. (http://wso2.com)
email: sameera at wso2.com
Lean . Enterprise . Middleware
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Carbon-dev