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?
subject: Difference in Connection Strings for the same DB(Oracle 9i)