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
With this blog post, I wanted to share with you a few videos I have recorded for my video course Firebase and Swift: Practical examples. The videos in this blog post demonstrate how to add Facebook Login button to your mobile application built with Swift and how to authenticate the user with their Facebook credentials.…Read More Facebook Login Button with Firebase and Swift
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…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…Read More Firebase Cloud Functions with Swift
In this Swift programming tutorial we will learn how to implement Sign in with Twitter account button using Firebase Social Authentication and Swift. If you are interested in learning how to use Firebase Social Authentication to implement Sign-in with Google account or Facebook, please check the below two tutorials I have published earlier: Firebase Social Authentication.…
The post Firebase Social Authentication. Sign In with Twitter Account in Swift. appeared first on Swift Developer Blog.Read More Firebase Social Authentication. Sign In with Twitter Account in Swift.
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
With this Swift programming tutorial I will continue working with Firebase Social Authentication and this time I will share with you how to implement Sign-in with Facebook account. If you are interested in learning how to use Firebase Social Authentication to implement Sign-in with Google account please check my previous tutorial. Create New or Open…
The post Firebase Social Authentication. SignIn with Facebook Account in Swift. appeared first on Swift Developer Blog.Read More Firebase Social Authentication. SignIn with Facebook Account in Swift.
With this Swift programming tutorial we will create a simple mobile app and will learn how to use Firebase Social Authentication to implement user to Login with Google account functionality. The app we are going to create will have only two views. One view with a login button and another view is protected page which will open once the…
The post Firebase Social Authentication. SignIn with Google Example in Swift. appeared first on Swift Developer Blog.Read More Firebase Social Authentication. SignIn with Google Example in Swift.
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