GST 23rd Meeting Highlights

GST 23rd Meeting Highlights   “Goods and Service Tax” Changes in GST return filling • The time period for filing GSTR-2 and GSTR-3 for the months of July, 2017 to March 2018 would be finalized by a Committee of Officers. Till then, filing of GSTR-1 will continue for the entire period Read more…

Give some Likes to Authors

Programming Tips for JDBC

Programming Tips for JDBC  a. Use DataSource whenever Possible If you have a choice, you always should use javax.sql.DataSource to get a JDBC connection. Data sources, which were introduced with JDBC 2.0, make the job of configuring a database connection and connecting to a database nearly fool proof. Consider the following Read more…

Give some Likes to Authors

JavaScript DOs and DONTs

JavaScript DOs and DONTs   1.     Use Shortcut Notations:   This code [Avoid] Is the same as [Use Instead]   var lunch = new Array(); lunch[0]=’Dosa’; lunch[1]=’Roti’; lunch[2]=’Rice’; lunch[3]=’what the heck is this?’; var lunch = [    ‘Dosa’,    ‘Roti’,    ‘Rice’,    ‘what the heck is this?’ ]; Read more…

Give some Likes to Authors

Tips for Swing UI Layout

Tips for Swing UI Layout   1. Avoid using JEditorPane and JTextPane: Most Swing components in Java 6 have a meaningful baseline. However, some seem to have no correct baseline (for no apparent good reason). JEditorPane and JTextPane are examples of such components. This means that it is impossible to Read more…

Give some Likes to Authors

Character encoding in Java

Character encoding in Java   Java iterates through all the characters that the string represents and turns each one into a number of bytes and finally put the bytes together. The rule that maps each Unicode character into a byte array is called a character encoding.   So it’s possible Read more…

Give some Likes to Authors

Arrays Usage Tips

‘Return zero-length arrays, not nulls’   Some APIs intentionally return a null reference to indicate that instances are unavailable. This practice can lead to denial-of-service vulnerabilities when the client code fails to explicitly handle the null return value case.   For methods that return a set of values using an Read more…

Give some Likes to Authors