Java

Java is a set of computer software and specifications developed by Sun Microsystems, which was later acquired by the Oracle Corporation, that provides a system for developing application software and deploying it in a cross-platform computing environment. Java is used in a wide variety of computing platforms from embedded devices and mobile phones to enterprise servers and supercomputers.

Spring Logo

Spring Framework

The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform. A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

Hibernate Logo

Hibernate Framework

Hibernate ORM is an object-relational mapping framework for the Java language. It provides a framework for mapping an object-oriented domain model to a relational database.

Sunday, August 23, 2015

Method References in Java8

Method References: Method references refers to methods or constructors without invoking them. We can use lambda expressions to create anonymous methods.  Sometimes, however, a lambda expression does nothing but call an existing method.  In those cases, it's often clearer to refer to the existing method by name. Using Method references refer to the existing method by name, they are compact, easy-to-read lambda expressions...

Write a Java Program to convert String value into Integer value with out using parseInt() method.

In this post, we are going to learn how to convert string value into integer value with out using the parseInt() method.package com.ranga;/** * * This class is used to convert the String value into Integer. * @author Ranga Reddy * @version 1.0 * */public class StringToInteger { public static void main(String[] args) { String string = "123456"; System.out.println("String value: "+ string); int integerValue = convertStringToInteger(string); System.out.println("Integer value: "+ integerValue); } ...

Thursday, August 20, 2015

RESTful API using Spring Boot and Cassandra

In this post, we are going to learn how to implement RESTful web services using Spring Boot and Cassandra db.Project Structure:Tools & Technologies:Java 8Maven 3.0.3Spring Boot 1.2.5.RELEASECassandra Database 2.1.8Spring data cassandra 1.2.2.RELEASECassandra Keyspace and Table Creation:cqlsh> create keyspace "ranga" with replication = {'class': 'SimpleStrategy', 'replication_factor': '1'};cqlsh:system_traces> use ranga;cqlsh:ranga>...