Changeset 613 for trunk/docs/services
- Timestamp:
- Mar 13, 2015, 3:24:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/services/howtos.txt
r596 r613 204 204 ---- 205 205 206 Specifically for the Java support, you may add the following two 207 sections to your ``main.cfg`` file: 208 209 :[javaxx]: 210 This section is used to pass -XX:* parameters to the JVM created by the 211 ZOO-Kernel to handle your ZOO-Service (see `ref. 1 212 <http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html#BehavioralOptions>`__ 213 or `ref. 2 214 <http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html#PerformanceTuning>`__ 215 for sample available). 216 For each map ``a = b`` available in the ``[javaxx]`` section, the 217 option ``-XX:a=b`` will be passed to the JVM. In case of a map ``a = 218 minus`` (respectively ``a=plus``) then the option ``-XX:-a`` 219 (respectivelly ``-XX:+a``) will be passed. 220 :[javax]: 221 The section is used to pass -X* options to the JVM (see 222 `ref. <http://docs.oracle.com/cd/E22289_01/html/821-1274/configuring-the-default-jvm-and-java-arguments.html>`__). For 223 each map ``a = b`` available in the ``[javax]`` section, the option 224 ``-Xab`` will be passed to the JVM (ie. set ``mx=2G`` to pass 225 ``-Xmx2G``). 226 206 227 ZOO-API 207 228 ******* 208 229 209 Before you build your first ZOO-Service implemented in nJava, it is230 Before you build your first ZOO-Service implemented in Java, it is 210 231 recommended that you first build the ZOO class of the Java ZOO-API. 211 232 … … 228 249 229 250 .. Note:: For each Service provided by your ZOO Java Services Provider 230 (your corresponding Java class), the ZCFG File must be231 named the same as the Java public method name (also the232 case of characters is important).251 (your corresponding Java class), the ZCFG File should have 252 the name of the Java public method corresponding to the 253 service (case-sensitive). 233 254 234 255 The ZCFG file should contain the following : … … 239 260 The name of the Java class to use as a ZOO Service Provider. For instance, if your 240 261 java class, located in the same directory as your ZOO-Kernel, was 241 named ``Hello World.class`` then you should use ``HelloWorld``.262 named ``HelloJava.class`` then you should use ``HelloJava``. 242 263 243 264 Java Data Structure used
Note: See TracChangeset
for help on using the changeset viewer.