Category: Dev Desktop

  • Launch4j , Java to Exe

    I am using java actively and sometimes want a simple exe file for easier usability to my users. The problem with batch files is the black command consol that should appear in the background. Also, most java desktop software now has its exe file, as example Eclipse, Netbeans. I found a very nice article at,…

  • Comparative Survey of Java Obfuscators

    This is a nice comparison of Java obfistication tools, I used it inobfisticating a desktop software. http://www.cs.auckland.ac.nz/~cthombor/Students/hlai/hongying.pdf <http://www.cs.auckland.ac.nz/%7Ecthombor/Students/hlai/hongying.pdf> If the link is broken, googling by the title will get the report to you. From ahm507.blogspot.com

  • Open Source for .Net Developers!

    Does open source exist in Microsoft .Net?Yes, there exist great tools for C# and .Net, look at: http://egjug.org/hashimblog/2007/02/02/oss-for-net-developers/ From ahm507.blogspot.com

  • Java SE 6 released

    Sun announced the public availability of Sun’s JSE 6 platform http://java.sun.com/javase/6/ A quick overview of technology changes http://java.sun.com/javase/6/webnotes/features.html For download http://java.sun.com/javase/downloads/index.jsp From ahm507.blogspot.com

  • Authenticating Users with Windows Active Directory from Java

    Authenticating Users with Windows Active Directory from Java Here is a sample code that works with me: ///////////////////////////////////////////////////////////////////// import java.util.*;import javax.naming.*;import javax.naming.directory.*;public class Main { public static void main(String[] args) { try { Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, “com.sun.jndi.ldap.LdapCtxFactory”); env.put(Context.PROVIDER_URL, “LDAP://my.ldap.server:389”); //replace with your server URL/IP //only DIGEST-MD5 works with our Windows Active Directory…

  • The Simplest Logging Class in C++

    I want to create the simplest ever logging class in C++, so I created a single Log.h file and created a sample application that uses it. This was very useful in the small application I am working on. It compile with gcc and it works as expected. known problems:the Log.write() function may make problems in…

  • Java and Arabic Support

    Java uses Unicode as native encoding, so any text will be converted to Unicode for proper handling. Java already has support almost to all known encodings, see: http://java.sun.com/products/jdk/1.1/docs/guide/intl/encoding.doc.html. Our involvement is how to adjust the input and the output; the Input will be from request parameters (in case of web development), files, Properties, and JDBC.…

  • Arabic Morphological Analysis

    Historically – at my former employer Sakhr and Harf – I believed you have to support Arabic morphological analysis in order to have a good Arabic Full Text Search Engine. Recently I was developing an Arabic application using Java, we used Apache Lucene search component, as you know Java already internationalized, so Lucene supports Arabic…

  • NetBeans Remote Debugging

    This tutorial will show how to debug Java code on remote Tomcat process, this steps are tested on Windows XP,JDK 1.5 and Tomcat 4.1, I believe it will work also on Linux and recent version of Tomcat. It’s actually beneficial to debug your applications on a separate Tomcat instance instead of the Tomcat built in…