Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

Annotation

  • submit to reddit

Spring 3 WebMVC - Optional Path Variables

Introduction To bind requests to controller methods via request pattern, Spring WebMVC's REST-feature is a perfect choice. Take a request like http://example.domain/houses/213234 and you can easily bind it to a controller method via annotation and bind path...

4 replies - 8493 views - 10/19/10 by Sebastian Herold in Articles

Discovering Java Annotations

Annotations are proving to be widely popular these days. Many annotation-based frameworks (Spring, JPA, Tapestry to name few) are seeing the light of the day, and even small scale projects are using annotation based meta-programming for better separation...

7 replies - 11079 views - 07/27/10 by Animesh Kumar in Articles

Are Marker Interfaces Dead?

Marker Interfaces and Annotations In earlier versions of Java, Marker Interfaces were the only way to declare metadata about a class. With the advent of annotation in Java 5, it is consider that marker interfaces have now no place. They can be completely...

4 replies - 7712 views - 02/01/10 by Muhammad Khojaye in Articles

OSGi Annotation Extender

We have finished one big OSGi project with many tools : JPA, GPRS, SMS, FTP, JNA, SPRING, Jetty, ext.js .... after about one year with heterogeneous team. Now, I have switched to another JEE projects as " an architect". But I still love OSGi. I...

2 replies - 4868 views - 09/10/09 by Slim Ouertani in Articles

JAU (Java Annotation Based Utilities) 1.0

JAU 1.0 is ready for download from the project site: http://code.google.com/p/jau/.The library will help you to implement common methods like .equals() or .hashCode() using annotations.  

0 replies - 2044 views - 05/06/09 by Tim Lebedkov in Announcements

Lessons Learned From Spring’s @Autowired

Last November we got Spring 2.5 and with it the possibility to use annotations for dependency injection (DI). Annotations can be used instead or mixed with the classic application context file(s) based on XML.If you compare the former more complex XML...

2 replies - 19572 views - 05/13/08 by Rainer Eschen in News

Escape from XML Hell Redux: Spring 2.5 Annotation Driven DI

This post is an escape from XML redux. As stated in the last post, there are some who do not like to configure dependency injection (DI) in XML. They call it "XML Hell"! In the last post we showed how using JSF to manage beans and perform some...

2 replies - 12608 views - 03/07/08 by Rick Hightower in News