[opencms-dev] Struts 2 with OpenCms 7.5.2

Edwin Chiu edwin.chiu at gmail.com
Wed Feb 17 12:08:04 CET 2010


Hi Achim,

I can see your point. Especially you said "The more custom modification are
done to a product the harder it will become to get support or for other
developers that join the team later to understand what is going on.", it let
me thinking of mapping the forward path to OpenCms's vfs is such an ugly
manner. 

Anyway, thanks for your reference and sharing. You always give me some
useful directions in this forum.

Let me waiting for other suggestions on Struts 2. 

Thanks
Edwin


Achim Westermann wrote:
> 
> Hi Edwin,
> 
> Sorry, that was a typo. I ment to writ: "I have seen.." and not "If seen".
> 
> I did never integrate struts with OpenCms myself. I just saw that you can
> do some mistakes and expect that the system will become more 
> complex. The more custom modification are done to a product the harder it
> will become to get support or for other developers that join the 
> team later to understand what is going on. So personally I would avoid
> integration of struts unless the number of dialog flows is big enough 
> to save a lot of code.
> 
> This sounds good:
> http://opencms-forum.de/opencms-forum/viewthread?thread=684#2323
> 
> 
> HTH,
> 
> Achim
> 
> 
> Edwin Chiu wrote:
>> Hi Achim,
>> 
>> Thanks for your quick reply. 
>> 
>> I don't really get what you saying of "If seen an OpenCms installation
>> based
>> completely on struts with a lot of redirects. This was not cacheable and
>> related in bad / critical performance issues.". Can you give me some
>> examples?
>> 
>> Using native JavaBean was one of my decisions to handle the one-step
>> registration forms. But the forms may consist n-step to complete a
>> registration flow. So I decide to make use of some facilities (i.e.
>> validationWorkflowStack) in Struts 2 to achieve the goal.
>> 
>> What do you think? Which approach you would use in such case, Native
>> JavaBean or Struts 2?
>> 
>> Thanks,
>> Edwin
>> 
>> 
>> Achim Westermann wrote:
>>> Hi Edwin,
>>> a simple question: What about coding a simple JSP without struts? Maybe
>>> a
>>> Bean that collects the data, some manual validation, the submit 
>>> action and you are through. If seen an OpenCms installation based
>>> completely on struts with a lot of redirects. This was not cacheable and 
>>> related in bad / critical performance issues.
>>>
>>> cheers,
>>>
>>> Achim
>>>
>>> Edwin Chiu wrote:
>>>> Hi All,
>>>>
>>>> Recently, I've a project that decide to use OpenCms 7.5.2 with some
>>>> registration form integration. For those registration forms, I decide
>>>> to
>>>> use
>>>> Struts 2. Do you guys have any experiences on integrating Struts 2 with
>>>> OpenCms? Is there any important/tricky things I should aware? 
>>>>
>>>> The first thing I would raise up is multilingual. I am using sibling to
>>>> handle multilingual in OpenCms. Then how would you guys handle language
>>>> switch for Struts Action Path?
>>>>
>>>> Feel Free to explore your points.
>>>>
>>>> Many Thanks,
>>>> Edwin
>>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list, please
>>> visit
>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>
>>>
>> 
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 
> 

-- 
View this message in context: http://old.nabble.com/Struts-2-with-OpenCms-7.5.2-tp27620348p27622141.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list