开发者

Is there any standalone EJB container that drops into non-j2ee web servers?

Right now I am using a web-server which does not contain EJB container. If my appl开发者_JS百科ication needs EJB container, how could I add one?


Do you really mean into? If yes, then maybe have a look at OpenEJB (the EJB Container implementation for Apache Geronimo). But I can't say that it's widely used.

Actually, why not just replacing your servlet container with a full Java EE server if you need EJBs, I don't get it, something like JBoss AS or GlassFish.


OpenEJB and EasyBeans are open-source EJB containers that can be dropped into Tomcat or other servers / applications.

But, you should describing what you need this for... because if you need EJBs specifically, you're probably better off going with a full app server (JBoss, Glassfish, Weblogic, etc.). If you're just using it for persistence, you're probably better off using some other persistence technology (Hibernate, iBatis, etc.).


JBoss is an open source J2EE server. So if for some reason you can't just use it, you could take the EJB container and graft it into something else. Probably not a small job.


Too litte information on your architecture to give a decent answer.

Anyway chances are good you already apache as web server, you can simply connect using mod_jk to the embeddd tomcat in jboss. This configuration will use the Apache JServ Protocol (AJP) for communication between Apache and Tomcat.

A description on which config files you have to fiddle about is here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜