First one is a jdbc string, second one is tnsnames entry string. I barely know nothing about WSAD but jdbc approach is the one that is common in java world. tnsnames support may be an implementation detail specific to vendor(IBM).
What difference does it make?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Difference in Connection Strings for the same DB(Oracle 9i)