Hello, I am beginner in this field of EJB and would like to know followings:- 1. What are settings required for a Java Web Server to implement EJB? 2. Why there are different container for the JSP,Servlet,EJB. 3. Say I am using JRUN as my Java Web Server and IIS 5.0 as Web Server for http request on a windows machine how IIS will come to know that it is a servlet call or JSP or EJB call... or perhaps it depends upon a lot of ISAPI settings in it or could be java web server specific. regards, Arun
1. For a WebServer to implement EJB the server should have an EJB engine.JRUN 3.0 has both the EJB engine and a Web Server. 2.Containers are basically the running environment for the Engines(JSP,Servlet,EJB) 3.Well I haven't used IIS with JRUN but I think JRUN does prompt for "Connect to External Server" after it is installed and we have to point out the directory where IIS is installed. Hope this helps..............
Althoughi have not worked on jrun server but whatever i know about it is you don't have to make any extra settings in jrun server for running the enterprise bean as at the time of intallation it automatically does this , only thing what we have to do is deploy an application on the jrun server. Although i am not very much confirm at this point and would like some expert comments from java guru's on the same. As i am going to start working on jrun server so it will also help me there. Looking forward for answers by so many java guru's.... :roll: Rishi
Joined: Feb 14, 2002
You should read the setup.pdf and devapp.pdf given with the JRun documentation, It may help you for the same, You can find these files in the Allaire/Jrun/docs subdir of Jrun installations directory Hope it will solve your problem Rishi
I am using JRUN 3.1. It is quite good for ejb. You do not need any extra configurations for running EJB. You just need to compile your beans and client codes and deploy the beans correctly. In order to deploy the beans you need to produce a correct deployment descriptor file. Regards Ruilin
1. To support EJBs, you need an EJB Container (for example JBoss) that is not every time included in an Application Server (like Tomcat, that is "only" a Web Container). Note that an EJB container usually cannot directly respond to the Web Server (it can respond to direct IIOP calls, however), so usually people create Servlets/JSP that use EJBs that make business logic work. 2. You need different containers because each of them satisfy different needs. Web containers are designed to mantain web pages with dynamic content (like JSPs). You can construct an entire site with JSP/Servlet technologies with a little effort. The Servlet thread model is very fast. But when the requirements of the applications are placed at "enterprise" level (high-availability, scalability, distributed business logic, high traffic volumes, distributed transactions, security) you will need something more, an EJB Container. The EJB technology was created for these purposes. Regards,