Open Source
JTAble replacements
UrlRewrite for Tomcat
EasyMock
- EackMock Doc
- nice unit testing framework
Log4J
Apache Commons
I haven't used this much yet, but some things look interesting like EqualsBuilder.
TODO: build an equals builder that works on getters (as annotated via JPA) instead of private fields. I'd like this since in some of my Model objects, I store things in an internal hash instead of fields.
General Java
IntelliJ
- IntelliJ EAP (early access program)
- Line separator fix Plugin
install on /Developer/Applications/IntelliJ IDEA 8.0.1.app/plugins on Mac.
We use an embedded JSP engine to generate emails and batch-generated HTML reports. As we moved these jsp files into the 'resources' class path, I wanted to configure IntelliJ to copy these files over to the target directory when compiling.
We also use other resources files like xsd, wav, etc.
This is easy ... just add another pattern to Settings => Compiler => Resource Patterns. All I had to do was add
;?*.jsp;?*.xsd;?*.wav;?*.ttf;?*.ico;?*.dat;?*.txt
to the end of the line. The semi-colon is the separator.
Mac - Adjust PermGen space
- Edit /Developer/Applications/IntelliJ IDEA 8.0.1.app/Contents/Info.plist and modify the VMOptions string towards the bottom.
Firebug and Firefox and Yahoo Mail
My Firefox was crashing whenever I closed a window/tab containing Yahoo Mail. I added "yahoo.com" to the disallowed sites and this seems to have fixed the problem.
Firefox in Java
Open Source
Interesting Projects
Code Signing
Info
- http://www.comodo.com
- Ordered a cert from Comodo. They verified my address, phone and domain ownership. I bought a two year certificate (good until January 26, 2011).
- Comodo Timestamp server
- Creating pfx file from pvk/spc
- Authenticode for game developers
Required software
- signtool.exe
- Found a copy someone posted on the internet to avoid downloading entire Microsoft developer behemoth (click the small 'Download' link in upper-left).
- capicom dlls
or here
- Required by signtool
- pvkimprt tool
or here
- used to convert .pvk and .spc files into a .pfx file.
Files
- mykey.pvk (private key) created during sign-up process.
- mykey.spc (certificate) downloaded after vetting
- mykey.pfx (combined key/cert) created using pvkimprt.exe
$ pvkimprt.exe -pfx mykey.spc mykey.pvk $ signtool.exe sign /f mykey.pfx /p "secret-password" /d "DD Poker" /du "http://www.ddpoker.com" /t "http://timestamp.comodoca.com/authenticode" ddpoker3.exe
Install4j Option:
To use in Install4j 4, specfied this as the code signing command (Media Wizard). Note the use of a full path to signtool.exe
c:\junk\Microsoft\signtool.exe sign /f mykey.pfx /p "secretpassword" /d "DD Poker" /du "http://www.ddpoker.com" /t "http://timestamp.comodoca.com/authenticode" $EXECUTABLE