• Menu
  • Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

JavaBeat

Java Tutorial Blog

  • Java
    • Java 7
    • Java 8
    • Java EE
    • Servlets
  • Spring Framework
    • Spring Tutorials
    • Spring 4 Tutorials
    • Spring Boot
  • JSF Tutorials
  • Most Popular
    • Binary Search Tree Traversal
    • Spring Batch Tutorial
    • AngularJS + Spring MVC
    • Spring Data JPA Tutorial
    • Packaging and Deploying Node.js
  • About Us
    • Join Us (JBC)
  • Java
    • Java 7
    • Java 8
    • Java EE
    • Servlets
  • Spring Framework
    • Spring Tutorials
    • Spring 4 Tutorials
    • Spring Boot
  • JSF Tutorials
  • Most Popular
    • Binary Search Tree Traversal
    • Spring Batch Tutorial
    • AngularJS + Spring MVC
    • Spring Data JPA Tutorial
    • Packaging and Deploying Node.js
  • About Us
    • Join Us (JBC)

Mohamed Sanaulla

Binary Search Tree Traversal Implemented in Java

November 18, 2013 //  by Mohamed Sanaulla//  Leave a Comment

Most of the students fresh out of their engineering studies or those who are still studying will have the concept of Binary Search Trees fresh in their minds. But with most of the people who have been out of college for many years now will kind of be having a not so clear idea of …

Category: JavaTag: Java Data Structures

Bean Validation in Java EE 7 – Creating Custom Constraints and Validations

November 13, 2013 //  by Mohamed Sanaulla//  Leave a Comment

In my previous post I showed how one can make use of the default constraints provided by the Bean Validation API in validatng the model data. Bean Validation API allows the developers to define their own constraints by creating a new annotation and writing the validator which is used to validate the value. In this …

Category: Java EETag: javaee 7

Bean Validation 1.1 in Java EE 7 – Using Default Constraints

November 7, 2013 //  by Mohamed Sanaulla//  Leave a Comment

Bean Validation 1.1 (JSR 349) is integrated as part of Java EE 7. The new features of Bean Validation 1.1 are as follows: Applying constraints on method parameters and return values. This can be used in creating a pre and post condition contract. Constraints can be applied to constructors. New API to obtain metadata of …

Category: Java EETag: Bean Validation, javaee 7

Creating Managed Threads Using ManagedThreadFactory in Java EE 7 – Part 3

November 4, 2013 //  by Mohamed Sanaulla//  Leave a Comment

So far we have seen: In Part-1: Creating ManagedExecutorService to submit a single task or a list of tasks where each task would be an implementation of either Callable or Runnable interface. In Part-2: Creating ManagedScheduledExecutorService for scheduling tasks to run at a later time or to schedule repeating tasks. In this post, which will …

Category: Java EETag: javaee 7

ManagedScheduledExecutorService for Implementing Concurrency Utilities in Java EE 7 – Part 2

November 1, 2013 //  by Mohamed Sanaulla//  Leave a Comment

In my previous post you saw how to use the concurrency utilities in Java EE 7 by using the ManagedExecutorService. In this post we will have a look at a variant of this i.e the ManagedScheduledExecutorService. ManagedScheduledExecutorService is used to schedule tasks to be executed in future by specifying the delay in terms of SECONDS, …

Category: Java EETag: javaee 7

ManagedExecutorService for Implementing Concurrency Utilities in Java EE 7 – Part 1

October 29, 2013 //  by Mohamed Sanaulla//  Leave a Comment

Prior to Java EE 7 one could make use of the concurrency utilities present in java.util.concurrent package or the java.lang.Thread or java.lang.Runnable. But it was not considered a best practice, not a standard and not safe for the application. This was because the Java EE web and EJB containers instantiate objects using container-managed thread pools …

Category: Java EETag: javaee 7

Parsing a vCard file to generate a CSV file with the required data

October 26, 2013 //  by Mohamed Sanaulla//  Leave a Comment

Off late I have been juggling between a Nokia Symbian phone and an Android phone. The issue which I was facing while I juggled between the phones is the availability of contacts across both the devices. My Android phone had all the contacts which I wanted to be transferred to the Symbian phone as well. …

Category: JavaTag: Mobile

A Simple Factory For Collections Using Varargs

October 23, 2013 //  by Mohamed Sanaulla//  Leave a Comment

Suppose you want to create a list object in Java and populate it with some default elements, how would you go about coding it? One will pursue one of the following approaches: (If you have any other approach feel free to share them via the comments and we will update the post accordingly). [code lang=”java”] …

Category: JavaTag: Java 5.0

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Go to page 6
  • Interim pages omitted …
  • Go to page 13
  • Go to Next Page »

Primary Sidebar

Follow Us

  • Facebook
  • Pinterest

FEATURED TUTORIALS

np.zeros

A Complete Guide To NumPy Functions in Python For Beginners

What is new in Java 6.0 Collections API?

The Java 6.0 Compiler API

Introductiion to Jakarta Struts

What’s new in Struts 2.0? – Struts 2.0 Framework

JavaBeat

Copyright © by JavaBeat · All rights reserved
Privacy Policy | Contact