# Wowza new app vs remote object

**URL:** <https://community.wowza.com/t/wowza-new-app-vs-remote-object/43506>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [July 30, 2014, 7:12pm UTC](https://community.wowza.com/t/wowza-new-app-vs-remote-object/43506 "2014-07-30T19:12:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikram\_billa](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@vikram\_billa](https://community.wowza.com/u/vikram_billa)\
**Post date:** [July 30, 2014, 7:12pm UTC](https://community.wowza.com/t/wowza-new-app-vs-remote-object/43506/1 "2014-07-30T19:12:27Z")

</div>

Hi Every one,

We are new to Wowza, we developing a text chat application with flash and Wowza. As there is already sample code available for it, we are able to develop first version without any problem.

Now my question is the example code is helpful for one session / group, let suppose there are more than on group of people want to use text chat, do I need to create separate application in wowza server for each group? or I have to create a new remote shared object for each group.

If we have to create new application, could you please guide me how can we do that on the fly through code instead of manually creating application from dashboard / file system. As I don’t know which one is recommended, and limitations in creating number of applications / remote objects I would like experts guide.

Thanks,

Vikram.

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [July 30, 2014, 6:24pm UTC](https://community.wowza.com/t/wowza-new-app-vs-remote-object/43506/2 "2014-07-30T18:24:49Z")

</div>

Hi Vikram,

I think your only option with regards to creating a new application is to do this outside of Wowza. You could use [java.io](http://java.io) methods to create the application directory under [install-dir]/applications, [install-dir]/conf/[new-app-name] and deposit a default Application.xml file.

Paul

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 3, 2014, 12:11pm UTC](https://community.wowza.com/t/wowza-new-app-vs-remote-object/43506/3 "2014-08-03T12:11:20Z")

</div>

Vikram,

The easiest and standard way to utilize a chat application for many groups is to connect each group to a different application instance. Each set of clients that are connected using the same application instance will share the same Shared Objects, etc.

For example, connect 2 or more clients with this URL to chat with each other

rtmp://[wowza-address]/chatapp/chat1

And connect 2 or more clients with this URL to have a separate chat

rtmp://[wowza-address]/chatapp/chat2

etc…

In this context an application instance is referred to as a “room”.

Richard

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [August 1, 2014, 8:18pm UTC](https://community.wowza.com/t/wowza-new-app-vs-remote-object/43506/4 "2014-08-01T20:18:01Z")

</div>

Hi,

I’m not aware of any canonical limitation regarding the number of applications defined within Wowza. I suspect you’ll hit physical limitations around hardware and resources before that though.

Paul

---

<div class="post-metadata">

**Author:** ![vikram\_billa](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@vikram\_billa](https://community.wowza.com/u/vikram_billa)\
**Post date:** [July 31, 2014, 12:46am UTC](https://community.wowza.com/t/wowza-new-app-vs-remote-object/43506/5 "2014-07-31T00:46:12Z")

</div>

Hi Paul,

Thank you for providing valuable information. I also want to check with you is there any limitation on creating number of application for Wowza?

Is there any limitation on number of remote objects for an application? Please share if you know any links of sites / blogs regarding this.

Thanks,

Vikram.
