Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

 

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

 

and many more ....

 

 

What is javax.ws.rs.core.context? [ Part 5 ]

java-interview-questions-answers

How to use the @Context annotation In part 4 of What is javax.ws.rs.core.context? you learned about using the @Context annotation to inject the HttpServletResponse and the HttpServletRequest classes into resource methods. In this article, you will learn about using the remaining two classes that are only available in a servlet container, they are: javax.servlet.ServletConfig and javax.servlet.ServletContext. Query the Servlet Container’s Configurations in ServletConfig The Servlet container contains ...

Read More »

The Modern Java Monitoring Stack: How to Reverse Engineer the Ideal Setup for Your Production Environment

How can you build the ideal Java production monitoring stack? A decision maker’s guide to the tooling ecosystem Over the last couple of years we’ve had the opportunity to talk with hundreds, if not thousands, of engineering teams. Throughout those discussions and our engineering team’s own pains, a few similarities started to surface and we thought it would be a ...

Read More »

3 Mobile App Performance Issues You Can’t Ignore

Discover faster, more efficient performance monitoring with an enterprise APM product learning from your apps. Take the AppDynamics APM Guided Tour! With the mobile era upon us, the way we conduct business or communicate with our friends and family has changed significantly. Thanks to smartphones and tablets, we rely on mobile apps more and more. Because of this, mobile apps ...

Read More »

Stubbing Key-Value Stores

Every project that has a database has dilemma: how to test database-dependent code. There are several options (not mutually exclusive): Use mocks – use only unit tests and mock the data-access layer, assuming the DAO-to-database communication works Use an embedded database that each test starts and shuts down. This can also be viewed as unit-testing Use a real database deployed ...

Read More »

What is javax.ws.rs.core.context? [ Part 4 ]

java-interview-questions-answers

How to use the @Context annotation In part 3 of What is javax.ws.rs.core.context? you learned how to use the @Context annotation with Request and Configuration, Providers, and Application instances. In this article, you will learn about using the @Context annotation to inject the HttpServletResponse and the HttpServletRequest classes. Get Access to the HttpServletRequest Properties The JAX-RS API runs on top of Servlets and ...

Read More »

Spring Cloud Config Series Part 3: Zookeeper Backend

java-interview-questions-answers

In this part of the series, we take a look at how we can use Spring Cloud Config with Zookeeper to manage our configuration. Introduction I’ve always found it hard to define what Zookeeper is. This is the definition given in its website ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. ...

Read More »

Spring Cloud Config Series Part 2: Git Backend

java-interview-questions-answers

After the first part of the series, where we looked at a Spring Cloud Config introduction, in this post we’ll look at a concrete implementation with a Git backend and the different options available using this backend. Introduction As we saw previously, one of the factors in the Twelve Factor App Manifesto was to move the configuration out of our ...

Read More »

Spring Cloud Config Series Part 1: Introduction

java-interview-questions-answers

I’m a big fan of the Spring Cloud set of tools. I’ve been using them for a while both in a professional capacity (though quite limited) and a personal one. If you have not used it before, you should try it out. You’ll see how convenient it is to set up a Micro-service environment where your applications can follow the ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns