Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Viewlet and Java

Hello,
Viewlets contribution as far as I can see are done via Dojo and Javascript using the extension point "com.ibm.team.dashboard.common.viewlets".
Is it possible to invoke a Java class from a Viewlet for instance?
Thank you

0 votes



2 answers

Permanent link
Hi Marly,

A client-side JavaScript viewlet can invoke server-side Java code via REST service calls (AJAX). A viewlet developer can write their own custom REST services in Java using facilities provided by the Foundation.

Please refer to the following documents for more details and tutorials:

https://jazz.net/wiki/bin/view/Main/ViewletAuthoring
https://jazz.net/wiki/bin/view/Main/ViewletServices
https://jazz.net/wiki/bin/view/Main/DashboardHelloWorldViewlet

HTH,

0 votes


Permanent link
Thanks that helps.

Hi Marly,

A client-side JavaScript viewlet can invoke server-side Java code via REST service calls (AJAX). A viewlet developer can write their own custom REST services in Java using facilities provided by the Foundation.

Please refer to the following documents for more details and tutorials:

https://jazz.net/wiki/bin/view/Main/ViewletAuthoring
https://jazz.net/wiki/bin/view/Main/ViewletServices
https://jazz.net/wiki/bin/view/Main/DashboardHelloWorldViewlet

HTH,

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Nov 11 '09, 5:17 p.m.

Question was seen: 5,255 times

Last updated: Nov 11 '09, 5:17 p.m.

Confirmation Cancel Confirm