You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Karan Malhi <ka...@gmail.com> on 2008/08/12 13:09:43 UTC
WAR support in standalone server
Hi All,
I am looking into adding war support in the standalone server i.e. when a
standalone openejb server starts, it should be able to host web apps. Any
war or a war in an ear should be supported.
What do you think?
PS: I actually went ahead and added a JIRA before posting this to the list
(should have done the other way round) --
https://issues.apache.org/jira/browse/OPENEJB-890
--
Karan Singh Malhi
Re: WAR support in standalone server
Posted by Karan Malhi <ka...@gmail.com>.
Jon,
This would allow you to actually run the webapp.
On Tue, Aug 12, 2008 at 7:18 AM, Jonathan Gallimore <
jonathan.gallimore@gmail.com> wrote:
> Sounds pretty interesting to me - are you actually thinking of running the
> actual web app, or would this just pull out EJBs that are contained inside
> the WAR?
>
> I posted a note to the user list a couple of days ago about functional
> testing:
> http://www.nabble.com/Functional-testing-with-OpenEJB-%2B-Jetty-%2B-Selenium-to18908934.html- I currently set up an embedded Jetty and an embedded OpenEJB in my
> functional tests, and then use Selenium to do the actual tests. I'd love
> something that would make this easier - perhaps detecting the EAR on the
> classpath, and make the web part of my app available too.
>
>
> Jon
>
>
> Karan Malhi wrote:
>
>> Hi All,
>>
>> I am looking into adding war support in the standalone server i.e. when a
>> standalone openejb server starts, it should be able to host web apps. Any
>> war or a war in an ear should be supported.
>> What do you think?
>>
>> PS: I actually went ahead and added a JIRA before posting this to the list
>> (should have done the other way round) --
>> https://issues.apache.org/jira/browse/OPENEJB-890
>>
>>
>>
>>
>
>
--
Karan Singh Malhi
Re: WAR support in standalone server
Posted by Jonathan Gallimore <jo...@gmail.com>.
Sounds pretty interesting to me - are you actually thinking of running
the actual web app, or would this just pull out EJBs that are contained
inside the WAR?
I posted a note to the user list a couple of days ago about functional
testing:
http://www.nabble.com/Functional-testing-with-OpenEJB-%2B-Jetty-%2B-Selenium-to18908934.html
- I currently set up an embedded Jetty and an embedded OpenEJB in my
functional tests, and then use Selenium to do the actual tests. I'd love
something that would make this easier - perhaps detecting the EAR on the
classpath, and make the web part of my app available too.
Jon
Karan Malhi wrote:
> Hi All,
>
> I am looking into adding war support in the standalone server i.e. when a
> standalone openejb server starts, it should be able to host web apps. Any
> war or a war in an ear should be supported.
> What do you think?
>
> PS: I actually went ahead and added a JIRA before posting this to the list
> (should have done the other way round) --
> https://issues.apache.org/jira/browse/OPENEJB-890
>
>
>
Re: WAR support in standalone server
Posted by Karan Malhi <ka...@gmail.com>.
On Wed, Aug 13, 2008 at 1:09 PM, David Blevins <da...@visi.com>wrote:
> I know I've seen a few requests for something like this on the user list.
> I wonder if we can throw this in a container/openejb-jetty module next to
> container/openejb-core so that it can be optional. Depending on how it
> looks when we cut 3.1, we may or may not want to include it.
>
I think this is a good idea. Looking at how close we are to the release, and
also Mohammad's point about keeping this optional, this looks like a good
solution . Will need some pointers in creating a new module though. Will bug
you once I start working on it.
--
Karan Singh Malhi
Re: WAR support in standalone server
Posted by David Blevins <da...@visi.com>.
I know I've seen a few requests for something like this on the user
list. I wonder if we can throw this in a container/openejb-jetty
module next to container/openejb-core so that it can be optional.
Depending on how it looks when we cut 3.1, we may or may not want to
include it.
-David
On Aug 12, 2008, at 4:09 AM, Karan Malhi wrote:
> Hi All,
>
> I am looking into adding war support in the standalone server i.e.
> when a
> standalone openejb server starts, it should be able to host web
> apps. Any
> war or a war in an ear should be supported.
> What do you think?
>
> PS: I actually went ahead and added a JIRA before posting this to
> the list
> (should have done the other way round) --
> https://issues.apache.org/jira/browse/OPENEJB-890
>
>
> --
> Karan Singh Malhi
Re: WAR support in standalone server
Posted by Karan Malhi <ka...@gmail.com>.
Thanks for the offer to help. You have given me a fairly good idea already.
So atleast I will be able to get started.
On Tue, Aug 12, 2008 at 1:50 PM, Dain Sundstrom <da...@iq80.com> wrote:
> This would be awesome! Especially for the testing scenario that Jon is
> using.
>
> If you need any help, let me know.
>
> -dain
>
>
> On Aug 12, 2008, at 4:09 AM, Karan Malhi wrote:
>
> Hi All,
>>
>> I am looking into adding war support in the standalone server i.e. when a
>> standalone openejb server starts, it should be able to host web apps. Any
>> war or a war in an ear should be supported.
>> What do you think?
>>
>> PS: I actually went ahead and added a JIRA before posting this to the list
>> (should have done the other way round) --
>> https://issues.apache.org/jira/browse/OPENEJB-890
>>
>>
>> --
>> Karan Singh Malhi
>>
>
>
--
Karan Singh Malhi
Re: WAR support in standalone server
Posted by Karan Malhi <ka...@gmail.com>.
No offense taken :) . I think the approach taken in our http
implementation might work here too. If we find Jetty in the classpath,
deploy war in jetty. Could also set a system property to enable/disable this
behaviour
On Wed, Aug 13, 2008 at 9:43 AM, Mohammad Nour El-Din <
nour.mohammad@gmail.com> wrote:
> Sounds a great idea from the technical point of view. But as we are
> implementing an EJB container does it sound logical to support
> deploying Web modules too ?. Take into consideration that we already
> have embedded mode with Tomcat - no offense Karan :D .
>
> On Tue, Aug 12, 2008 at 8:50 PM, Dain Sundstrom <da...@iq80.com> wrote:
> > This would be awesome! Especially for the testing scenario that Jon is
> > using.
> >
> > If you need any help, let me know.
> >
> > -dain
> >
> > On Aug 12, 2008, at 4:09 AM, Karan Malhi wrote:
> >
> >> Hi All,
> >>
> >> I am looking into adding war support in the standalone server i.e. when
> a
> >> standalone openejb server starts, it should be able to host web apps.
> Any
> >> war or a war in an ear should be supported.
> >> What do you think?
> >>
> >> PS: I actually went ahead and added a JIRA before posting this to the
> list
> >> (should have done the other way round) --
> >> https://issues.apache.org/jira/browse/OPENEJB-890
> >>
> >>
> >> --
> >> Karan Singh Malhi
> >
> >
>
>
>
> --
> Thanks
> - Mohammad Nour
>
--
Karan Singh Malhi
Re: WAR support in standalone server
Posted by Mohammad Nour El-Din <no...@gmail.com>.
Sounds a great idea from the technical point of view. But as we are
implementing an EJB container does it sound logical to support
deploying Web modules too ?. Take into consideration that we already
have embedded mode with Tomcat - no offense Karan :D .
On Tue, Aug 12, 2008 at 8:50 PM, Dain Sundstrom <da...@iq80.com> wrote:
> This would be awesome! Especially for the testing scenario that Jon is
> using.
>
> If you need any help, let me know.
>
> -dain
>
> On Aug 12, 2008, at 4:09 AM, Karan Malhi wrote:
>
>> Hi All,
>>
>> I am looking into adding war support in the standalone server i.e. when a
>> standalone openejb server starts, it should be able to host web apps. Any
>> war or a war in an ear should be supported.
>> What do you think?
>>
>> PS: I actually went ahead and added a JIRA before posting this to the list
>> (should have done the other way round) --
>> https://issues.apache.org/jira/browse/OPENEJB-890
>>
>>
>> --
>> Karan Singh Malhi
>
>
--
Thanks
- Mohammad Nour
Re: WAR support in standalone server
Posted by Dain Sundstrom <da...@iq80.com>.
This would be awesome! Especially for the testing scenario that Jon is
using.
If you need any help, let me know.
-dain
On Aug 12, 2008, at 4:09 AM, Karan Malhi wrote:
> Hi All,
>
> I am looking into adding war support in the standalone server i.e.
> when a
> standalone openejb server starts, it should be able to host web
> apps. Any
> war or a war in an ear should be supported.
> What do you think?
>
> PS: I actually went ahead and added a JIRA before posting this to
> the list
> (should have done the other way round) --
> https://issues.apache.org/jira/browse/OPENEJB-890
>
>
> --
> Karan Singh Malhi