@QueryParam annotation allows us to read the request parameter values which were passed as a part of URL query string for example: site.com/api/users/r4ghtaf43c3n/messages?start=1&limit=50 where site.com is your web site domain name, /api/users/ is the path to your Root Resource, r4ghtaf43c3n is the value of specific user id and can be read with @ParthParam annotation, /messages is…Read More JAX-RS @QueryParam. Reading URL Query Parameters.
In this blog post I am going to share with you how to read the PathParam value which was included in the request URI. And before you continue further I would like to mention that I have recorded a video lesson on how to use the @PathParam annotation and made it part of my video…Read More JAX-RS @PathParam. Reading Path Parameters.
In this blog post I am going to share with you how to handle HTTP GET request in your Java Web Service created with Jersey framework and how to response back with XML or JSON Response. If you do not have your Java RESTful Web Service created yet please follow the below link to a…Read More Jersey HTTP GET Example
Learning how to convert Java objects into JSON and JSON into Java will help you a lot in your work as a full stack mobile app developer. In this blog post I will share with you code examples which will help you do most of the tasks you will even need to do when working with JSON and…Read More Convert Java into JSON and JSON into Java. All Possible Examples.
In this blog post I will share with you how to use Maven to generate a very simple Jersey application which you can then use to build RESTful web services for your mobile app. I will also show you how to edit pom.xml file to add needed dependencies, so that your Jersey app is able…Read More Create Jersey JAX-RS Project with Maven
In this blog post I am going to share with you how to generate java project with Maven. You will also learn how to package your project with all the dependent libraries into single jar file and run you java application via command line in terminal window. This tutorial assumes you have installed maven on…Read More Create Java Project with Maven
Hi there! Over the past few months I have been heavily involved into writing Java code rather than Swift and have collected many Java and Android code examples I am…Read More Meet AppsDeveloperBlog.com
Even though there are many different Git visual tools available for us to use it is not always that we have a visual tool available and have to open a terminal window to use Git. Unfortunately, the longer we use Git visual tool, the more there are chances we forget how to use some of…Read More Git Cheat Sheet, Tips and Best Practices
When user signs up with our Mobile App we ask them to come up with a secure password and then we take that password and store it in database. We all know it is not secure to store user password as is because anyone who looks at the users database table will be able to…Read More Encrypt User Password Example in Java
When user signs up for an account with our mobile app, we invite them to come up with a secure password. It is user friendly, if our app can suggest…Read More Generate User Password in Swift
In this short code example we will generate a random alpha-numeric string of characters which can be used as a user password. The code example below allows you to specify the password length. Although, the longer the password is the more difficult it is to brute force it but keep in mind that the longer…Read More Generate Secure Password In Java
To enable or disable android app from being backed up or restored you can use AndroidManifest.xml file and android:allowBackup=”false” which if present and is set to false will prevent even a full-system backup that would otherwise cause all application data to be saved via adb. The default value of this attribute is true. For example: <?xml version=’1.0’…Read More android:allowBackup – Enable or Disable Android App Backups
The below code examples demonstrates how to create a new array of 5 elements of String data type in Java and how to populate each array element. You will also learn how to access each array element individually and print out its value. Create a New Array in Java. Code example. package com.appsdeveloperblog.arrays; public class…Read More Create New Array Example in Java
In this little Java code example you will learn how to create a new file in Java. Please note that the path to the file is absolute. Also note the use of createNewFile() function which will also check for existence of the file before creating a new one. So there is no need to write…Read More Create New File In Java
Earlier, I have created a short video tutorial on how to use UIPageViewController to create the “App Tutorial Page” which will start up as soon as your mobile app launches.…
The post UIPageViewController. Create and Skip App Tutorial Pages. appeared first on Swift Developer Blog.Read More UIPageViewController. Create and Skip App Tutorial Pages.