You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mohammed Zabin <jo...@gmail.com> on 2007/08/18 12:54:30 UTC

Web app and Forum

Hi all

I have a web application, and I wanted to add a forum for this application,
i used mvnforum ( an open source forum). My question is :
Can I jar two web applications in one file?? both applications use the same
database.

??
any help please

Re: Web app and Forum

Posted by David Smith <dn...@cornell.edu>.
Yes.  Database server software is designed to handle multiple requests 
from multiple sources at once.  You haven't said much about what 
database you are using (home grown, MySQL, etc., ...)

--David

Mohammed Zabin wrote:
> You mean I deploy two war files that shares the same database?
>
> On 8/18/07, David Smith <dn...@cornell.edu> wrote:
>   
>> If you are pointing both webapp and forum to the same database on the
>> same database server and there aren't any other shared resources or
>> reasons for them to live under the same roof, I would think it would be
>> much easier to deploy two webapps and be done.
>>
>> --David
>>
>> Mohammed Zabin wrote:
>>     
>>> No, It's just I am using an open source forum, a huge project, with
>>> hundredes of class and jsp files. I thought that If I wanted to merge
>>>       
>> the
>>     
>>> forum with my web applications, it will be a nightmare :(, so I am
>>>       
>> looking
>>     
>>> for a way to sovle this
>>>
>>>
>>>
>>> On 8/18/07, David Smith <dn...@cornell.edu> wrote:
>>>
>>>       
>>>> I doubt it.  Webapps are intended to be independent of each other like
>>>> software applications on your desktop or notebook.  My question is why
>>>> would you want to?  Is the database some file based db like derby or
>>>> berkley db?
>>>>
>>>> --David
>>>>
>>>> Mohammed Zabin wrote:
>>>>
>>>>         
>>>>> Hi all
>>>>>
>>>>> I have a web application, and I wanted to add a forum for this
>>>>>
>>>>>           
>>>> application,
>>>>
>>>>         
>>>>> i used mvnforum ( an open source forum). My question is :
>>>>> Can I jar two web applications in one file?? both applications use the
>>>>>
>>>>>           
>>>> same
>>>>
>>>>         
>>>>> database.
>>>>>
>>>>> ??
>>>>> any help please
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> ---------------------------------------------------------------------
>>>> To start a new topic, e-mail: users@tomcat.apache.org
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>>
>>>>         
>>>       
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>     
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Web app and Forum

Posted by Mohammed Zabin <jo...@gmail.com>.
You mean I deploy two war files that shares the same database?

On 8/18/07, David Smith <dn...@cornell.edu> wrote:
>
> If you are pointing both webapp and forum to the same database on the
> same database server and there aren't any other shared resources or
> reasons for them to live under the same roof, I would think it would be
> much easier to deploy two webapps and be done.
>
> --David
>
> Mohammed Zabin wrote:
> > No, It's just I am using an open source forum, a huge project, with
> > hundredes of class and jsp files. I thought that If I wanted to merge
> the
> > forum with my web applications, it will be a nightmare :(, so I am
> looking
> > for a way to sovle this
> >
> >
> >
> > On 8/18/07, David Smith <dn...@cornell.edu> wrote:
> >
> >> I doubt it.  Webapps are intended to be independent of each other like
> >> software applications on your desktop or notebook.  My question is why
> >> would you want to?  Is the database some file based db like derby or
> >> berkley db?
> >>
> >> --David
> >>
> >> Mohammed Zabin wrote:
> >>
> >>> Hi all
> >>>
> >>> I have a web application, and I wanted to add a forum for this
> >>>
> >> application,
> >>
> >>> i used mvnforum ( an open source forum). My question is :
> >>> Can I jar two web applications in one file?? both applications use the
> >>>
> >> same
> >>
> >>> database.
> >>>
> >>> ??
> >>> any help please
> >>>
> >>>
> >>>
> >> ---------------------------------------------------------------------
> >> To start a new topic, e-mail: users@tomcat.apache.org
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >>
> >
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Web app and Forum

Posted by David Smith <dn...@cornell.edu>.
If you are pointing both webapp and forum to the same database on the 
same database server and there aren't any other shared resources or 
reasons for them to live under the same roof, I would think it would be 
much easier to deploy two webapps and be done.

--David

Mohammed Zabin wrote:
> No, It's just I am using an open source forum, a huge project, with
> hundredes of class and jsp files. I thought that If I wanted to merge the
> forum with my web applications, it will be a nightmare :(, so I am looking
> for a way to sovle this
>
>
>
> On 8/18/07, David Smith <dn...@cornell.edu> wrote:
>   
>> I doubt it.  Webapps are intended to be independent of each other like
>> software applications on your desktop or notebook.  My question is why
>> would you want to?  Is the database some file based db like derby or
>> berkley db?
>>
>> --David
>>
>> Mohammed Zabin wrote:
>>     
>>> Hi all
>>>
>>> I have a web application, and I wanted to add a forum for this
>>>       
>> application,
>>     
>>> i used mvnforum ( an open source forum). My question is :
>>> Can I jar two web applications in one file?? both applications use the
>>>       
>> same
>>     
>>> database.
>>>
>>> ??
>>> any help please
>>>
>>>
>>>       
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>     
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Web app and Forum

Posted by Mohammed Zabin <jo...@gmail.com>.
No, It's just I am using an open source forum, a huge project, with
hundredes of class and jsp files. I thought that If I wanted to merge the
forum with my web applications, it will be a nightmare :(, so I am looking
for a way to sovle this



On 8/18/07, David Smith <dn...@cornell.edu> wrote:
>
> I doubt it.  Webapps are intended to be independent of each other like
> software applications on your desktop or notebook.  My question is why
> would you want to?  Is the database some file based db like derby or
> berkley db?
>
> --David
>
> Mohammed Zabin wrote:
> > Hi all
> >
> > I have a web application, and I wanted to add a forum for this
> application,
> > i used mvnforum ( an open source forum). My question is :
> > Can I jar two web applications in one file?? both applications use the
> same
> > database.
> >
> > ??
> > any help please
> >
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Web app and Forum

Posted by David Smith <dn...@cornell.edu>.
I doubt it.  Webapps are intended to be independent of each other like 
software applications on your desktop or notebook.  My question is why 
would you want to?  Is the database some file based db like derby or 
berkley db?

--David

Mohammed Zabin wrote:
> Hi all
>
> I have a web application, and I wanted to add a forum for this application,
> i used mvnforum ( an open source forum). My question is :
> Can I jar two web applications in one file?? both applications use the same
> database.
>
> ??
> any help please
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org