News for hackers. Stuff that matters.
Re:Java 12 by gigatexal on Wednesday March 20, 2019 @01:25AM (#19439264)
Biggest barrier to entry for me is the build dependency system Maven. And I never understood Ant. I did like the language when I played around with Java 8. Streams are amazing.
Re:Java 12 by BinaryIdiot on Wednesday March 20, 2019 @02:34AM (#19439579)
Maven is an incredible system. It can do so much and yet, even though I've setup countless apps and services, I can never use it without looking literally everything up.

Maven and spring are the worst parts, for me, when dealing with Java. I don't mind the language at all.

Re:Java 12 by gigatexal on Wednesday March 20, 2019 @03:37AM (#19439816)
Yeah I felt the same. The language is fine. It’s got a fantastic set of libraries and a large ecosystem and one would be hard pressed to not find a job being a competent Java dev but maven ugh
Re:Java 12 by eitland on Wednesday March 20, 2019 @03:46AM (#19439858)
With maven, less is more. Huge maven files usually means something is wrong.

Follow the conventions and it is less than a screenful for a basic project.

I typically solved maven problems by removing cruft and falling back to the standards.

Re:Java 12 by thecleaner on Wednesday March 20, 2019 @05:24AM (#19440345)
What was your problem specifically ? For me these two worked great together actually. I really loved Spring. Maybe the problem has some overlooked fix that I can help with ?
Re:Java 12 by BinaryIdiot on Wednesday March 20, 2019 @04:26PM (#19446477)
Nothing in particular just lots of seemingly random issues trying and failing to get them working correctly, likely due to my lack of knowledge but every time I try to better learn them my brain just can't handle it.

I don't know what it is. I think part of it is my auto-cringe when I see XML nowadays.

Re:Java 12 by thecleaner on Sunday March 24, 2019 @03:59PM (#19478426)
I can understand the feeling. I think in the new Spring framework configurations are written in Java. I think this is from version 4.0. So that will solve your XML issues. However, I do make the assumption that you have control over what version of Spring you use. I think there is a problem with the documentation of Spring Boot when it comes to config code since you have a lot of stuff with XML but not so much with the modern Java based stuff. However you can try to learn how to map the XML to Java, you only need a few things to learn that mapping not the full XML configuration knowledge.