DennisLaumen + java 8
Double Brace Initialization
january 2012 by DennisLaumen
Java doesn't have a convenient literal syntax for collections (lists, maps, sets, etc.). This makes creating constant collections or passing collections to functions quite laborious. Every time you have to
1. Declare a variable for a temporary collection
2. Create a new empty collection and store a reference to it in the variable
3. Put things into the collection
4. Pass the collection to the method
java
1. Declare a variable for a temporary collection
2. Create a new empty collection and store a reference to it in the variable
3. Put things into the collection
4. Pass the collection to the method
january 2012 by DennisLaumen
Play framework - Home
march 2011 by DennisLaumen
The Play framework makes it easier to build Web applications with Java
Finally a Java framework made by Web developers. Discover a clean alternative to bloated enterprise Java stacks. Play focuses on developer productivity and targets RESTful architectures.
java
softwareengineering
frameworks
webdevelopment
Finally a Java framework made by Web developers. Discover a clean alternative to bloated enterprise Java stacks. Play focuses on developer productivity and targets RESTful architectures.
march 2011 by DennisLaumen
Google Web Toolkit: Large scale application development and MVP
june 2010 by DennisLaumen
Building any large scale application has its hurdles, and GWT apps are no exception. Multiple developers working simultaneously on the same code base, while maintaining legacy features and functionality, can quickly turn into messy code. To help sort things out we introduce design patterns to create compartmentalized areas of responsibility within our project.
There are various design patterns to choose from; Presentation-abstraction-control, Model-view-controller, Model-view-presenter, etc... And while each pattern has its benefits, we have found that a Model-view-presenter (MVP) architecture works best when developing GWT apps for two main reasons. First the MVP model, much like other design patterns, decouples development in a way that allows multiple developers to work simultaneously. Secondly, this model allows us to minimize our use of GWTTestCase and, for the bulk of our code, write lightweight (and fast) JRE tests.
gwt
google
java
softwaredevelopment
architecture
modelviewpresenter
There are various design patterns to choose from; Presentation-abstraction-control, Model-view-controller, Model-view-presenter, etc... And while each pattern has its benefits, we have found that a Model-view-presenter (MVP) architecture works best when developing GWT apps for two main reasons. First the MVP model, much like other design patterns, decouples development in a way that allows multiple developers to work simultaneously. Secondly, this model allows us to minimize our use of GWTTestCase and, for the bulk of our code, write lightweight (and fast) JRE tests.
june 2010 by DennisLaumen
Mockito
march 2010 by DennisLaumen
Mockito is a mocking framework that tastes really good. It lets you write beautiful tests with clean & simple API. Mockito doesn't give you hangover because the tests are very readable and they produce clean verification errors.
java
mocking
softwaredevelopment
march 2010 by DennisLaumen
So should you still use Spring's HibernateTemplate and/or JpaTemplate?? | SpringSource Team Blog
march 2010 by DennisLaumen
I was reading an article by Vigil Bose on TSS the other day and saw the usage of the HibernateDaoSupport class. Since this is no longer a recommended way of using Hibernate from Spring, I thought I might as well just blog about it another time.
With the advent of Spring 2.0, it has become possible to start using the Hibernate Session API directly again. The question is whether or not it is wise to abandon the use of the HibernateTemplate when working with Hibernate, or any other template-based approaches Spring features.
hibernate
java
spring
sofwaredevelopment
With the advent of Spring 2.0, it has become possible to start using the Hibernate Session API directly again. The question is whether or not it is wise to abandon the use of the HibernateTemplate when working with Hibernate, or any other template-based approaches Spring features.
march 2010 by DennisLaumen
Smack API
march 2010 by DennisLaumen
Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java library, it can be embedded into your applications to create anything from a full XMPP client to simple XMPP integrations such as sending notification messages and presence-enabling devices.
java
libraries
xmpp
softwaredevelopment
march 2010 by DennisLaumen
The Scala Programming Language
march 2010 by DennisLaumen
Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional languages, enabling Java and other programmers to be more productive. Code sizes are typically reduced by a factor of two to three when compared to an equivalent Java application.
scala
programminglanguages
java
march 2010 by DennisLaumen
Apache JMeter
march 2010 by DennisLaumen
Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load.
performancetesting
loadtesting
softwaredevelopment
applications
java
march 2010 by DennisLaumen
Copy this bookmark: