Embed Tomcat in your Spring web app

      Well, today I’m going to tell something about Apache Tomcat.  Apache Tomcat, often referred to as Tomcat Server, is an open-source Java Servlet Container developed by the Apache Software Foundation (ASF). Tomcat implements several Java EE specifications including Java Servlet, JavaServer Pages (JSP), Java EL, and WebSocket, and provides a “pure Java”…

Generate a client side java SDK for multiple APIs

Overview If you have read my last blog post then you already know what I’m going to tell you now. So if you haven’t read those yet please refer it before starting this tutorial. https://randikan.wordpress.com/2016/01/12/generate-client-side-code-using-swagger-codegen/ Prerequisites You need to have a clear idea about swagger codegen. If you need a single jar file as the output…

OAuth 2.0

Now a days APIs do a major role in software engineering, and accessing APIs from mobile devices are becoming very useful. So when it comes to that, OAuth2 is an excellent protocol for securing API services from untrusted devices. OAuth Roles There are four major roles defined in OAuth Resource Owner The resource owner is the…

Android Push Notifications with GCM – Client Side

Overview of Google Cloud Messaging As per google’s documentation “Google Cloud Messaging for Android (GCM) is a service that helps developers send data from servers to their Android applications on Android devices” Send a request to GCM from the device to register (with the google project number). GCM sends back the device registration ID. Device…