Domain Specific Languages (DSLs) are programming languages designed to solve a specific problem. Examples include UNIX shell scripts and ColdFusion Markup Language. Because DSLs are designed to solve specific problems, they often contain elements not found in general purpose languages though are often created with a general purpose language, such as Java, as a template. In this section on Domain Specific Languages, find news and articles on Domain Specific Languages to see which computing problems are being solved with DSLs and what problems could be solved with a newly created DSL. DSLs have a specific place in programming, and its important to know when they can be applied successfully.
Troubleshooting Java Code: Log or Re-Throw
06 Mar 2013
Tip - When building Java applications, proper logging and proper exception handling go hand in hand. But there are times when putting the two together is just plain wrong. This article explains why rethrowing an exception and logging it at the same time is a...
The intricacies of safe and unsafe casting in Java 7
26 Jan 2012
Tip - One of the problems with casting is that it does have the potential to cause a loss of precision, especially if the number that gets cast does indeed fall outside of the range of the target type. Here we will explain why this happens.
OCPJP Java 7 Mock Exam Question: AutoCloseable
30 Dec 2011
Tip - The Oracle Certified Professional Java Programmer (OCPJP) exam requires you to know the ins and outs of the new language features introduced in Java 7. This tricky question tests you on your knowledge of try-with-resources and AutoCloseable objects.