File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes How to set a Java Web Server for EJB? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to set a Java Web Server for EJB?" Watch "How to set a Java Web Server for EJB?" New topic
Author

How to set a Java Web Server for EJB?

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
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
tony simon
Greenhorn

Joined: Oct 13, 2000
Posts: 18
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..............
Rishi Tyagi
Ranch Hand

Joined: Feb 14, 2002
Posts: 100
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
Rishi Tyagi
Ranch Hand

Joined: Feb 14, 2002
Posts: 100
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
Ruilin Yang
Ranch Hand

Joined: Jan 06, 2002
Posts: 150
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
Fabrizio Gianneschi
Ranch Hand

Joined: Nov 29, 2001
Posts: 70
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,


Fabrizio Gianneschi<br />SCPJ2, SCWCD, SCBCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set a Java Web Server for EJB?
 
Similar Threads
Calling an EJB from a servlet(gotta complete a submission pls reply soon)
Uploading file from Tomcat-Aoache server to IIS web server
Where are step by step servlet and JSP instructions?
IIS and Apache Tomcat
Servlets communication on different host