Forum: JRuby Are separate Service files in java extensions unofficially deprecated?

712effd8673463d44a730bac4cd29311?d=identicon&s=25 Martin Prout (monkstone)
on 2014-05-17 15:23
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 Coglan 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/A....
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/C...
712effd8673463d44a730bac4cd29311?d=identicon&s=25 Martin Prout (monkstone)
on 2014-05-18 21:17
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 Coglan before me, I feel I'm working a bit in the dark.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.