Entries from 2018-01-01 to 1 year
This tutorial walks us through the process of creating a simple REST controller with Spring Boot Kotlin works quite smoothly with Spring Boot and many of the steps found on the Spring Guides for creating a RESTful service can be followed v…
What do you understand of the JSP technology and why is it used? Java Server Pages (JSP) is a cross-platform technology residing on the presentation layer and is the part of the SUN’s J2EE platform. JSPs are like standard HTML web pages wi…
The life cycle of a servlet consists of the following phases: Servlet class loading : For each servlet defined in the deployment descriptor of the Web application, the servlet container locates and loads a class of the type of the servlet.…
1.ArrayList Constructors The ArrayList class supports three constructors. Arraylist() This constructor builds an empty list. ArrayList(Collection c) This constructor creates a list containing the elements of the specified collection. Note …
Java 8 is required as a minimum version for running Spring Boot. APIs have been updated to use Java 8 features such as default methods on interfaces. Java 9 is supported. Reactive programming support is added via Spring WebFlux/WebFlux.fn.…
1. Cheeyappara waterfalls Cheeyappara waterfalls lie on the Kochi Madurai highway in Idukki district. It is around 40 km away from town. This creates a beautiful location which cascades down in seven steps, with 60ft height. This pictures…
Munnar By Air Nearest major airport is Cochin International airport which is about 125 km away. Taxi services are available from airport to Munnar which cost about Rs 3000. Cochin airport is well connected to all major cities in India and …
ERAVIKULAM NATIONAL PARKOne of Kerala’s finest wildlife reserves, the Eravikulam National Park is spread over 97 kilometres of the Rajamalai Hills near Munnar. The vegetation in the park is a combination of grassland and shola forest. The …
Looking for Munnar route for your vocation. From Chennai, you can reach Munnar via train, bus, and flight. While choosing flight as your medium cochin and Madurai and Coimbatore are might your options. There are direct flights from Chennai…
1. TATA Tea Museum Tata Tea Museum is located at the Nallathanni estate and the museum has curios and photographs that traces the growth and evolution of tea plantations in Munnar right from the tea sapling to an automated tea factory wher…
I.Eravikulam National Park(RajaMalai): is considered as oneof the best places to visit in Munnar. watch the Nilgiri thaws(rare species of mountain goats,) here you can find a rare ENTRY FEES FOR ERAVIUKULAM NATIONAL PARKIndian – 83/- (Chil…
Ease of use: AngularJs is infused with some rich features that make it easy for AngularJs Web Application Development professionals to create websites by writing minimum codes. There is no need to write setters and getters for applying dif…
Consider you are using tomcat, springboot by default uses tomcat 7, if you want to change a version to tomcat 8, please add the below code in pom.xml <properties> <tomcat.version>8.0</tomcat.version> </properties> If you want to change server, from tomcat to jetty server the add below code
When a large scale enterprise application is running then the operations team is always worried about its health parameters. They have to keep a constant tab on whats working and what is not working? Whether the application is up or down. …
Simple architecture AngularJS development is considered as the simpler design architecture which is used nowadays and easy to catch up for any developers and enhance the features to any extent which client requires. It works extremely well…
Can I store a double value in a long variable without casting? No, you cannot store a double value into a long variable without casting because the range of double is more that long and you we need to type cast. It's not dificult to answer…
I’ll use these technologies and tools: Spring Tool Suite (STS) 3.8.4.RELEASE Java 8 Spring Boot 1.5.3.RELEASE Maven 3.3.9 MongoDB 3.3.4 1. The Project Structure The final folder structure of our project. 2. Create a new Spring Boot project…
A Simple Spring boot webapplication example, using Embedded Tomcat + JSP, and package as an executable JAR file. Technologies used : Spring Boot 1.5.6 RELEASE Spring 4.3.10 Embeded Tomcat 8.5.16 Maven 3.5.0 Java8 Here is the directory stru…
Spring boot uses an opinionated approach for a lot of things, with logging being one. It uses Logback by default. While Logback is useful, some of you may want to use a different log library. What do you have to do to use log4j as the logg…
Introduction The Pivotal team has done a great job of coming with Spring Boot microservice application stack. In the next few blogs, I will demonstrate the capabilities of Spring Boot to write a Medium Complex application (Not a Todo appli…
React/Redux has more job opportunities over any other single framework mentioned. It also follows the direction JavaScript itself is heading, so feels most future-proof. One of the biggest bullet points on my ‘is this a good framework’ lis…
When writing spring boot applications, it is recommended to use SLF4J API for logging. However it is also possible to use the logging implementation provided by JDK directly. However JDK logging implementation (JUL) provides a different se…
Gradle build file to Resolve JAR Dependency Build.gradle config dependencies: buildscript { repositories { mavenLocal() jcenter() mavenCentral() } } apply plugin: 'java' plugins { id "io.spring.dependency-management" version "1.0.4.RELEASE…
Spring can't inject spring bean when using Quartz in Spring . The job in Quartz is reflected by the instance and is not managed by spring. As a result, the spring in the job cannot be injected into the spring. solution Quartz has a JobFact…
When it comes to scheduling jobs in a java application, Quartz is the first tool that comes into consideration. Quartz is job scheduler backed up by most popular RDBMSes.It is really convenient and gets integrated with spring quite easy. I…
An application programming interface (API), in the context of Java, is a collection of prewritten packages, classes, and interfaces with their respective methods, fields and constructors. Similar to a user interface, which facilitates inte…
In this article let’s try to discuss why it is so popular and why use it. So let’s focus on the major advantages of this open source application framework for the Java platform. Following are some of the major benefits offered by the Sprin…
Example: one User have many roles and one Role have many users, and now we will have one User_Role table. We will have following situation: Action 1: insert roles Action 2: insert users and insert user_role Action 3: delete users We can us…
Let’s say for instance we have a group of Students that wish to enroll in several University Courses. Storing the Students and Courses in a relational database is trivial, however, how do we express Students that are enrolled in Courses? T…
In this article we will learn how to create a login page using Spring MVC. The user enters the login id and password and we will have a check on the controller to see if the credentials are valid. For this article we will not connect to th…