Migration to Struts2 complete

Hi,

I have merged in Murod's work on the Struts2 upgrade. Thanks to Murod
for good work on this!

Additionally the dhis-support-webwork (struts) has been merged with
dhis-web-commons as the code fit nicely here. (You can remvoe
dhis-support-webwork from your IDE.)

There are lots of good things about this:

- The login time has gone from 21 sec to 1 sec.

- We were allowed to remove the custom webwork configuration
initialization code. Struts handles loading of config files from jars
itself.

- Struts2 has a lot of nice features, like support for validation,
i18n, and direct submission of forms to domain objects which can
improve our code potentially.

For those interested in learning more I have uploaded Struts2 In
Action here: http://folk.uio.no/larshelg/readings/Stuts2_In_Action.pdf

I will have a go at the local modules too soon. Migration guide for
web modules below.

The Spring security upgrade needs some more work before being merged in.

Lars

- Rename xwork.xml to struts.xml, change root xml element tag from
<xwork> to <struts> and change the DTD to:

<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN"
  "http://www.opensymphony.com/xwork/xwork-1.0.dtd&quot;&gt;

- In web.xml, replace the WebWork filter definition with

<filter>
    <filter-name>Struts</filter-name>
    <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
  </filter>

and change the name of the filter mapping from WebWork to Struts.

- In action classes, change all package names from
"com.opensymphony.xwork" to "com.opensymphony.xwork2", and
"com.opensymphony.webwork" to "org.apache.struts2".

This is great news.

Big thanks to Murod and Lars for this - the reduction in startup time will be highly appreciated by all our desktop users!

Knut

···

2009/8/20 Lars Helge Øverland larshelge@gmail.com

Hi,

I have merged in Murod’s work on the Struts2 upgrade. Thanks to Murod

for good work on this!

Additionally the dhis-support-webwork (struts) has been merged with

dhis-web-commons as the code fit nicely here. (You can remvoe

dhis-support-webwork from your IDE.)

There are lots of good things about this:

  • The login time has gone from 21 sec to 1 sec.

  • We were allowed to remove the custom webwork configuration

initialization code. Struts handles loading of config files from jars

itself.

  • Struts2 has a lot of nice features, like support for validation,

i18n, and direct submission of forms to domain objects which can

improve our code potentially.

For those interested in learning more I have uploaded Struts2 In

Action here: http://folk.uio.no/larshelg/readings/Stuts2_In_Action.pdf

I will have a go at the local modules too soon. Migration guide for

web modules below.

The Spring security upgrade needs some more work before being merged in.

Lars

  • Rename xwork.xml to struts.xml, change root xml element tag from

to and change the DTD to:

  • In web.xml, replace the WebWork filter definition with
<filter-name>Struts</filter-name>

<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>

and change the name of the filter mapping from WebWork to Struts.

  • In action classes, change all package names from

“com.opensymphony.xwork” to “com.opensymphony.xwork2”, and

“com.opensymphony.webwork” to “org.apache.struts2”.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Cheers,
Knut Staring

Well done Lars and Murod! This is a really major commit.

Regards
Bob

···

2009/8/20 Lars Helge Øverland larshelge@gmail.com

Hi,

I have merged in Murod’s work on the Struts2 upgrade. Thanks to Murod

for good work on this!

Additionally the dhis-support-webwork (struts) has been merged with

dhis-web-commons as the code fit nicely here. (You can remvoe

dhis-support-webwork from your IDE.)

There are lots of good things about this:

  • The login time has gone from 21 sec to 1 sec.

  • We were allowed to remove the custom webwork configuration

initialization code. Struts handles loading of config files from jars

itself.

  • Struts2 has a lot of nice features, like support for validation,

i18n, and direct submission of forms to domain objects which can

improve our code potentially.

For those interested in learning more I have uploaded Struts2 In

Action here: http://folk.uio.no/larshelg/readings/Stuts2_In_Action.pdf

I will have a go at the local modules too soon. Migration guide for

web modules below.

The Spring security upgrade needs some more work before being merged in.

Lars

  • Rename xwork.xml to struts.xml, change root xml element tag from

to and change the DTD to:

  • In web.xml, replace the WebWork filter definition with
<filter-name>Struts</filter-name>

<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>

and change the name of the filter mapping from WebWork to Struts.

  • In action classes, change all package names from

“com.opensymphony.xwork” to “com.opensymphony.xwork2”, and

“com.opensymphony.webwork” to “org.apache.struts2”.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Good work and thanks in the name of the new wanna be developers of DHIS2. I thought it was kind of worthless invest time in learning webwork when they have already announced, long time ago, their project was stopped to be merged with struts2.

Regards

Lester

···

----- Original Message -----

From:
Bob Jolliffe

To: Lars Helge Øverland

Cc: DHIS 2 developers

Sent: Thursday, August 20, 2009 4:45 AM

Subject: Re: [Dhis2-devs] Migration to Struts2 complete

Well done Lars and Murod! This is a really major commit.

Regards
Bob

2009/8/20 Lars Helge Øverland larshelge@gmail.com

Hi,

I have merged in Murod's work on the Struts2 upgrade. Thanks to Murod
for good work on this!


Additionally the dhis-support-webwork (struts) has been merged with
dhis-web-commons as the code fit nicely here. (You can remvoe

dhis-support-webwork from your IDE.)

There are lots of good things about this:

- The login time has gone from 21 sec to 1 sec.

- We were allowed to remove the custom webwork configuration
initialization code. Struts handles loading of config files from jars

itself.

- Struts2 has a lot of nice features, like support for validation,
i18n, and direct submission of forms to domain objects which can

improve our code potentially.

For those interested in learning more I have uploaded Struts2 In

Action here: http://folk.uio.no/larshelg/readings/Stuts2_In_Action.pdf

I will have a go at the local modules too soon. Migration guide for
web modules below.

The Spring security upgrade needs some more work before being merged in.

Lars

- Rename xwork.xml to struts.xml, change root xml element tag from
<xwork> to <struts> and change the DTD to:

<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN"

http://www.opensymphony.com/xwork/xwork-1.0.dtd”>

- In web.xml, replace the WebWork filter definition with
Struts org.apache.struts2.dispatcher.FilterDispatcher
and change the name of the filter mapping from WebWork to Struts.

- In action classes, change all package names from
"com.opensymphony.xwork" to "com.opensymphony.xwork2", and
"com.opensymphony.webwork" to "org.apache.struts2".

Mailing list: [https://launchpad.net/~dhis2-devs](https://launchpad.net/%7Edhis2-devs)
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-devs](https://launchpad.net/%7Edhis2-devs)

More help : https://help.launchpad.net/ListHelp



Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp

Awesome release…

Important milestone in DHIS2 History!!

···

Regards,
Saptarshi PURKAYASTHA
Director R & D, HISP India
Health Information Systems Programme

My Tech Blog: http://sunnytalkstech.blogspot.com

You Live by CHOICE, Not by CHANCE

2009/8/20 Lester Gutierrez Campo lgutierrezc@infomed.sld.cu

Good work and thanks in the name of the new wanna be developers of DHIS2. I thought it was kind of worthless invest time in learning webwork when they have already announced, long time ago, their project was stopped to be merged with struts2.

Regards

Lester

----- Original Message -----

From:
Bob Jolliffe

To: Lars Helge Øverland

Cc: DHIS 2 developers

Sent: Thursday, August 20, 2009 4:45 AM

Subject: Re: [Dhis2-devs] Migration to Struts2 complete

Well done Lars and Murod! This is a really major commit.

Regards
Bob

2009/8/20 Lars Helge Øverland larshelge@gmail.com

Hi,

I have merged in Murod's work on the Struts2 upgrade. Thanks to Murod
for good work on this!


Additionally the dhis-support-webwork (struts) has been merged with
dhis-web-commons as the code fit nicely here. (You can remvoe

dhis-support-webwork from your IDE.)

There are lots of good things about this:

- The login time has gone from 21 sec to 1 sec.

- We were allowed to remove the custom webwork configuration
initialization code. Struts handles loading of config files from jars

itself.

- Struts2 has a lot of nice features, like support for validation,
i18n, and direct submission of forms to domain objects which can

improve our code potentially.

For those interested in learning more I have uploaded Struts2 In

Action here: http://folk.uio.no/larshelg/readings/Stuts2_In_Action.pdf

I will have a go at the local modules too soon. Migration guide for
web modules below.

The Spring security upgrade needs some more work before being merged in.

Lars

- Rename xwork.xml to struts.xml, change root xml element tag from
<xwork> to <struts> and change the DTD to:

<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN"

http://www.opensymphony.com/xwork/xwork-1.0.dtd”>

- In web.xml, replace the WebWork filter definition with
Struts org.apache.struts2.dispatcher.FilterDispatcher
and change the name of the filter mapping from WebWork to Struts.

- In action classes, change all package names from
"com.opensymphony.xwork" to "com.opensymphony.xwork2", and
"com.opensymphony.webwork" to "org.apache.struts2".

Mailing list: [https://launchpad.net/~dhis2-devs](https://launchpad.net/%7Edhis2-devs)
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-devs](https://launchpad.net/%7Edhis2-devs)

More help : https://help.launchpad.net/ListHelp



Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp