Login Tags

Act Like a Senior Developer – About Clean Code

How to make your code dirty, how to avoid it?

Groovy Goodness: Simple Evaluation of Groovy Expressions in Java

We can run Groovy code from Java code in several ways.

How to handle Memory Leaks in Java/J2EE Applications ?

In this article, I have tried to analyze the various causes which may lead to Memory Exception. Once an ‘OutOfMemoryException’ is thrown, how best can it be handled has been discussed in this artilce. OutOfMemoryException is thrown when there is not sufficient available memory to carry out a requested activity. In this article, I have tried to illustrate the different methods by which memory leaks can be handled in Web Applications.

Eclipse 4 Goes the Extra Mile

The Eclipse 4 development environment, codenamed "e4", just reached its second milestone. The new milestone includes significant changes to the platform and the XML Windowing Toolkit (XWT) for the GUI. XWT, a new feature in the fourth version of Eclipse, received a lot of attention in this milestone.

Strong Groovy

Usually Groovy is thought of as a loose, dynamically typed language that is otherwise similar to Java. Given this, it would make sense to write in Groovy when dynamism is needed an write in Java when you need strong typing, etc. to avoid side effects. But a great differentiator for groovy over any other dynamic language running on the JVM is that it also has all of Java's support for Strong typing, Generics, immutable objects and the like. This allows Groovy a tremendous range using dynamism where it makes sense and locking it down where it makes sense to do that.

JPA under the Hood - Understanding your JPA Frameworks

JPA has standardized the interfaces for persistence frameworks. However how much is standardized regarding the runtime behaviour of frameworks. These small code samples show different uses cases to test with your JPA framworks. Additionally hints on the actual framework behaviour, will help to improve usage.

US Senators Give Ellison a Hand

59 US Senators signed a request this week asking the European Commission to expedite its investigation of the Oracle-Sun deal. The letter was addressed to the EU's head US delegate, Angelos Pangratis. The signatories, led by Senators John Kerry (D) and Orrin Hatch (R), came from both Democratic and Republican parties.

IDEOne online mini IDE and debugging tool.

ideone.com is a... pastebin. But a pastebin like no other in the Internet. More accurate expression would be online mini IDE and debugging tool. ideone.com is designed mostly for programmers (but, of course, common plain text can also be uploaded). You can use it to: * share your code (that's obvious - it is a pastebin, isn't it? :)) in a neat way, * run your code on server side in almost 40 programming languages * and do it all with your own input data!

Reviewing Project Lombok or the Right Way to Write a Library

Project Lombok seeks to reduce the (significant) amount of boilerplate in Java code with the use of some clever compile-time annotations. Some debate the wisdom of using annotations like these as a substitute for language features. Here is my review of this interesting new project that is causing quite a stir.

What every developer should know about bitmaps

Virtually every developer will use bitmaps at times in their programming. Or if not in their programming, then in a website, blog, or family photos. Yet many of us don't know the trade-offs between a GIF, JPEG, or PNG file – and there are some major differences there. This is a short post on the basics which will be sufficient for most, and a good start for the rest.

Login

Filter by Tags