Home » Java » Enterprise Java (page 30)

Enterprise Java

Fully working prototypes with Spring Boot and H2

spring-interview-questions-answers

We do use a lot of h2 with spring especially for unit tests. However instead of unit tests we might want to have a fully functional prototype with data to display. H2 is the perfect candidate for that, it works great with spring, it has good syntax compatibility with most databases out there and it also provides you with a ...

Read More »

Serverless – a new way to build modern applications

java-interview-questions-answers

Curious about serverless/function-as-a-service/cloud functions technologies, but haven’t had a chance to dig in? Wondering what all the excitement is about? Serverless doesn’t mean no servers. It’s a new way to build modern applications. Watch this video to learn more about this new approach to building modern applications. The video covers: The current state of the serverless ecosystem & major players ...

Read More »

Multi-Cloud Interoperability != Cloud Services Aggregation

java-interview-questions-answers

Multi-cloud is defined as an approach that combines more than one cloud (public or private), from more than a single cloud vendor. However, this is not an aggregation of various services from different vendors, it requires a mandatory glue – cloud-agnostic approach with interoperability across all providers. Below we’ll cover what problems the right multi-cloud implementation can solve, what challenges can be ...

Read More »

Making REST Communication Easy with Feign Clients

java-interview-questions-answers

In this example, we shall show you how to develop a simple Spring Boot Application with a Feign client for consuming a Weather REST service. Spring Boot is a Java-based framework, which simplifies the building of web and enterprise applications. Spring Boot has an embedded Tomcat, provides ‘starter’ dependencies and no requires the configuration of XMLs. Feign is a declarative ...

Read More »

Automate Access Control for User-Specific Entities

java-interview-questions-answers

Practically every web application is supposed to have multiple users and each user has some data – posts, documents, messages, whatever. And the most obvious thing to do is to protect these entities from being obtained by users that are not the rightful owners of these resources. Unfortunately, this is not the easiest thing to do. I don’t mean it’s ...

Read More »

HTTP cache with Spring examples

spring-interview-questions-answers

Caching is a powerful feature of the HTTP protocol but for some reason, it’s mainly considered for static resources like images, CSS stylesheets, or JavaScript files. However, HTTP caching isn’t limited to application’s assets as you can also use it for dynamically computed resources. With a small amount of work, you can speed up your application and improve the overall ...

Read More »

Cached Prepared Statements with Spring Data Cassandra

Today I have a short post on using Prepared Statements in Spring Data Cassandra. Spring provides you with some utilities to make using Prepared Statements easier rather than relying on registering queries manually yourself with the Datastax Java Driver. The Spring code provides a cache to store prepared statements that are frequently used. Allowing you to execute your queries via ...

Read More »

Key differences between Apache Ignite, Hazelcast, Cassandra and Tarantool

Apache Ignite is widely used around the world and is growing all the time. Companies like Barclays, Misys, Sberbank (3r largest bank in Europe), ING, JacTravel all use Ignite to power pieces of their architecture that are critical to the day-to-day operations of those organizations. Moreover, the vendor like TIBCO uses core caching data-grid module of Apache Ignite with advanced ...

Read More »

Simple Testing Can Prevent Most Critical Failures

java-interview-questions-answers

Error handling is one of the hardest and ignored part of software development and if system is distributed then this becomes even harder. Nice paper is written on Simple Testing Can Prevent Most Critical Failures topic. Every developer should read this paper. I will try to summarized key take away from this paper but will suggest to read the paper to get ...

Read More »