[Ds-java-dev] session on carbon usage
Sanjiva Weerawarana
sanjiva at wso2.com
Mon Mar 3 03:44:32 PST 2008
Notes from today's meeting:
- It turns out that OSGI's bundle class loading stuff doesn't quite work
within a WAR file. That is, if you use JSPs and the JSPs need to load
classes (e.g., useBean) then those classes have to be in the webapp class
loader, which would eliminate the ability to have two versions of a given
bundle etc..
- That was because we were trying to load JSPs by copying them into the
war file directly (out of the bundles that is). That was necessary because
there's no JSP compiler integration for arbitrary servlet containers
available via Felix.
- We discussed an approach where we introduce a dispatcher servlet (which
is Felix-aware) to route requests into a bundle and then a further
dispatch within the bundle to the proper servlet. We'd then compile all
JSPs into servlets before deploying and voila it should all work. Saminda
will do some experimentation and see.
- But that causes a development issue- editing one line in a JSP and
deploying would take multiple minutes. Not acceptable.
- We discussed a "development maven profile" (whatever that means) to
build a different war which doesn't support multiple versions of bundles
etc. which would have the simple ability to edit a JSP in place. Someone
was going to work on this; not sure who.
- We also discussed a way to re-use current UI code without rewriting them
so that we can ship something fast rather than waiting for months.
- I should note that there appears to be increasing appreciation for the
simplicity and elegance of just doing straight AJAX UIs w/o any
middle-tier at all. OSGI for managing different versions of different
components is fine but the UI bit of it a bit of a pain. However, I think
once we sort out how to reuse the current UI work (which IMO is easy) then
we'll have the flexibility to have the current architecture (all AJAX all
the way) to all server-side JSPs to everything in the middle without trouble.
Sanjiva.
Glen Daniels wrote:
>
> I'll try to make it if I can either stay up that late or take a nap
> beforehand. :) Have you guys already set up a dialin?
>
> --Glen
>
> Sanjiva Weerawarana wrote:
>> +1 .. I have a call for a bit before that but I should be able to come
>> soon after.
>>
>> Sanjiva.
>>
>> Afkham Azeez wrote:
>>> Shall we have this on Monday, starting at 11AM?
>>>
>>> Azeez
>>>
>>> Sumedha Rubasinghe wrote:
>>>> folks,
>>>> Shall we have a session on Carbon usage tomorrow?
>>>>
>>>> Lets try to use Carbon for a hypothetical solution & cover commons
>>>> scenarios/patterns required by future applications. Covering,
>>>>
>>>> 1. Service Deployment
>>>> 2. Module Deployment
>>>> 3. UI
>>>>
>>>> With this level of knowledge, we can kick off UI design &
>>>> development for DS solution.
>>>>
>>>> Currently work on DS core & eclipse plugin are being carried out
>>>> using existing environment(WSAS) & we need to start moving towards a
>>>> Carbon based environment to minimize future integration problems.
>>>>
>>>> /sumedha
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Ds-java-dev mailing list
>>>> Ds-java-dev at wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/ds-java-dev
>>>>
>>>
>>>
>>> _______________________________________________
>>> Ds-java-dev mailing list
>>> Ds-java-dev at wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/ds-java-dev
>>>
>>
>
--
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
email: sanjiva at wso2.com; cell: +1 650 265 8311 | +94 77 787 6880
"Oxygenating the Web Service Platform."
More information about the Ds-java-dev
mailing list