Author: Sergey Kargopolov

I’m a software developer with a passion for teaching. I’ve written lots of articles for AppsDeveloperBlog.com and made plenty of video tutorials on my YouTube channel(https://youtube.com/@SergeyKargopolov). If you want to dive deeper, I’ve also got some courses on Udemy(https://www.udemy.com/user/sergeykargopolov/) you might like.

When I’m not coding, I love to travel. I also share my travel adventures over at TravelLocalCanada.com. Hope to see you around on one of these platforms!

Web: www.appsdeveloperblog.com

With this blog post, I am going to share what I needed to do to make JPA work in my Jersey 2 Web Services App. I have created my Jersey 2 app using the following maven snippet: mvn archetype:generate -DarchetypeGroupId=org.glassfish.jersey.archetypes \ -DarchetypeArtifactId=jersey-quickstart-webapp -DarchetypeVersion=2.26 I then opened pom.xml and added a few new dependencies which I…

Read More Configuring JPA in Jersey 2 Web App

Adding dependency injection support into Jersey 2 Web Services application that uses HK2 is not very straightforward. So, I created this page to document things I needed to do in my Jersey 2 RESTful Web Services app to make the Dependency Injection work. Hope you will find it useful. Create a new class that extends AbstractBinder. This…

Read More Dependency Injection with HK2 in Jersey and JAX-RS

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

Add Required Libraries to Xcode Project with Cocoapods pod ‘Firebase/Core’ pod ‘Firebase/Messaging’  Enable Push Notifications in Capabilities Tab Enable Background Modes in Capabilities Tab Note: Additionally to enabling the Background Modes, you also need to enable the Remote notifications mode by checking its checkbox as shown in the image below. AppDelegate.swift – Libraries to Import import…

The post Push Notifications with Firebase Cloud Messaging – Cheat Sheet appeared first on Swift Developer Blog.

Read More Push Notifications with Firebase Cloud Messaging – Cheat Sheet

Make your mobile app remotely configurable with Firebase Remote Config and you will be able to remotely enable or disable app UI elements, images, texts, labels and even change app behavior when needed. And all of it without a need to release a new version of the app to the app store and wait for…

The post Firebase Remote Config with Swift appeared first on Swift Developer Blog.

Read More Firebase Remote Config with Swift

hisI am becoming a big fun of Serverless architecture in the cloud and recently started reading a lot on how to build RESTful Web Services in the Cloud without starting your own server. Of course, I quickly came across Firebasebase Cloud Functions and I liked it a lot. Firebase Cloud Functions is one of those…

The post Firebase Cloud Functions with Swift appeared first on Swift Developer Blog.

Read More Firebase Cloud Functions with Swift

With this blog post, I would like to share with you how to send Silent Push Notification using CURL or Postman HTTP client via Firebase Cloud Messaging and how to receive silent push messages in your mobile app built with Swift. Silent push messages when received by your mobile app are not displayed to user…

The post Silent Remote Notifications with Swift and Firebase appeared first on Swift Developer Blog.

Read More Silent Remote Notifications with Swift and Firebase

Recently I have published a video course that teaches how to use Java JAX-RS to create a RESTful Web Service for your mobile application and how implement features like user Sign up, Sing in and how to communicate with protected Web Service Endpoints. I would love it if you check it out and hopefully like it, find…

Read More Deploy Web Application Archive(WAR) to Amazon AWS EC2 Linux Instance

This year was a record for me in the amount of programming tutorials I read and published and I feel so grateful that I have this opportunity to learn and share. I feel like I want to give back to the world more and since it is a Christmas and a New Year time and…

The post Winter Holiday Give Away – A Video Course of Your Choice appeared first on Swift Developer Blog.

Read More Winter Holiday Give Away – A Video Course of Your Choice

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 short Java programming tutorial I am going to share with you how to take a String value and Base64 encode it. We will then take the Base64 encoded String value and will decode it back into original String. There are different libraries out there that allow us to use Base64 encoding and decoding and…

Read More Base64 Encoding and Decoding Example in Java