I want to create a wrapper for the rest APIs of an opensource project, the idea is to make something that people can add to their pom.xml and than just instantiate through the interface to use it calling the related functions.i.e.
Wrapper wrapper = new WrapperImpl()wrapper.functionThatWrapAnApi()
Now, aside of the design itself thatshouldn't be very complex, I'm trying to understand what is better for my requisites, and in general if the idea I have makes sense.
Requirements:
- shouldn't have many transitive dependencies because is just a wrapper
- shouldn't be very heavy
- should be used by everyone with Java version > 17
So my questions are, should I go plain Java, or could I use Spring boot or Micronaut? (I know that would be too much maybe if I don't have the plan to use so many features).
Usually the dependencies we import are made in plain Java or you know dependencies built on top of frameworks? (I know for sure the ones in the springframework package).
Does it REALLY changes anything to the ultimate user that import it in the pom if I go one way or another?
If I use a framework, is it going to be a problem to an user that uses another framework?
I didn't find a solution online and neither gpt is likely believable I think.