博文

目前显示的是 九月, 2014的博文

wijmo and require.js

<!--RequireJs--> <script type="text/javascript" src="http://cdn.wijmo.com/external/require.js"></script> <script type="text/javascript">     requirejs.config({         baseUrl: "http://cdn.wijmo.com/amd-js/3.20142.45",             paths: {                 "jquery": "jquery-1.11.1.min",                 "jquery-ui": "jquery-ui-1.11.0.custom.min",                 "jquery.ui": "jquery-ui",                 "jquery.mousewheel": "jquery.mousewheel.min",                 "globalize": "globalize.min",                 "bootstrap": "bootstrap.min", //Needed if you use Bootstrap.                 "knockout": "knockout-3.1.0" //Needed if you use Knockout.             }     }); </script> <script id="scriptInit" type="text/javascript">     requir

verbose parameter

1. For java java -verbose[:class|gc|jni] Java -verbose:gc    Note: GC is java Garbage Collection.      -verbose:go shows the information of GC.  2. For Glassfish CALL ./glassfish3/bin/asadmin.bat start-domain --verbose

Linear Algebra

MIT 18.06 Linear Algebra , Gilbert Strang http://web.mit.edu/18.06/www/videos.shtml ref: www.kunli.me

JAX-WS

The JAX-WS set of packages and classes is the successor to the Java API for XML-based RPC (JAX-RPC), a technology for making remote procedure calls from one Java object to another over the Internet. The following codes are  on JDK6 7 JDK8. ------------------------------------- //a Service Endpoint Interface package com.jaxws; import javax.jws.*; import javax.jws.soap.*; import javax.jws.soap.SOAPBinding.*; @WebService @SOAPBinding(style = Style.RPC) public interface TestServer {     @WebMethod double getTestValue(double input);     @WebMethod String getTime(); } ------------------------------------- //a Service Implemmentation Bean package com.jaxws; import java.util.*; import javax.jws.*; @WebService(endpointInterface = "com.jaxws.TestServer") public class TestServerImpl implements TestServer {     @Override     public double getTestValue(double input) {         return Math.ceil(input);     }     @Override     public String getTime() {        

XOM & XML

http://www.xom.nu/ XOM™ is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with Java that strives for correctness, simplicity, and performance, in that order .

NetBeans -J-Dfile.encoding=UTF-8

图片
1. Project Properties: 2. Consolas Output In  ../etc/netbeans.conf netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true --locale en_US -J-Dfile.encoding=UTF-8 "