Hibernate Hello World Example in Eclipse (Annotation)

In the previous article, we wrote our first Hibernate Hello World Example using XML Mappingconfiguring hibernate through XML configuration is a bit complex process this can be done easily if we are using Annotation. In this Hibernate Hello World Example, we will learn how to write a simple Hibernate application using JPA Annotations. [Read more…]

Spring Autowiring using Annotation – @Autowired, @Resource, @Qualifier, @Inject Annotation

Spring Autowiring by using the “autowire” attribute in the bean configuration file  we can wire all the properties of the bean class. Using Spring Autowiring through XML you cannot wire a particular property. In those cases we can use the Spring @Autowired annotation which allows auto-wiring of setter method, a constructor, a field, or even an arbitrary method.

[Read more…]