Blog Posts with Tag Java

Java Generics

I've been working for about a year now building applications in Java with Spring Boot. Don't get me wrong, I think Java is capable, and Spring Boot is a great framework that has no comparison in .NET. However, in terms of being able to get things done C# and .NET are by far my favorite language/environment. One thing I recently ran into is the use of generics in Java. In particular, I have a set of APIs and I'm conveying their requests and responses with DTOs. I also have a…

February 06, 2020
|
approximately 2 minutes to read
Setting Receive Timeouts on a Web Service Client in Spring Framework

I'm working on a project utilizing Java and Spring Framework. Recently, I had a situation where I was calling a SOAP web service was taking a very long time to complete. This is a simple problem to resolve. I just needed to increase the receive timeout. However, the actual code to fix this was not quite as straight forward. For my client code, I usually make a simple wrapper to make WebService calls by extending the WebServiceGatewaySupport class. From time to time, I…

May 13, 2019
|
approximately 2 minutes to read
© 2024 - Built and designed by Jeremy Honl with Gatsby. Images are from Unsplash