I was stuck solving this weird exception while working on a Spring Boot and Hibernate application. I verified all the configuration settings, double-checked the API calls and still, I was clueless as to what was actually causing the problem. The only conclusion that I had – The error occurs when there is a null value being sent a placeholder to the query.
Exposing application servers to the Internet is considered as a bad practice. The recommendation is to shield it using a web server (reverse proxy). This not only reduces traffic to the application server but it also prevents from exposing critical ports to the world. Another advantage is to route static resource requests to a different server or location. The practice is known as Reverse proxy.
Folder provides a simple and efficient approach to organize files. Along with file management, Google Drive provides an option to create folders. Unlike traditional folder system, with Google Drive you can store one file under multiple folders. In the previous article, we have already seen how to work with files. This article will help you understand the basics of Folder API.
A file is an efficient option to organize related data. With the nature of today’s industry, it becomes necessary to make these files available anytime, anywhere. With Google drive, one can easily share files with others. Unlike past, wherein a separate hardware like an external drive, USB pen drive, Compact Disk etc., was required to transport data. On contrary, web-hosted storage solutions like Google Drive provide lot more convenience. Because File storage is its fundamental feature, it also provides options to secure it from an unauthorized access.
We configured a project in Google Developer console and also configured OAuth credentials for a user consent. This brings us to the next step of integrating Google Drive API dependencies. The integration steps are pretty easy. Once you know the latest API versions from repositories like https://mvnrepository.com, you can easily proceed.
Before we start experimenting with Google Drive APIs, it is necessary to create a project
When it comes to storing media files, documents etc. the most convenient option is to rely on Cloud storage solutions. Google Drive, Dropbox, AWS S3, Box etc. offer user-friendly interfaces to interact with storage solutions. Access from anywhere, anytime, without a need of carrying any device, feels way more efficient. With the similar requirement, I was working on a project which is using Google Drive as a storage solution.
Spring boot has eased the life of developer by reducing boilerplate configuration and reduced project bootstrap time by declaring defaults. Those who are already working on Spring projects and are leveraging Spring boot must have realized productivity gains. In addition to that, Maven build script (pom.xml) has been shortened due to single dependencies made available by Spring boot for a specific purpose. For example including spring-boot-jpa-starter dependency in Maven script ensures that all the required dependencies for interacting with a database are available with a single declaration. While there are many benefits of spring boot, one of the major benefits is to run the application quickly with embedded tomcat instead of having need of a separate server. This has definitely shortened the development cycle and developers can now focus more on building solution for business requirements. Being able to easily deploy the application and that too with speed container approach is on the rise. Spring boot application can be easily be bundled along with container solutions like Docker.