Changes between Version 16 and Version 17 of ZooWebSite/2015/Code/ZOO-Services/Hello
- Timestamp:
- Feb 26, 2015, 11:58:44 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooWebSite/2015/Code/ZOO-Services/Hello
v16 v17 31 31 <img src="/img/zoo-snake.png" class="img-responsive circb center-block mb" width="32" height="32"/>Python 32 32 </a> 33 34 <a href="#" class="list-group-item list-group-item2 text-center"> 33 <a href="#" class="list-group-item list-group-item2 text-center"> 34 <img src="/img/zoo-cheetah.png" class="img-responsive circb center-block mb" width="32" height="32"/>C/C++ 35 </a> 36 <a href="#" class="list-group-item list-group-item2 text-center"> 35 37 <img src="/img/zoo-java.png" class="img-responsive circb center-block mb" width="32" height="32"/>Java 36 38 </a> … … 40 42 <a href="#" class="list-group-item list-group-item2 text-center"> 41 43 <img src="/img/zoo-camel.png" class="img-responsive circb center-block mb" width="32" height="32"/>Perl 42 </a>43 <a href="#" class="list-group-item list-group-item2 text-center">44 <img src="/img/zoo-ruby.png" class="img-responsive circb center-block mb" width="32" height="32"/>Ruby45 44 </a> 46 45 </div> … … 75 74 </div> 76 75 76 <!--C section --> 77 <div class="bhoechie-tab-content"> 78 <center> 79 <h3>C</h3> 80 <pre class="language-c"> 81 <code>printf</code> 82 </pre> 83 </center> 84 </div> 77 85 86 <!--Java section --> 87 <div class="bhoechie-tab-content"> 88 <center> 89 <h3>Java</h3> 90 <pre class="language-java"> 91 <code>import java.lang.*; 92 import java.util.*; 93 public class HelloJava { 94 public static int HelloWorldJava(HashMap conf,HashMap inputs, HashMap outputs) { 95 HashMap tmp=(HashMap)(inputs.get("S")); 96 String v=tmp.get("value").toString(); 97 HashMap hm1 = (HashMap)(outputs.get("Result")); 98 hm1.put("value",ZOO._("Hello "+v+" from JAVA World !!")); 99 return ZOO.SERVICE_SUCCEEDED; 100 } 101 } 102 </code> 103 </pre> 104 </center> 105 </div> 78 106 79 107 <!--PHP section -->