image

Svetlin Nakov – Books

September 5, 2010
Dr. Svetlin Nakov is author / co-author of 15+ books on computer programming and software development. Get the latest list of Nakov’s books from: https://introprogramming.info Nakov’s books focus on topics such as basics of coding, problem solving, basic data structures and algorithms, principles of computer programming, Java, JavaScript, Python, .NET development, C#, C++, cryptography, and
image

Video from the Java 7 Seminar @ TU-Sofia

June 9, 2010
The video from the seminar about Java 7 organized by the Bulgarian Java User Group (BGJUG) on 20.05.2010 in the Technical University of Sofia is finally published (thanks to Yordan Yovkov for the video processing): http://www.archive.org/details/Java_7_New_Features_2 http://www.archive.org/details/Java_7_New_Features_3 At the seminar (and also in the recorded videos) I and Mihail Stoynov explained in details the following

Java 7 New Features – Seminar in Cairo, at the Egyptian Java User Group (EGJUG)

May 3, 2010
Last week I was invited by Ahmed Hashim, the Egyptian Java User Group (EGJUG) leader for a technical talk about what is coming in Java 7. I was happy to perform a talk in the Faculty of Computers and Informatics (FCI) of Cairo University in front of 60-70 keen Java developers: I presented the key
image

Disable Certificate Validation in Java SSL Connections

July 16, 2009
By design when we open an SSL connection in Java (e.g. through java.net.URL.openConnection(“https://….”)) the JSSE implementation of the SSL protocol performs few validations to ensure the requested host is not fake. This involves validation of the server’s X.509 certificate with the PKIX algorithm and checking the host name agains the certificate subject. If the SSL
image

JSObject.getMember() Hangs in Safari in Mac OS X Unless You Move the Mouse

December 12, 2008
Last few nights I was debugging very strange bug. Few months ago we shipped Java applet signing Web forms in the client’s Web browser. It was tested under IE 6, IE 7, Firefox 2, Firefox 3, Opera 9 and Safari 3 for Windows. We tested with Java 5 and Java 6 in Windows and Linux
image

Extract All Classes Loaded in the JVM into a Single JAR

August 27, 2008
Today I needed to optimize the file size for a commercial Java applet (Web form signer) that my team is developing in the last month. We use few external libraries (Bouncy Castle Crypto API and few others) and these libraries are above 2 MB in several JAR files. If we were developing server side application,
image

JSObject is not Thread-Safe

August 24, 2008
In one of my last projects I was working on Java applet that needed to digitally sign data forms at the client side in a Web browser. I with my team developed the applet and it did the job well. Unfortunately our customer decided to put multiple instances of the applet in a single Web