Tag Archives: Java Basics

Java Lambda Syntax angekündigt

Brian Goetz hat über die lambda-dev Mailingliste eine Java Lambda “Syntax decision” bekannt gegeben mit der Aussage “the EG has (mostly) made a decision on syntax”. Die Syntax soll sich an C# orientieren, was in dem Posting mit folgenden Beispielen … Continue reading

Posted in Java Basics | Tagged , | Leave a comment

Spring 3.0: Meta Annotationen

Spring bietet in der Version 3.0 endlich die Möglichkeit, mehrere Annotationen zu einer einzigen zu gruppieren. Ein kleines Beispiel soll die Verwendung erläutern. In vielen Anwendungen ist die Transaktionsgrenze oberhalb der Service-Schicht angesiedelt. Die Serviceklassen sehen dann wie folgt aus: … Continue reading

Posted in Spring Universe | Tagged , , , , | Leave a comment

Google Collections Library is final

The “Google Collections Library” has finally been released: The Google Collections Library 1.0 is a set of new collection types, implementations and related goodness for Java 5 and higher, brought to you by Google. It is a natural extension of … Continue reading

Posted in Java Basics | Tagged , , | Leave a comment

Difference between @Autowired and @Resource in Spring

The main difference is that @Autowired wires per type and @Resource wires per bean name. But @Autowired in combination with @Qualifier also autowires by name. …@Autowired is a spring annotation whereas @Resource is specified by the JSR-250. So the latter … Continue reading

Posted in Spring Universe | Tagged , , , | Leave a comment

Gavin King on Contexts, Dependency Injection, EE 6 and Weld

Nice chat about Dependency Injection, Contexts and more on Dzone, with transcription. http://java.dzone.com/videos/gavin-king-jsr299

Posted in Java Basics, Java EE, Java Web Frameworks | Tagged , , , , , , , | Leave a comment

Neal Gafters Closures for Java page

Neal Gafter has a very nice website about Closures for Java.

Posted in Java Basics, Java Runtimes - VM, Appserver & Cloud | Tagged , | Leave a comment

Instance based security in Java

If your application needs instance based access control there is not a big variety of solutions out there. Here are some helpful links I found while searching on the internet listed in no particular order. Apache Shiro SAF – Security … Continue reading

Posted in Java EE | Tagged , , , | 1 Comment