Are separate Service files in java extensions unofficially deprecated?

I have successfully created some java extensions for ruby-processing,
based on yokolets Fraction class tutorial (which is very clear), however
I was concerned that Headius was now pointing to a different model by
James C. as being best example to follow, which does away with the
separate service file. It took me a bit longer to get my head around
James example, and I have now converted both my ArcBall and DegLut
extension to that model
https://github.com/ruby-processing/RVecMath/wiki/ArcBall-functionality.
My question is what is the benefit of the new model, is the old form
deprecated (I still see examples out there). Should I convert my other
classes, might they be useful templates for others
https://github.com/ruby-processing/RVecMath/wiki/Creating-native-extensions-for-ruby-in-java

Finally I found it again, here is where Charlie mentions the unofficial
deprecation of the “service” model of getting code to load.
https://github.com/jruby/jruby/issues/825
Further I have since updated yokolets fraction class
https://github.com/ruby-processing/Poplar
But like James C. before me, I feel I’m working a bit in the dark.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs