It is. It is however limited in capabilities. It's basically a barebones servlet container, implementing only the JSP/Servlet parts of the huge Java EE API. If you ever want to go EJB or JPA, then you'd like to pick another, e.g. WildFly, TomEE, Payara, Liberty, WebLogic, etc. Otherwise you have to use Spring instead of Java EE. It's namely not possible to install EJB in a barebones servlet container without modifying the core engine, you'd in case of Tomcat basically be reinventing TomEE. See also What exactly is Java EE?, How to properly install and configure JSF libraries via Maven? and How to install and use CDI on Tomcat?以前,在J2EE时代,当JPA不存在并且EJB2糟糕时,Hibernate是一个独立的框架,经常与Spring结合使用以取代EJB.自从Java EE 5(2006)中引入JPA以来,Hibernate已成为JPA实现.您可以在 Jakarta EE教程第八部分中学习JPA.另外,基于从Spring中学到的经验教训,EJB3也得到了很大的改进.另请参见何时有必要或方便地同时使用Spring或EJB3或将它们全部一起使用? Previously, during the J2EE era, when JPA didn't exist and EJB2 was terrible, Hibernate was a standalone framework and often used in combination with Spring to supplant EJB. Since the introduction of JPA in Java EE 5 (2006), Hibernate has become a JPA implementation. You can learn JPA at Jakarta EE tutorial part VIII. Also, EJB3 was much improved based on lessons learnt from Spring. See also When is it necessary or convenient to use Spring or EJB3 or all of them together? 可以,但是很多.Jakarta EE的MVC框架称为 JSF .在Java EE 6之前,它曾经在JSP上运行,这是一种相当古老的视图技术.JSP已由 Facelets 代替.您可以在 Jakarta EE教程第三部分第7至17章中学习JSF..顺便说一下,您也可以在Tomcat上使用JSF,只需单独安装即可.可以在 Mojarra主页中找到安装说明.作为完整的Jakarta EE实现,WildFly,TomEE,Payara,Liberty,WebLogic等已经提供了开箱即用的JSF(以及CDI,BV,JSONP,JAX-RS,EJB,JPA等),因此您无需单独安装.另请参见如何通过Maven正确安装和配置JSF库? You can, but that's a lot of reinvention of the wheel when it comes to tying the model with the view (conversion, validation, change listeners, etc). Jakarta EE's MVC framework is called JSF. Prior to Java EE 6 it used to run on JSP, which is a fairly legacy view technology. JSP is been replaced by Facelets. You can learn JSF at Jakarta EE tutorial part III chapters 7 - 17. You can by the way also use JSF on Tomcat, you only have to install it separately. Installation instructions can be found at Mojarra homepage. WildFly, TomEE, Payara, Liberty, WebLogic, etc as being a complete Jakarta EE implementation already provide JSF (and CDI, BV, JSONP, JAX-RS, EJB, JPA, etc) out the box, so you don't need to install it separately. See also How to properly install and configure JSF libraries via Maven?有几本书.我建议从一本专注于Jakarta EE的书开始一般而言,这本书更加专注于JSF 和一本书更加专注于JPA .确保选择涵盖该主题的最新书籍.首先调查最新的可用版本,然后确保所选择的书涵盖了该版本.因此,尽管目前已经有Jakarta EE 8和JSF 2.3可用,但是绝对不要选择Java EE 5或JSF 1.0左右的旧书.There are several books. I would recommend to start with a book focused on Jakarta EE in general, a book more focused on JSF, and a book more focused on JPA. Ensure that you choose the most recent book covering the subject. First investigate the most recent available version and then ensure that the chosen book covers that. Thus do definitely not pick an old book for Java EE 5 or JSF 1.0 or so while there's currently already Jakarta EE 8 and JSF 2.3 available.最后但并非最不重要的一点,请忽略业余爱好者维护的代码片段抓取站点,这些站点主要关注广告收入而不是教学,例如roseindia,tutorialspoint,javabeat,journaldev,javatpoint,codejava等.包含 scriptlets Last but not least, please ignore code snippet scraping sites maintained by amateurs with primary focus on advertisement income instead of on teaching, such as roseindia, tutorialspoint, javabeat, journaldev, javatpoint, codejava, etc. They are easily recognizable by disturbing advertising links/banners and JSP code snippets containing scriptlets. JSF,Servlet和JSP之间有什么区别? servlet如何工作?实例化,会话,共享变量和多线程 这篇关于Java/Jakarta EE Web开发,我从哪里开始?我需要什么技能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-20 13:03