Hi All,
Most appropriate deployment model of an appdev webapp would be deploying
like a normal webapp which we deploy in AS. In the appdev framework, we
have a set of HostObject(Java classes written following a convention),
Servlets and tags which build the needed environment for the deployment of
JS apps. But there are several problems with getting this done.
1. We need to keep all the hostobjects, servlets, servlet mappings and
tags in tomcat environment where apps get deployed. How do we achieve this?
I am not familiar with current webapp deployment model. Any guidelines??
- At the moment in a JS webapp, everything is packed into a war
(hostobjects + servlets + servlet mapings + tags) and deployed in tomcat.
2. For hostobjects like Registry which allows registry calls, how do we
access the registry? Will we have to use WS* api or is there are way to
access OSGI service/or Java methods from the tags/hostobjects.
3. Further, if we are developing the new Gadget frontend as a JS webapp,
then we need to have access to the carbon context and get things like
- Logged in user
- Tenant ID
- Admin cookie
- backserver url / transport information etc.
4. According to the requirements of above [3], then the usage of JS
webapp model in gadget server would be the replacement of current carbon
frontend with JS webapps??
Any suggestions?
/Ruchira
--
Ruchira Wageesha
Software Engineer - WSO2 Inc. www.wso2.com
Email: [email protected] Blog: [email protected]
Mobile: +94775493444
Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev