It is extremely simple to add logging support to your RESTful Web Service application with Spring Boot. To use Spring Boot logging you do not really need to add any additional dependencies or libraries to your web app project other than the org.springframework.boot example of which is below. But if you are working on a Spring Boot…

Read More Spring Boot Logging with LoggerFactory

With this blog post, I am going to share with you Spring MVC annotations for mapping HTTP requests into specific handler methods. Then @PostMapping, @GetMapping, @PutMapping and the @DeleteMapping. In most of the Spring MVC applications, you will see the use of @RequestMapping annotation, which I am also going to include in this blog post. But I will…

Read More Spring MVC – @PostMapping, @GetMapping, @PutMapping, @DeleteMapping

With this blog post, I am going to share with you how to quickly create a very simple Spring MVC Web Service project and then build and run it with Maven. In my following blog posts, I am going to enhance this Web Service project and add more functionality to it. And to begin with,…

Read More Create a Simple Web Service Project with Spring Boot

In this blog post, I am going to share with you how to configure Spring Data JPA in a Jersey 2 Container Deployable Web App. Spring Data JPA makes it much easier and more convenient to persist and read data from the database and when I needed to tie together Spring Data JPA and Jersey 2 Web…

Read More Configure Spring Data JPA in Jersey 2 JAX-RS App

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