I would love to just use JBoss, but there is a lot of political red-tape and we even have our own App Server, which too is not J2EE compliant. It was probably developed before JBoss and the like. We even had our own Web Container, but I've recently replaced it with Tomcat.
What I've done is ripped out our core services from our internal app server and provided an app server connector layer. The idea is that we'll be able to plug into any app server like container. Our own internal, JBoss, WebSphere, Tomcat??? That is the idea. So we have customers that may have tomcat installed and perhaps they would like to utilize that instead of installing another app server. So I would like to be able to somehow have Tomcat start our core services, much the way that JBoss would, before loading any web apps. Does anyone have any ideas on how that could be accomplished. Mike Wannamaker -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: July 13, 2006 4:55 PM To: Tomcat Users List Subject: RE: Tomcat Not An App Server How do your webapps communicate with the core services? cheers, David | | | To: "'Tomcat Users List'" <users@tomcat.apache.org> | | cc: | | Subject: RE: Tomcat Not An App Server | Sorry guys I didn't mean to offend anyone. I know that Tomcat offers a lot but what I meant is as you said, it's not a full J2EE App Server, like JBoss, WebSphere ... What I have is a large enterprise application that does have a web application. In fact it has many. These web apps rely on our core services to be running. Within JBoss etc I can install this as an EAR or SAR and JBoss will start it. I was wondering if there is anything in Tomcat like that, were my Core Services could get loaded/started before the tomcat web container loads the web apps. Thus I wouldn't have to code anything into the web apps themselves to try and start it. TIA Mike Wannamaker -----Original Message----- From: David Smith [mailto:[EMAIL PROTECTED] Sent: July 13, 2006 4:05 PM To: Tomcat Users List Subject: Re: Tomcat Not An App Server Tomcat's not really an app server? Geee really, I feel so inadequate now. :-( Seriously, I think I've seen this religious war around here somewhere and it really depends on definition. No, it's not a full J2EE container, but it's definitely an app server in my opinion. Have you read the servlet spec and thought about the ServletContextListener for handling the start/shutdown of a component within your app? --David Mike Wannamaker wrote: >I know that Tomcat is not really an App Server like JBoss etc... However, if >I had a component that was not a web application and I wanted to start it >inside tomcat how could I do that ? > >Is there some configuration file I would need to add something to in order >to have a component started and would I need to implement some Tomcat >interface to do it? > >TIA >Mike Wannamaker > > >--------------------------------------------------------------------- >To start a new topic, e-mail: users@tomcat.apache.org >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]