In my previous article I have explained about how to set up the android environment. This article shows you how you can create a simple Android Application using eclipse. This example assumes that you have already set up the android environment and ready for the development. If you have any questions, please post it in …
Layouts in Android
Android Layout acts as a container of UI elements. It decides how the different UI elements are arranged and rendered to the user. This article explores the various types of layouts available in the Android development with examples. If you have issues on Android programming, please post it in the comments section. Declaring Layouts Layouts …
Spring Classpath Scanning & Managed Components
In my previous articles I have explained about the some of the popular annotations in Spring @Required, @Autowired and @Qualifier. You could note from these posts that we declared all the beans or components in XML bean configuration file; this helps Spring container detect and register beans or components. In this post I shall discuss …
How to set up android development environment?
This tutorial describes how you can set up a development environment for building Android applications in Eclipse IDE. In my future articles, I will be writing about the various programming techniques and features available in the Android development. Android is the leading Operating System in the smartphone market. This makes android is the most popular …
@Resource, @PostConstruct and @PreDestroy Annotations Example
In this post I shall cover the JSR250 annotations. Introduced in Spring 2.5, it added support for JSR-250 based annotations which include @Resource, @PostConstruct and @PreDestroy annotations. In my previous articles I have explained about the some of the popular annotations in Spring @Required, @Autowired and @Qualifier. Also please read about How to write Custom Spring Callback Methods? @Resource vs …
@Qualifier Annotation in Spring
In this post I shall cover another spring annotation @Qualifier which helps fine-tune annotation-based autowiring. In the previous post we saw how we could use @Autowired annotation on setter methods, fields and constructors. There may be scenarios when we create more than one bean of the same type and want to wire only one of …
@Autowired Annotation in Spring
This tutorial explains how to use @Autowired annotation for injecting the spring beans with simple example. This tutorial helps reader to understand various ways to use @Autowired in your application. Enjoy happy reading!!! In my previous post I mentioned about the use of @Required annotation for container configuration. In this post I shall cover the …
@Required Annotation in Spring
Since Spring 2.5, annotation-based configuration has been an alternative to XML setups. Annotation based configuration rely on the bytecode metadata for wiring up components instead of angle-bracket declarations (Also Read : Introduction to Spring Boot). Annotations can be used on the relevant class, method, or field declaration. In this tutorial I am going to explain …