EJB Server with Apache HTTP Server?
I'm working on my first project including JSP and EJBs, and there's one issue I haven't been able to find a resolution for. I would like to use MapServer (http://mapserver.gis.umn.edu/) to load a map onto my JSPs, but it runs as a CGI program which I do not believe the Sun Java Application Server (or equivalents) can handle. Is there a way to use Apache HTTP + Tomcat to serve the pages and then somehow link into an application server to run my EJBs? Thanks.
# 1
> I'm working on my first project including JSP and
> EJBs, and there's one issue I haven't been able to
> find a resolution for. I would like to use MapServer
> (http://mapserver.gis.umn.edu/) to load a map onto my
> JSPs, but it runs as a CGI program which I do not
> believe the Sun Java Application Server (or
> equivalents) can handle. Is there a way to use Apache
> HTTP + Tomcat to serve the pages and then somehow
> link into an application server to run my EJBs?
> Thanks.
For communication between Apache Http-Server and Tomcat you can use JK-Connector.
http://tomcat.apache.org/connectors-doc/
# 2
Thanks for the link, but the connection between Apache HTTP and Tomcat isn't my big concern. What I haven't been able to find out is if I will be able to load/serve JSP pages from my Tomcat server (so they have CGI access) and allow them to access EJBs stored on the Sun Java Application Server (and, if that is possible, how I would go about doing it).