We can find plenty of information on any technical topic, be it Java, .NET, Python or any frameworks like Spring, Hibernate, CDI, JSF etc. You can find hundreds of well written blogs on many of these topics. For example, you can find lot of tutorials on how to use SpringBoot or how to use various mappings in JPA/Hibernate or how to do form validations in JSF etc. Also, there are plenty of books published by well established publishers on most of the technologies.
Continue reading »My Life as a Software Developer in India
I am Siva, working as a Software Developer in Hyderabad, India. Working as a Software Developer is very exciting as you see new things coming in everyday. If there are no new things at least we put a new fancy name to some old concept and celebrate (#microservices) :-). But in my opinion working as a Software Developer in India is little bit different and hard too. Few things are good, and few things are bad.
Continue reading »MyBatis Tutorial : Part4 – Spring Integration
<strong>MyBatis Tutorial: Part1 – CRUD Operations</strong> <strong>MyBatis Tutorial: Part-2: CRUD operations Using Annotations</strong> <strong>MyBatis Tutorial: Part 3 – Mapping Relationships</strong> <strong>MyBatis Tutorial : Part4 – Spring Integration</strong> MyBatis-Spring is a sub-project of MyBatis and provides Spring integration support which drastically simplifies the MyBatis usage. For those who are familiar with Spring’s way of Dependency Injection process, using MyBatis-Spring is a very simple. First let us see the process of using MyBatis without Spring.
Continue reading »MyBatis Tutorial: Part 3 – Mapping Relationships
In this post let us see how to use MyBatis ResultMap configuration to map relationships. <strong>MyBatis Tutorial: Part1 – CRUD Operations</strong> <strong>MyBatis Tutorial: Part-2: CRUD operations Using Annotations</strong> <strong>MyBatis Tutorial: Part 3 – Mapping Relationships</strong> <strong>MyBatis Tutorial : Part4 – Spring Integration</strong> To illustrate we are considering the following sample domain model: There will be Users and each User may have a Blog and each Blog can contain zero or more posts.
Continue reading »MyBatis Tutorial: Part-2: CRUD operations Using Annotations
In this post I will explain how to perform CRUD operations using MyBatis Annotation support without need of Queries configuration in XML mapper files. <strong>MyBatis Tutorial: Part1 – CRUD Operations</strong> <strong>MyBatis Tutorial: Part-2: CRUD operations Using Annotations</strong> <strong>MyBatis Tutorial: Part 3 – Mapping Relationships</strong> <strong>MyBatis Tutorial : Part4 – Spring Integration</strong> Step#1: Create a table BLOG and a java domain Object Blog. CREATE TABLE blog ( blog_id int(10) unsigned NOT NULL auto_increment, blog_name varchar(45) NOT NULL, created_on datetime NOT NULL, PRIMARY KEY (blog_id) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; package com.
Continue reading »MyBatis Tutorial: Part1 – CRUD Operations
MyBatis is an SQL Mapper tool which greatly simplifies the database programing when compared to using JDBC directly. <strong>MyBatis Tutorial: Part1 – CRUD Operations</strong> <strong>MyBatis Tutorial: Part-2: CRUD operations Using Annotations</strong> <strong>MyBatis Tutorial: Part 3 – Mapping Relationships</strong> <strong>MyBatis Tutorial : Part4 – Spring Integration</strong> Step1: Create a Maven project and configure MyBatis dependencies. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.sivalabs</groupId> <artifactId>mybatis-demo</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>mybatis-demo</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <build> <plugins> <plugin> <groupId>org.
Continue reading »10 things to become an outstanding Java developer
If you are a java developer and passionate about technology, you can follow the below things which makes you an outstanding Java developer. 1. Have a strong foundation and understanding on OO Principles For a java developer having strong understanding on Object Oriented Programming is a must. Without having a strong foundation on OOPS, one can’t realize the beauty of an Object Oriented Programming language like Java. If you don’t have good idea on what OOPS is, eventhough you are using OOP language you may be still coding in procedural way.
Continue reading »Welcome note
Hi All, Welcome folks. This is a blog where you can find tutorials on various Java and JavaEE technologies and can have discussions regarding technical problems and application development-related issues.
Continue reading »