Tag Archives: Java

CCS’14 – Securing SSL Certificate Verification through Dynamic Linking

Our paper ‘Securing SSL Certificate Verification through Dynamic Linking‘ is ready for download from CCS’14. This post gives a brief introduction of main idea of this paper – certShim, and then concentrates on bytecode instrumenting in JVM to fix some … Continue reading

Posted in Security | Tagged , , , , , , , , | 1 Comment

excel2csv – Parse Excel file into CSV files / Parse CSV files into CSV data structure

excel2csv is a tool used to read an Excel file in and convert it into a bunch of CSV files or just read a CSV file and parse it into the CSV data structure which could be used by upper … Continue reading

Posted in Dave's Tools | Tagged , , , , | Leave a comment

Jython – Combination of Java and Python

This post is used for final project of CIS610 – Teaching Effectiveness in CIS dept at UO, dedicated to the students with background of CIS122 – Intro to Algorithms and Problem Solving Using Python. Background of Java is not mandatory … Continue reading

Posted in Programming | Tagged , , , , | 1 Comment

cccmt – Coverity code complexity metrics tool

cccmt is used to parse the METRICS.errors.xml generated by cov-analyze of Coverity to produce a Code Complexity Metrics (CCM) report of different functions. SAX is used to parse XML file instead of DOM as the XML file may be very … Continue reading

Posted in Dave's Tools, Programming, Static Code Analysis | Tagged , , , , , , | Leave a comment

jmgsim again – jmgsim-ov, git and github fantastic!

While Kenny (kenny.du@alcatel-lucent.com) is refactoring ‘jmgsim’ in java.net, I am looking for a better code repository to hold my initial, tested and verified source code of jmgsim for my personal reference as well as design mapping in first_post_of_jmgsim. Finally I … Continue reading

Posted in Dave's Tools, Programming | Tagged , , , , , , | Leave a comment

jmgsim – a Java implementation of H.248 media gateway simulator

‘jmgsim’ is a Java implementation of H.248 Media Gateway (MG) simulator and Media Gateway Controller (MGC) simulator used for testing real MG/MGC. It is coded within NetBeans 7.1 and has been published as a public project at ‘java.net’, as ‘kenai’ … Continue reading

Posted in Dave's Tools, H.248/MEGACO/EGCP, Programming | Tagged , , , , , , | Leave a comment

dave’s random integer generator – drig

Project Name: drig Destination: A Java Swing GUI application for demo random integer generation with given range and number requested – random lucky numbers generation for lottery. Language: Java IDE: NetBeans Project Web: http://kenai.com/projects/drig SVN address: https://svn.kenai.com/svn/drig~drig-src Source Code: http://kenai.com/projects/drig/sources/drig-src/showContinue reading

Posted in Dave's Tools | Tagged , , , , , | 2 Comments

Jar usage

(1)Create jar (创建jar) jar cf hello.jar hello 利用test目录生成hello.jar包,如hello.jar存在,则覆盖 (2)Create jar and display the process (创建并显示打包过程) jar cvf hello.jar hello 利用hello目录创建hello.jar包,并显示创建过程 例:E:\>jar cvf hello.jar hello 标明清单(manifest) 增加:hello/(读入= 0) (写出= 0)(存储了 0%) 增加:hello/TestServlet2.class(读入= 1497) (写出= 818)(压缩了 45%) 增加:hello/HelloServlet.class(读入= 1344) (写出= 736)(压缩了 45%) … Continue reading

Posted in Programming | Tagged , | 2 Comments

Tune look&feel, language for NetBeans

To change the look&feel, language for NetBeans (改变NetBeans的外观和默认的语言环境), especially for the IDE on Windows XP with default language – Chinese: Modify ‘netbeans.conf’ under your ‘$NETBEANS_HOME/etc/’  by adding –laf javax.swing.plaf.metal.MetalLookAndFeel //change the look&feel into Java metal style –locale en_US // change … Continue reading

Posted in IDE_Make | Tagged , | 4 Comments

Reflection in Java

/* The Reflection Test Class used to realize the functions of    java.lang.reflect, referrenced by Corejava Volume I    Display the fields, constructors, and methods, as well as annotations    and exceptions respectively    by kingmmxtj Nov 20, 2008    … Continue reading

Posted in Dave's Tools | Tagged , | 1 Comment