ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David E Jones <jone...@hotwaxmedia.com>
Subject Re: iCalendar Servlet (was CalDAV Servlet (was Work Effort Event Reminders))
Date Tue, 04 Nov 2008 17:02:45 GMT

On Nov 4, 2008, at 10:45 AM, Adrian Crum wrote:

> Thanks for the reply David! Comments inline...
>
> David E Jones wrote:
>> 1. if you're doing a custom servlet you could even just do a  
>> ControlServlet request event, and then all of the OFBiz context  
>> stuff (service/entity engines, etc) is already setup for you
>
> I considered that, but all I needed in the end was the delegator, so  
> I C&P the ControlServlet code to get that. The iCalendar servlet is  
> around 100 lines, and I guessed a new request handler might take  
> more than that. *shrug* Six of one, half a dozen of the other.

You wouldn't need a new request handler, just an event written in java  
(ie <event type="java" ...>).

-David


Mime
View raw message