Monday, February 24, 2014

Find and modify HeapSize

Findstr
Ex: - findstr /rin  heap  *.xml
-          Findstr /r /I  /n  verboseModeJNI  *.xml
Server.xml
verboseModeJNI="false" initialHeapSize="512" maximumHeapSize="768" runHProf="false"

Schema (XSD) Generation

Creating Java pojo files from Schema (xsd) :
xjc -p  com.jini.jaxb.beans employee.xsd
"%java_home%\bin\xjc" -p  com.jini.jaxb.beans employee.xsd
Creating Schema (xsd) from Java pojo file :
schemagen -cp bin com\jini\jaxb\beans\Employee.java
"%java_home%\bin\schemagen" -cp bin com\jini\jaxb\beans\Employee.java
Online XML to XSD generator :
http://www.freeformatter.com/xsd-generator.html