Changes between Version 4 and Version 5 of ZooWebSite/2015/Code/ZOO-Services/Hello
- Timestamp:
- Feb 26, 2015, 11:07:30 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooWebSite/2015/Code/ZOO-Services/Hello
v4 v5 33 33 <a href="#" class="list-group-item list-group-item2 text-center"> 34 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"> 37 <img src="/img/zoo-java.png" class="img-responsive circb center-block mb" width="32" height="32"/>Java 35 38 </a> 36 39 <a href="#" class="list-group-item list-group-item2 text-center"> … … 79 82 </div> 80 83 84 <!--Java section --> 85 <div class="bhoechie-tab-content"> 86 <center> 87 <h3>Java</h3> 88 <pre class="language-php"> 89 <code>import java.lang.*; 90 import java.util.*; 91 92 public class HelloJava { 93 public static int HelloWorldJava(HashMap conf,HashMap inputs, HashMap outputs) { 94 HashMap tmp=(HashMap)(inputs.get("S")); 95 String v=tmp.get("value").toString(); 96 HashMap hm1 = (HashMap)(outputs.get("Result")); 97 hm1.put("value",ZOO._("Hello "+v+" from JAVA World !!")); 98 return ZOO.SERVICE_SUCCEEDED; 99 } 100 } 101 </code> 102 </pre> 103 </center> 104 </div> 105 81 106 <!--PHP section --> 82 107 <div class="bhoechie-tab-content">