-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Jakarta MVC to Jakarta EE Web Profile 10? #381
Comments
How are we going to determine whether to add MVC to Web Profile? Do we have enough interest and usage of MVC in the Web Profile community to warrant this addition? Maybe we need some polling and/or data to support this inclusion? I can see some benefit of including it, but we don't want to bloat the Web Profile if it's not a desirable Specification. Similar to what we've done with MicroProfile -- we can let new specifications "bake" for a bit as Standalone Specifications before attempting to include it in a profile or platform. |
My view as Committer: Regarding the community, I think we should also think of people which aren't using Jakarta EE at the moment. I know a lot devs not thinking about using Jakarta EE for their applications, because they only know JSP and JSF as possible frontend technologies which they aren't willing to use. With an easy access to Jakarta MVC via the Web Profile and the possibility to use modern web development approaches by this, I'm sure we'll get more users (back) to Jakarta EE and provide some useful features to the existing community. My personal view: |
+1 @erdlet Another perspective I would like to add: I totally see that the web-profile should be a lean and lightweight specification. From a developer perspective, adding MVC to it helps to achieve that. MVC is (compared to JSF) a tiny specification with just a handful of annotations on top of already existing ones. Today, if you want to start developing a web app in Java WebProfile, your go-to solution is JSF. JSF is a huge spec with a concept that is quiet different from many of the frameworks out there (Rails, Spring...) and even the other popular specs in Jakarta (like JAX-RS). Adding MVC will lower the entry barriers especially for new developers coming to Jakarta, and thereby help the Webprofile live up to it's mission to be the lightweight version of Jakarta EE. |
+1 We've been watching the development of the MVC spec since it missed the opportunity to be part of javaEE and are willing ,since then, that it becomes an integral part of JakartaEE. I have two reasons to offer:
|
I'd be a little more cautious about stuffing too much into the Web Profile.
Struts was mentioned, that is not even a Java/Jakarta EE spec by itself and never was. It is based at least on Servlets and most likely JSP at least optionally. |
I'm kind of biased here since I have been involved in MVC from the beginning, but I will way in here nevertheless.
|
I suggest a simple poll to gather input from the wider community. I'll set that up. |
My feeling is that this needs bake time as a released standalone spec to see vendor adoption. I have asked our Wildfly team to comment on whether they are ready to start supporting this as part of a web profile release. |
I have not seen user demand for inclusion of MVC in WildFly, so adding a subsystem for it is not on our current roadmap. I've pinged the community for their interest in this; if there is we can look at it, perhaps initially as an extension feature pack hosted at https://github.com/wildfly-extras. Server vendors are free to include MVC in their servers if there is demand from their users for it. If there is demand I expect multiple vendors would support it as a standalone spec and then there will be portability amongst those vendors. During that process the spec and impl will get bake and cross-vendor collaboration, and ideally there would be multiple impls. When that happens that seems like a better time to include the spec in a profile and thus require all vendors to support it. |
My personal view here is that I also have not seen a great demand for MVC. Adding the MVC specification to the WebProfile forces each vendor who implements WebProfile to either integrate the existing implementation into their runtime or create their own. The amount of investment to include MVC into a runtime would need to be justified by user demand which I have not seen. I have to agree with bstansberry when he says:
|
Some time ago @gtudan created a Jakarta MVC module for Wildfly (see here). It definitely needs to be updated, but it may be a good starting point for such an extension feature pack. |
Really appreciate the developer viewpoints provided by @erdlet, @gtudan, and @pgutierrezn2! Thank you. The MVC team is already producing Specifications, APIs, and TCKs. And, at least one implementation exists with Krazo. So, if an application server decides to support Web Profile and MVC, doesn't that provide the environment that is desired? Or, are you indicating that MVC needs to be part of Web Profile to help promote it's use across application servers? Kind of like a "build it and they will come" mentality? I appreciate the input from the Wildfly and Open Liberty teams. But, if we wait for customer demand, then are we too late and these prospective customers have already looked elsewhere for their solution? Just playing devil's advocate... |
The Krazo team has instructions for how to integrate the MVC implementation in various servers. This is going to have to be the mechanism by which MVC gets exposure. Vendors can only commit to supporting a technology when there is sufficient demand due to the long support cycles associated with the production releases. |
Will not be included in Jakarta EE 10 as decided in the July 27 Platform Call and discussion in this issue. |
Creating this issue to track the decision of whether MVC should be added to the Web Profile.
The text was updated successfully, but these errors were encountered: