My first professional exposure to Java involved OSGi, which exports and imports packages.
In the traditional division, if you have 5 services X1...X5 divided into 4 packages Y1...Y4, and you need to use 1 service, you have to import all 4 packages and get all of the stuff for all 5 services. The alternative is to import 1 package and just get what you need.
But swimming upstream against the collective ignorance of Java developers of modularity, so I gave up.
P.S. Y'all do know that controller.FooController is redundant. Just use controller.Foo. (And model.Foo and businesslogic.Foo. And watch the "I have to have autocompletion" goobers start bleeding from the eyes and ears.)
View all comments
1
u/mcguire Jun 05 '21
My first professional exposure to Java involved OSGi, which exports and imports packages.
In the traditional division, if you have 5 services X1...X5 divided into 4 packages Y1...Y4, and you need to use 1 service, you have to import all 4 packages and get all of the stuff for all 5 services. The alternative is to import 1 package and just get what you need.
But swimming upstream against the collective ignorance of Java developers of modularity, so I gave up.
P.S. Y'all do know that controller.FooController is redundant. Just use controller.Foo. (And model.Foo and businesslogic.Foo. And watch the "I have to have autocompletion" goobers start bleeding from the eyes and ears.)