Search results for: Open API

Create a Servlet Container deployable Jersey web application Create new Jersey web application using Maven. The project created with the below jersey-quickstart-webapp archetype can be built and deployed to a servlet container like for example Apache Tomcat. mvn archetype:generate -DarchetypeGroupId=org.glassfish.jersey.archetypes \ -DarchetypeArtifactId=jersey-quickstart-webapp -DarchetypeVersion=2.26 POM.XML Dependency to Support JSON To support JSON in your Jersey Web App add…

Read More RESTful Web Services with Jersey and Spring Data JPA – Cheat Sheet

In this blog post I would like to share with you how to use Java 8 Functional Interfaces and how to create your own functional interface. What is Functional Interface? Functional interface is a Java interface with single abstract method. Below is a very simple example of a functional interface: package com.appsdeveloperblog; @FunctionalInterface public interface MyFunction<A,…

Read More Java 8 Functional Interface Tutorial

In this Java programming tutorial I would like to share with you a sample Java code that uses Amazon AWS SES(Simple Email Service) Java SDK to send an email message. I used this code implement Email Verification feature for my mobile app. The code below would send an email message containing an email verification link…

Read More Send Email Message Using AWS SES Java SDK

In this short Kotlin tutorial I am going to share with you how to create a TimePicker in Kotlin programmatically and how to update text label when the value of Hours or Minutes has changed. The below code example will cover: Create TimePicker and add it to LinearLayout Get input from TimePicker when user changes the value…

Read More Create TimePicker in Kotlin Programmatically

With this tutorial I wanted to share with you how to configure your Java project and it’s hibernate configuration file hibernate.cfg.xml to use a more professional and production ready connection pool provider C3P0. Hibernate’s internal connection pooling algorithm is rudimentary, and is provided for development and testing purposes. In my earlier blog posts I used…

Read More Configure Hibernate to Use C3P0 Connection Pool

In this Kotlin code example we will learn how to create DatePicker in Kotlin programmatically. To break it in more details the code example below will cover:  Create DatePicker in LinearLayout Initialize DatePicker with current date( Year, Month and Day) When user changes the DatePicker values, call OnDateChangeListener and get input from the DatePicker Set DatePicker values…

Read More Create DatePicker in Kotlin

The category “Swift” has been updated with a few very useful links which contain many video tutorials and code examples that will help you build many features for your mobile application with Swift. User registration, sign in and sign out video tutorials The set of 15 video tutorials on how to create user registration, login and logout will…

Read More Swift Video Tutorials and Code Examples

It time to learn how to create a Web Service to authenticate user with their user name and password and how to issue a unique secure access token which our Mobile Application can use to send HTTP requests and communicate with protected web services of our API. For a free video tutorial on how to…

Read More RESTful Web Service to Authenticate User and Issue Access Token

In this blog post I am going to share with you a way to create a RESTful Web Service to: Create a new user profile, Generate and save in database a user secure user password rather than an actual password provided by user, Return back as a response a custom user profile object(JSON) with information that…

Read More RESTful Web Service to Save a New User in Database