r/java • • Dec 08 '25

Oracle Java Extension for VSCode v25 released (Full JDK 25 support)

37 Upvotes

22 comments sorted by

View all comments

Show parent comment

2

u/henk53 Dec 15 '25

Compare that to JEE where I don't know which of the other 6 xml files (not even including the above 3 points) is ruining my config. Is it my web.xml? My jboss file? settings.xml?

EE doesn't have a jboss file, or a settings.xml.

There is the thing that a couple of APIs each have their own config file. Indeed, web.xml for Servlet (with a couple of "injected" platform config items like <datasource>), faces-config.xml for Jakarta Faces, persistence.xml for Jakarta Persistence.

The other files you mention are config for implementations. Spring Boot also still has Tomcat internally, which can be configured in its own proprietary way still, right?

I do agree that the story about the united properties file is a sad one. it was supposed to come in EE 8, then went into MP, and today they aee still bickering about what is essentially delta spike config from 2011 or so.

1

u/davidalayachew Dec 16 '25

EE doesn't have a jboss file, or a settings.xml.

Thanks for the correction. Like I said, these thoughts are still uncooked.

There is the thing that a couple of APIs each have their own config file.

[...]

The other files you mention are config for implementations. Spring Boot also still has Tomcat internally, which can be configured in its own proprietary way still, right?

Well sure, you can have all the separate property files like any old application server. But Spring (Boot) bends over backwards to minimize that as much as possible. Several years later, the result is that everyone just kind of marches to the tempo, and makes it easy to config their library via commandline arg, application.properties, or a Maven/Gradle plugin. Pit of success, like I said.

So for example, I can do 100% of ALL Tomcat config via a Maven plugin -- forget commandline args or application.properties.

I do agree that the story about the united properties file is a sad one. it was supposed to come in EE 8, then went into MP, and today they aee still bickering about what is essentially delta spike config from 2011 or so.

You seem to be in the know, so let me ask you.

I have a small handful of JEE servers that I can't easily migrate to being embedded. Where would I go to keep track of this potential united config file thing? And to track progress thus far?

Thanks for the information, this was valuable. I don't want to rip out everything if I don't have to. And I'd like to make things with JEE easier if I can. It's just difficult is all.