Reflection & Annotations — The Powerful Combination

Inversion of control

Let’s create something simple

test.java.restClient.ResstClient.java
test.java.restClient.ClientRequest.java
test.java.restClient.Response.java
package restClient;

public enum RequestMethod {
GET, POST, PUT, DELETE
}
test.java.restClient.RequestRunner.java
test.java.test.DummyRestApiTesting.java
test.java.test.DummyRestApiTesting.java

Summary

--

--

--

Software Developer, Java Instructor https://www.techleadacademy.io/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

What’s So Trendy About Web3.0 That Everyone Went Crazy Over It?

Judgement Day — the Oracle cloud goes on trial

Why we Need Another Option for Selenium Automation Testing

Using Google Forms and Jupyter Notebooks to Track Time in Medical School

How to deal with transactions in c# .net

Add two numbers without using any arithmetic operators

8 Techniques To Speed up Your Database

Female holding a computer in front of servers

Jetpack Benchmark on Firebase Test Lab

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Beknazar

Beknazar

Software Developer, Java Instructor https://www.techleadacademy.io/

More from Medium

ArrayList or LinkedList? Choose correct one

Constructors in Java

How to create your own Dependency injection framework in Java

Builder design pattern — java