Skip to main content

Posts

Showing posts from 2017

Swagger Documentation with Spring boot application for REST Services

Steps to integrate Swagger Documentation with Spring Boot Application: Step-1: Dependency addition in Maven < dependency >      < groupId >io.springfox</ groupId >      < artifactId >springfox-swagger2</ artifactId >      < version >2.6.1</ version > </ dependency > Step-2: Enable Swagger in your application Use the following annotations(highlighted in bold) in your Spring Boot Application java file: @SpringBootApplication @EnableSwagger2 @ComponentScan(basePackages={"com.test.controller"}) public class SpringBootApp extends SpringBootServletInitializer {  ------------- ------------- } @ComponentScan will be used to inform swagger which package to scan to generate documentation. My Complete Boot Application file looks as follows: import static springfox.documentation.builders.PathSelectors.regex; import java.util.Properties; import org....

Install Tomcat8 as Service in Windows

This topic will contains the steps to install Tomcat8 as a S ervice in Windows . -Go to the TOMCAT_HOME\bin folder. For example, my TOMCAT_HOME location is : C:\software\apache-tomcat-8.5.15 -Open Command prompt as Administrator and run the following command to install tomcat as service: C:\software\apache-tomcat-8.5.15\bin\service.bat install -Open/Refresh Services windows and check if the Tomcat8 service has been installed or not. If the service has been installed, you can see the following: -Once it is installed, run the following: C:\software\apache-tomcat-8.5.15\bin\tomcat8w.exe -A Service wizard will be opened. You can go to Java tab and cross verify the JVM and other library details. For example: -You can make this service as Automatic by changing the following: -Right click on the service and start the process. Tomcat server will be started using this. The is the easiest way to configure Tomcat8 as service. For any queries, please contact me...

It's All Mobile

In the digital era, where anything is available on finger tip and we want everything in our pocket, It will not be wrong to say that mobile devices have become our life line. These devices are impacting our lives on a daily basis. Today we have an app(as the modern world calls it) for everything. You name an application, its there on app store/play store. For any company(small or big), having a mobile application can be a smart way to connect with people and get started with their business very quickly.  I can say it has become a must first step for businesses to have mobile presence if they want to reach out to their customers easily and on time. This is high time for them to get their feet wet and jump into this App world. Today's world of technical innovation is taking business owners closer to their customers and giving them opportunity to know the customers need. This can be a good way to understand your customer instead of solving their problem. Demand for mobile software a...