How do I register my new project as a service under META-INF/services. just like
* /modules/implementation-widget-runtime-dojo/src/main/resources/META-INF/services/org.apache.tuscany.sca.web.javascript.ComponentJavaScriptGenerator * * * I created /modules/implementation-widget-runtime-*jquery* /src/main/resources/META-INF/services/org.apache.tuscany.sca.web.javascript.ComponentJavaScriptGenerator * * I found the service fetching is done in Line 176 org.apache.tuscany.sca.extensibility.ContextClassLoaderServiceDiscoverer.ServiceDeclarationImpl.getServiceDeclarations(String serviceName) But what is happening under the hood of getResources(name). My bad. On 6 September 2013 23:41, Akhil Anil <akhil.ka...@gmail.com> wrote: > Please find my first ever patch (as an attachment in the jira > issue<https://issues.apache.org/jira/browse/TUSCANY-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel>) > to open source code for the following tasks: > > - Add support for bootstrapping jquery (similar to > web-javascript-dojo/) (patch) > - Add proxy generation using jquery (similar to > implementation-widget-runtime-dojo/) (patch) > > Apologies if there are many mistakes, there are a few flaws Im aware of. > Didn't download the official jquery. I've used org.jszip.redist:jquery. > The proxy generation code is left intact (its left as it is in dojo, except > for the renamed variable names). I didn't quite figure out what to generate > for jquery or if it should be changed at all. If this is how a real patch > is taken for Tuscany I could try out more in the coming days. > > > On 29 August 2013 23:43, Luciano Resende <luckbr1...@gmail.com> wrote: > >> >> >> >> On Thu, Aug 29, 2013 at 9:55 AM, Akhil Anil <akhil.ka...@gmail.com>wrote: >> >>> I'm trying to implement a jQuery alternative to the existing dojo. I've >>> been reading quite a bit about 'smd' that's required by dojo. It actually >>> sort of clones the java class and invoke the java function from javascript. >>> I couldn't find this kind of functionality in jquery. What are the options >>> or any workarounds? >>> >>> >>> >> Just look for JSON-RPC client for JQuery, SMD is a dojo specific thing >> and might not be needed for other clients. >> >> As for next steps, I'd recommend : >> >> - Add support for bootstrapping jquery (similar to web-javascript-dojo/) >> (patch) >> - Add proxy generation using jquery (similar to >> implementation-widget-runtime-dojo/) (patch) >> - Add support for rest which is simpler (patch) >> - Add support for json-rpc (and investigate possible clients for that) >> (patch) >> >> It would be great to have patches coming for the first two items next >> week. >> >> >> -- >> Luciano Resende >> http://people.apache.org/~lresende >> http://twitter.com/lresende1975 >> http://lresende.blogspot.com/ >> > > > > -- > > Thanks and regards.... > > May God Bless us! > > *AkH!L.* > > *http://akhilspassion.blogspot.com* > -- Thanks and regards.... May God Bless us! *AkH!L.* *http://akhilspassion.blogspot.com*