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.
CheatSheet: How to set up Java and Maven on macOS
This blog post provides a list of links to resources for setting up a Java development environment on MacOS.
Writing an HTML-to-Text converter can be the first task in an AI pipeline with the JSOUP Java Library
This blog post is about the powerful JSOUP Java Library, which allows you to convert an HTML to plain formatted text based on your requirements by extracting and inspecting HTML elements in various ways. We check two methods to do this in this example.
Use of “Quarkus Security OpenID Connect Multi Tenancy” in an own small example
That blog post is about the usage of the "Quarkus Security OpenID Connect Multi Tenancy" implementation in an own small example, how to extract a tenant and reconfigure OIDC configuration for Keycloak.
How to simply examine a JSON response from a Cloudant search in Java
This is a short cheat sheet about, how to simply examine a JSON response from a Cloudant search in Java. I found different examples, but these examples were (more or less) older examples, where I missed some pieces and at the end for me the Java EE documentation was the best resource to realize it.
Configure the attach debug for Quarkus in Visual Studio Code
How to simply organize workspaces and the debugging configuration separated from source code saved in GitHub and how to simply configure attach debug for Quarkus in Visual Studio Code
Authentication and Authorization for Java Microservices with Keycloak, Quarkus and Microprofile
Authentication and Authorization for Java Microservices with Keycloak, Quarkus and Microprofile.
Get your Java microservice up and running
In this blog post I want to highlight the news, that our tutorial Get your Java Microservice up and running is now available on IBM Developer.
