Hi Ruchira,

On Sun, Nov 27, 2011 at 9:24 AM, Ruchira Wageesha <ruch...@wso2.com> wrote:

>
>> But problem comes, when we want to access registry, carboncontext from a
>> jssapps? Before finding a solution for this, it would be better if someone
>> clarifies the way we can access registry in an AS's JSP webapp. Anyway, it
>> should be WS* api of registry? If so, we can ask jss app developers too the
>> same solution.
>>
>
> I looked in to the webapp code and it seems it allows registry access via
> CarbonContext instance. Using that, we can also get the registry for the
> registry hostobject(i.e. for jss webapp case). Further, when we put our
> hostobjects in <CARBON_HOME>/lib/hostobjects, then they will be seen by the
> classloaders of webapps. Likewise, we can implement the jss webapp
> deployment model.
>

+1 I think this is a good model. So we have the framework inside
{Carbon_Home}/lib and people can write their "Watalappan" apps, and deploy
in webappd dir.

For this to work seamlessly we need to have the exploded war support in
AppServer. once we get that I guess we can easily deploy JSS and JSSP files
simply by dropping them to the directory, or syncing it via the registry.

The only issue at hand right now is, providing a gadget based dashboard for
products like BAM and GREG. For that I believe <carbon:gadget> tag will be
a solution. so if a product need multiple dashboards they can write their
own dashboard, taking the base one as a sample.

Regards,
/Nuwan


>
> /Ruchira
>
> _______________________________________________
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*Thanks & Regards,

Nuwan Bandara
Senior Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://nuwan.bandara.co
*
<http://www.nuwanbando.com/>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to