Tag Archives: java

InfoQ: Understanding Java Garbage Collection and What You Can Do about It

Gil Tene explains the workings of a garbage collector: terminology, metrics, fundamentals, key mechanisms, classification of current GCs, the “Application Memory Wall” problem, and details Azul C4 GC.

(Full Story: InfoQ: Understanding Java Garbage Collection and What You Can Do about It)

A reading list for JVM-based developers

Java Performance, Java Concurrency in Practice, etc

(Full Story: A reading list for JVM-based developers)

Eclipse Xtend – a language made for Java developers

In contrast to Java, Xtend removes unnecessary noise. Reducing code to the minimum not only helps you type less, but more important makes the code more readable and maintainable. Boilerplate is mainly avoided by the following features:

(Full Story: Eclipse Xtend – a language made for Java developers)

activeweb – a framework for building web applications in Java

Convention over configuration,Highest degree of developer productivity,Adherence to Java standards

(Full Story: activeweb – a framework for building web applications in Java)

GitHub: Kundera – a JPA compliant Object-Datastore Mapping Library for NoSQL Datastores

Overview=========The idea behind Kundera is to make working with NoSQL Databases drop-dead simple and fun. Kundera is being developed with following objectives:
o To make working with NoSQL as simple as working with SQLo To serve as JPA Compliant mapping solution for NoSQL Datastores.o To help developers, forget the complexity of NoSQL stores and focus on Domain Model.o To make switching across data-stores as easy as changing a configuration.

(Full Story: GitHub: Kundera – a JPA compliant Object-Datastore Mapping Library for NoSQL Datastores)

The top 9+7 things every programmer or architect should know – Java Code Geeks

1. “You don’t have to make every module perfect before you check it in. You simply have to make it a little bit better than when you checked it out.”
2. “The bottom line is that beautiful code is simple code.”
3. Step Back and Automate, Automate, Automate – Cay Horstmann
4. Continuous Learning – Clint Shank
5. Check Your Code First Before Looking to Blame Others – Allan Kelly
6. Hard Work Does Not Pay Off – Olve Maudal
7. Comment Only What the Code Cannot Say – Kevlin Henney
8. Know Your IDE – Heinz Kabutz
9. Learn to Estimate – Giovanni Asproni
1. Understand The Business Domain – Mark Richards
2. Before anything, an architect is a developer – Mike Brown
3. Find and retain passionate problem solvers, Give developers autonomy, Empower developers
4. It’s never too early to think about performance – Rebecca Parsons
5. Record your rationale – Timothy High
6. Stand Up! – Udi Dahan
7. Great software is not built, it is grown – Bill de hora

(Full Story: The top 9+7 things every programmer or architect should know – Java Code Geeks)

Scala: The Static Language that Feels Dynamic

Scala is the first language I’ve seen where static type-checking seems to pay off. Some of its amazing contortional abilities would not, I think, be possible without static type checking. And, as I shall attempt to show in this article, the static checking is relatively unobtrusive — so much so that programming in Scala almost feels like programming in a dynamic language like Python.

(Full Story: Scala: The Static Language that Feels Dynamic)

Comparing performance for Rails, Wicket, Grails, Play, Lift, JSP

What surprised me is that even though JSP/JSTL, Rails, Grails and Play use about the same MVC model, the differences in performance are big. 
Most posts about JRuby on Rails tell that it is faster than Ruby on Rails, however in this test, Ruby on Rails was clearly faster in both the rendering of products and concurrent-user test.Also, most posts about Rails tell that Webrick is slower than Mongrel, but in this test, Webrick was a bit faster.JRuby on Rails running on Trinidad does perform faster than other Rails configurations when tested with concurrent users.
Play-Scala using Netty NIO server is faster than Tomcat webserver. I wouldn’t expect the differences to be that big. It’s unclear whether these fast results are caused by Play-Scala being optimized for Netty, or that Netty is simply faster than Tomcat Note that the memory usage of Play-Scala under Netty is a lot higher than under Tomcat.

(Full Story: Comparing performance for Rails, Wicket, Grails, Play, Lift, JSP)

Twitter Shifting More Code to JVM, Citing Performance and Encapsulation As Primary Drivers

Last year the company announced that both its back-end message queue and Tweet storage had been re-written in Scala, and in the spring of 2010 the search team at Twitter started to rewrite the search engine. As part of the effort, Twitter changed the search storage from MySQL to a real-time version of Lucene. More recently the team announced that they were replacing the Ruby on Rails front-end for search with a Java server they called Blender. This change resulted in a 3x drop in search latencies.

(Full Story: Twitter Shifting More Code to JVM, Citing Performance and Encapsulation As Primary Drivers)

Follow

Get every new post delivered to your Inbox.