# Java, Struts 2, Spring, Hibernate, Solr, Mahout An Blog

beingjavaguys.com
Java, Struts 2, Spring, Hibernate, Solr, Mahout and Hadoop Tutorials Tips and Tricks

## How To Find Middle Node Of A LinkedList

2019-10-22 11:24
In this article we will see How to find middle node of a LinkedList, in case the list contains odd number of node than to find first node i.e. {1,2,3,4} - Middle 2, {1,2,3,4,5} - Middle 3. I… Read More

2019-10-22 10:58

## Binary Search In Sorted Array Example

2019-10-22 09:33
In this article we will see How to search an element in a sorted array using Binary Search. If element is not found in the input array the method should return -1. Input: new int[] { 1, 2, 3… Read More

## Print Repeated Number In Fraction After Decimal

2019-10-09 18:36
In this article we will see How to print repeated number in fraction after decimal, if there is no repeating number after decimal print the number else print numbers like 0.3333333 as 0.(3)… Read More

## How To Search An Element In A Sorted And Rotated Array - Java

2019-10-09 17:34
In this article we will see How to search an element in a sorted and rotated array, a rotated array means few elements of the array from start has appended to last of array. e.g. {1,2,3,4,5}… Read More

## How To Group Anagrams Together - Java

2019-10-09 16:43
In this article we will see How to group anagrams together from an array of words, An anagram is a word or phrase formed by rearranging the letters of a different word or phrase - e.g. "cat… Read More

## Get Prime Factors Of A Given Number - Java

2019-10-09 15:57
In this article we will see how to find prime factors of a given number, a prime number is a whole number greater than 1 whose only factors are 1 and itself. Input: 1Output: [1]Input: 17Outp… Read More

## Check If A Given String Is A Pangram - Java

2019-10-09 15:31
In this article we will see how to find if a given string is a Pangram in Java. Input: String i = "The quick brown fox jumps over the lazy dog";Output: boolean o = true;Input: String i = "T… Read More

## Find Longest Uniform Substring - Java

2019-10-09 14:56
In this article we will see how to find longest uniform substring in a given string in Java. Input: String i = "aaaabbccdddddddc";Output: String o = "ddddddd";We will use two variables while… Read More

## Find Second Smallest Element In An Unsorted Array - Java

2019-10-09 14:44
In this article we will see how to find second smallest element in an unsorted array. Input: new int[] { 2, 3, 1 }Output: 2Input: new int[] { 1, 2 }Output: 2 Solution 1: Sort the array usi… Read More

## Java 9 Features (JShell, Immutable List, Set, Map, Private Methods In Interfaces Etc)

2017-05-02 13:07
In this post let's see all upcoming exciting features of Java 9, including most awaited REPL (JShell), Immutable List, Set, Map, Private methods in Interfaces and much more.How to Download… Read More

## Java 8 Lambda Expressions (Functional Interfaces, Variable Capture, Method References, Default Methods)

2016-02-27 17:57
In this article we will discuss about most exiting release of Java ever, Java 8 and its new features like Lambda expressions and Streams. Java 8 Lambda Expressions In this particular section… Read More

## Java Programming - Introduction

2016-02-21 04:51
Java is a most commonly used and widely accepted object oriented programming language of today. When it comes to choosing an programming language for companies and individuals to develop a s… Read More

## Spring 4 Restful Web Services With Hibernate 4 Example Using Maven – Server Application

2014-08-14 20:28
Spring 4 Restful Web Services With Hibernate 4 Example using Maven – Server Application In our previous discussions we came across several Spring related topics. In this particular blo… Read More

## 100 Core Java Interview Questions And Answers - Part 3

2014-08-02 05:46
Here are top selected core java interview questions asked in high level interviews, these questions may be helpful for both freshers or experienced professional going for interview. 12345678… Read More

## 100 Core Java Interview Questions And Answers - Part 2

2014-08-02 05:46
Here are top selected core java interview questions asked in high level interviews, these questions may be helpful for both freshers or experienced professional going for interview. 12345678… Read More

## 100 Core Java Interview Questions And Answers - Part 1

2014-08-02 05:44
Here are top selected core java interview questions asked in high level interviews, these questions may be helpful for both freshers or experienced professional going for interview. 12345678… Read More

## Integrate Neo4j (Graph DB) With Java – Neo4J With Java (Neo4J + Java)

2014-07-25 09:28
In this article we will see, what is Neo4J and graph db and how to use Neo4J with Java, adding nodes, relationships, properties and much more, stay tight and go forward :) In computer scienc… Read More

## Spring MVC And Hibernate Integration CRUD With Maven (Spring 4 + Hibernate 4 + Maven 3)

2014-07-20 13:45
In this particular project we will see how to integrate Spring MVC 4 with Hibernate4 project with Maven and will perform crud operations using MySql Database. We will see what dependencies a… Read More

## Spring Security Custom Login Form Example

2014-07-20 13:42
In our previous discussion we go through 'What is spring security' and 'Spring Security Example'. In this particular blog we will dive into how to set a custom login form in spring security… Read More

## Spring Security Authentication And Authorization Example With Database Credentials

2014-07-20 13:37
In our previous discussions we go through 'What is Spring Security' and 'Custom login form in Spring Security', previously we have used XML based username and password to authenticate a user… Read More

## Spring MVC - XML Response With @ResponseBody Annotation (Spring + XML)

2014-07-20 13:33
In today's discussion we will see how to return a XML response from a Spring MVC Controller. @ResponseBody annotation does this job done for us, all we need to do is adding @ResponseBody ann… Read More

## Spring MVC - JSON Response With @ResponseBody Annotation (Spring + JSON)

2014-07-20 13:29
In our previous discussion we came across "XML response with @ResponseBody annotation (Spring + XML)". Today we will see how to return a JSON response from a Spring MVC Controller. All we ne… Read More

2014-07-20 13:21
In our previous discussions we came across a 'What is spring security' and 'Custom login form with spring security'. In this particular blog we will see how to encode password in java using… Read More

## Create Struts2 Dynamic Web Project With Maven And Make It Support Eclipse IDE

2014-07-20 13:17
In this particular blog we will see how to setup a sample struts2 project with maven. Struts2 is a widely used web application framework for java enterprise applications and maven is an effe… Read More

## 3 Ways Of Loop Or Iterate Through A Map Implementation HashMap Or TreeMap In Java

2014-07-20 10:52
In recent days Collections is becoming a very common area of core java to be asked in interviews. When it comes to Collections in Java Map interface and its implementations like HashMap or T… Read More

## 100 Core Java Interview Questions And Answers - Part 6

2014-07-20 10:44
Here are top selected core java interview questions asked in high level interviews, these questions may be helpful for both freshers or experienced professional going for interview. 12345678… Read More

## 100 Core Java Interview Questions And Answers - Part 5

2014-07-20 10:44
Here are top selected core java interview questions asked in high level interviews, these questions may be helpful for both freshers or experienced professional going for interview. 12345678… Read More

## 100 Core Java Interview Questions And Answers - Part 4

2014-07-20 10:44
Here are top selected core java interview questions asked in high level interviews, these questions may be helpful for both freshers or experienced professional going for interview. 12345678… Read More

## 100 Core Java Interview Questions And Answers - Part 7

2014-07-20 10:43
Here are top selected core java interview questions asked in high level interviews, these questions may be helpful for both freshers or experienced professional going for interview. 12345678… Read More

## 100 Core Java Interview Questions And Answers - Part 10

2014-07-20 10:42
Here are top selected core java interview questions asked in high level interviews, these questions may be helpful for both freshers or experienced professional going for interview. 12345678… Read More

## 100 Core Java Interview Questions And Answers - Part 9

2014-07-20 10:42
Here are top selected core java interview questions asked in high level interviews, these questions may be helpful for both freshers or experienced professional going for interview. 12345678… Read More

## How First Level Caching Works In Hibernate - Example

2006-06-07 11:16
In computer science Caching is a practice that stores data in memory to increase performance by reducing the number of database hits. In a caching procedure we stores frequently asked data i… Read More

## Securing Restful Web Services With Spring Security And OAuth2 (Spring Security + OAuth2 + Spring Rest)

2006-06-07 11:16
OAuth (Open Authentication) is an open standard or kind of protocol that lets one site to share its content with some other site without sharing credentials.The source code of this applicati… Read More

## 100 Core Java Interview Questions And Answers - Part 8

2006-06-07 11:16
Here are top selected core java interview questions asked in high level interviews, these questions may be helpful for both freshers or experienced professional going for interview. 12345678… Read More

## Spring Security With Hibernate Using Maven - Authentication And Authorization Example

2006-06-07 11:16
In our previous discussions we came across a number of implementations in Spring Security, What is Spring Security, Login & Logout with Spring Security, Spring Security Authentication a… Read More

## How To Override Equals() In Java - Example

2006-06-07 11:16
In our previous discussions we came across a quick introduction to Java’s Collection API and Implementation classes for List, Set and Map interface. In this particular blog we will dis… Read More

## Create Connection With FTP Server In Java - Using Commons Net API

2006-06-07 11:16
In today's discussion we will came across 'How to establish connection with FTP server in Java'. We are using 'apache commons-net' API that holds all necessary classes to deal with FTP opera… Read More

## Get List Of Files From FTP Server In Java - Using Commons Net API

2006-06-07 11:16
In today's discussion we will came across 'How to get list of files from FTP server in Java'. We are using 'apache commons-net' API that holds all necessary classes to deal with FTP operatio… Read More

## Upload Files To FTP Server In Java - Using Commons Net API

2006-06-07 11:16
In today's discussion we will came across 'How to upload files to FTP server in Java'. We are using 'apache commons-net' API that holds all necessary classes to deal with FTP operations like… Read More

# Share the post

Java, Struts 2, Spring, Hibernate, Solr, Mahout an

×