Archive for the ‘Programming’ Category

MySQL: How te get last autoincrenment id.

There are three ways using java: http://dev.mysql.com/doc/refman/6.0/en/connector-j-usagenotes-basic.html#connector-j-examples-autoincrement-getgeneratedkeys This is the one I prefere, because the value is scoped by the Statment instance, hence only overwritten when I reuse the specific Statement: Statement stmt = null; ResultSet rs = null;   try {   // // Create a Statement instance that we can use for // Continue reading →

Classpath entry will not be exported or published

Classpath entry will not be exported or published. Runtime ClassNotFoundExceptions may result. This is an error I get when I use Eclipse 3.3.2 with WTP 2.0.6. I added a few libraries to my BuildPath. I found somebody having the same issues: Hi, I have an Eclipse project that I have converted over to be a Continue reading →

JSP/Servlet Tutorials

first edition of a online book: http://pdf.moreservlets.com/ second edition: http://pdf.coreservlets.com

Java3D

First a little trick to make java3d work with eclipse without having administrator privileges. You have to add the "*.jar"s from the java3d *.zip file (hopefully found here: https://java3d.dev.java.net/binary-builds.html) to your build path and add -Djava.library.path=<DIR where your *.so or *.dll files reside> to VM Arguments in your run dialog. Try your setup by using Continue reading →

Java Gaming Tutorials

As I feel like programming a game, I may share some interesting tutorials with my future self ;-P. Java Gaming: The Ball, but OOP http://www.javacooperation.gmxhome.de/indexDeu.html Introduction with Battleship Looking pretty professional: Part 1: http://java.sys-con.com/read/46663.htm Part 2: http://java.sys-con.com/read/46983.htm Demo: https://ping.dev.java.net

Return top
 

Warning: array_filter() [function.array-filter]: The first argument should be an array in /var/www/web41/html/hp_fstyle/wordpress/wp-content/plugins/wordpress-tweaks/tweaks.php on line 650