Avoiding Pitfall of Failure: Java, SQL or other Programming Language?