While playing around with the javax provider, I have created a spring configuration file with the following two Beans: I am injecting these two beans in two different services like so: The implementation works as expected and my depending controllers also return the data in the anticipated format. Now I wanted to add a few unit-tests for my implementation, by
Tag: javax.inject
Glassfish 5.1 missing modules from previous versions
We have an application running on Glassfish 5.0.1 and before that 4.1.1 versions. Recently server is updated to Glassfish 5.1.0 and our application can not be compiled due to the missing of javax.inject.Inject. This relevant jar was in the previous Glassfish versions (in the module folder). So I’d like to hear that in glassfish 5.1 should we add this jar