简体   繁体   English

Apache Felix和Apache Tomcat有什么区别

[英]What is the difference between Apache Felix and Apache Tomcat

I have just stepped into OSGi bundle framework and things are quite different here(in comparison to what i have been doing in the past - We were developing web applications on J2EE - container for this application was Apache tomcat ). 我刚刚进入OSGi捆绑框架,这里的情况完全不同(与我过去一直在做的相比 - 我们在J2EE上开发Web应用程序 - 这个应用程序的容器是Apache tomcat )。

Here in OSGi framework, we use Apache Felix(don't know why it is used instead of Apache tomcat). 在OSGi框架中,我们使用Apache Felix(不知道为什么使用它而不是Apache tomcat)。

Question 1: What is the difference between the two things? 问题1:这两件事有什么区别?
Question 2: Is Apache Felix a container it self? 问题2:Apache Felix是自己的容器吗? if yes then how? 如果是的话怎么样?
Question 3: Does Apache Felix supports other platforms other then J2EE? 问题3:Apache Felix是否支持除J2EE之外的其他平台?

Any help will be highly appreciated :) 任何帮助将受到高度赞赏:)

You may be confused because Felix is both an OSGI framework and a container. 您可能会感到困惑,因为Felix既是OSGI框架又是容器。 In its container role, it makes a more traditional J2EE framework like Tomcat unnecessary. 在其容器角色中,它使得像Tomcat这样更传统的J2EE框架变得不必要。 See this post for a good description of the two. 有关两者的详细说明,请参阅此文章

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM