3 ms·
> I pity those forced to work with old techniques java modules broke a lot of software that were using sun classes or did classloading magic. I was on one of
by LoSboccacc 7y ago
> I pity those forced to work with old techniques
java modules broke a lot of software that were using sun classes or did classloading magic.
I was on one of such application, it's not a lot of effort to migrate forward, but many of the issues are runtime only so unless you have a good test suite, a strong incentive and no closed source library that use some such classes you can't really move forward with it.
anyway, in java 7 was already possible to write "unbloated" code, especially with the servlet 3.0+ spec, but spring and osgi have a lot of inertia in the enterprise community, meaning most people were stuck programming in xml, one of the most unpleasant experience ever.
- agumonkey 7y agoI wonder how much salary increase it would take to make working with xml/spring worth someone's while. ps: also how many shops are doing 'migration off of spring' ?
- mindcrime 7y agoI wonder how much salary increase it would take to make working with xml/spring worth someone's while. Meh.. in my opinion a lot of this is just tropes. Spring is a fine environment to work in, although you really don't have to use any XML with modern Spring. But you can if you prefer to for some reason. All the annotation driven "black magic" can be mildly annoying at times, especially before you understand what's going on under the hood... but considering the amount of boiler-plate crap it saves you from dealing with, I'll happily accept that tradeoff. For my money, if I was starting a new backend service today, I'd absolutely reach for Spring Boot as my starting point. Of course, I may be biased given that I've been writing Java code for 20 years, and I remember what a breath of fresh air Spring was compared to the old EJB 2.x era "J2EE" stuff.
- LoSboccacc 7y ago> old EJB 2.x era "J2EE" could have had worse you started just around the xdoclet, that was peak madness
- mindcrime 7y agoI actually was around for the XDoclet era, although I managed to mostly avoid going down that particular rabbit-hole personally. I think I even have the Manning XDoclet in Action book still on a shelf somewhere around here. Never quite got around to reading it...
- agumonkey 7y agojava: provider of fine screen stand since 1995
- alasdair_ 7y agoSome of us worked at a shop that embraced Microsoft’s “embrace and extend” J++ with COM wrappers to go with Java. I still think THAT was peak insanity.