Results 1 to 2 of 2

Thread: application context overload! portlet/DWR/etc

  1. #1
    Join Date
    Sep 2005
    Location
    Toronto, Canada
    Posts
    42

    Default application context overload! portlet/DWR/etc

    my scenario:

    I am developing a series of portlets using the Spring Portlet MVC (deployed in Liferay->Tomcat).
    Most of these portlets make use of DWR as well - but since there is no straight forward way to use the pure DWR/MVC solution in a portal environment, each portlet (in its web.xml) declares a DwrSpringServlet to receive all the AJAX requests.

    So now this servlet will start up its own context, in addition to the context the DispatcherPortlet starts - so now, each "portlet" as a whole has two parallel contexts; multiply this by the number of total portlets, and that's a crap load of inefficiency (service classes, etc)

    My question is, on the topic of SHARING APPLICATION CONTEXTS across webapps, is this still the standard way?
    http://springtips.blogspot.com/2007/...n-context.html

    or is there a something in 2.5 that simplifies this or offers a new mechanism? thanks!

  2. #2

    Default

    Hi, Can you please share working project includes Spring and DWR on Liferay Portlets.

    Thanks in advance

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •