This blog post discusses how to migrate from org.json to Gson. It provides code examples for both libraries and concludes that the migration requires minimal changes.
How to create a watsonx.ai REST client in Spring Boot?
This blog post demonstrates the Java Spring Boot implementation to invoke a watsonx.ai endpoint. It outlines the classes and steps involved, including building and sending requests, handling prompts, and extracting answers. The post also provides sample code for invoking the endpoint and using RestTemplate. Overall, it offers a comprehensive guide on utilizing watsonx.ai in a Spring Boot application.
Create an IBM Cloud IAM access token in your Spring Boot Java application
This blog post provides an example of obtaining an IBM Cloud access token using the IBM Cloud IAM REST API and Spring Boot. It includes a Java RestClient implementation for getting the access token and a REST endpoint invocation in a sample application.
Get started with Spring Boot Java application development using Maven, add Swagger UI and an initial basic authentication
This blog post provides a customized extract of the "Spring Boot Quickstart" to start a Spring Boot Java application using Maven, Swagger UI, and initial basic authentication without source code changes. It covers creating a "Hello World" WebService, adding a Swagger UI server, implementing initial basic authentication, and additional resources.
