Tag Archives: Best Practices

Best Practices while writing Java code

Usually many of us write the java code in a try-catch block as follows try{ // some code here}catch(Exception e){ // log exception here} Better way to do it is try{ // some code here}catch(Exception e){ // log exception here}catch(Throwable … Continue reading

Posted in Best Practices, Design Pattern, Java, Server Side Programming | Tagged , , | Leave a comment