且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在什么基础上我们可以决定特定的Java应用程序是Java EE应用程序?

更新时间:2023-10-20 12:29:22

我不完全同意其他答案。

I don't completely agree with the other answers.

如果你可以打包它作为 .war 你有一个Java EE应用程序或者根据Java EE标准 .ear 部署

You have a Java EE application if you can package it as a .war or an .ear and deploy it according to the Java EE standards.

如果你有一个使用JMS的独立应用程序,它就不会使它成为大多数人都能理解的Java EE应用程序。 JMX,JavaMail或其他API也是如此。但是,这样的应用程序将使用Java EE API。但在你的情况下,我会说,是的,你有一个Java EE应用程序。

If you have a stand-alone application which uses JMS, it doesn't make it a Java EE application in the sense most people will understand it. Same for JMX, JavaMail or other APIs. Still, such an application would use the Java EE API. But in your case, I would say, yes, you have a Java EE application.