Are there plans to include spring javaconfig support. Its is easier to refactor than XML.
regards.
Are there plans to include spring javaconfig support. Its is easier to refactor than XML.
regards.
Hi Josh,
I've taken a look to JavaConfig and my opinion as of now is that it doesn't fit that well in the Jspresso picture, mostly because of the reasons I gave here. I may be wrong but I think that having only a few places where to read the complete application structure is an advantage. Again, this is maybe linked to our usage of Spring...
Having said that, I can understand that (Spring) XML, even with the right tooling, is verbose and maybe too complicated. That's why we are on the way to publish an exciting contribution that gives you the option to write your Jspresso application using a groovy DSL (aka SJS - Sugar for Jspresso). If you want to make your mind on what the result could be on the HR sample application, give a look to the following sources :
And this is just plain groovy, integrated seamlessly into the maven build and can be completed by spring XML whenever you are missing any feature in the DSL.
Any feedback is of course welcome.
Best,
Vincent
Hi vincent;
Thanks for the prompt response.
I think am ok with XML configuration after reading the section on Dynamic Selection of Multiple Views.
Regards.
Josh.