Domain Driven Design

Simple view for Architecture tiers of DDD and their brief description.




Configure the author in Eclipse javadoc


Is very important when we are refactoring or fixing bugs or doing some improvement to know who is the guy that created thi class.
Eclipse has a javadoc auto generator and it put the author automatically. The questions is that some times we want to update this author (normally Eclipse put it from current user machine). Here is the tip to get it according like we want.
We have two solutions (i recommend the second one):

1.- We can overwrite it passing the correct author in Eclipse shorcut as bellow.

eclipse.exe -vmargs”Christian Oscar Tejada Pacheco”
2.- Se second way is editing the eclipse.ini and adding in the footer of the file the new line bellow. Oscar Tejada Pacheco

In all of cases when eclipse will user the author, the name in will be used.

Quick tips for Assembly and build spring MVC projects after long time

After some months without creating new Eclipse project not using maven I had two problems and here I’m documenting that with the objective to do not more see this problem in front of me and trying to help someone with the same problem.

The first is when you build the project and the assembly doesn’t work fine, your deploy structure is not understood for the eclipse and as least one dependency is not found in runtime. You can try to resolve as follow:

Right click in project —> properties —> Deployment Assembly —> Add —> Java Build Path Entries —> Next —> select jar or library —> next —> finish.

The second is when you build a Spring MVC project in eclipse and and run it onto Servlet/jsp container and for some reason it doesn’t works. Maybe you need to check your spring configuration file and see if the follow ViewResolver are ok.

<bean id=”viewResolver”
<property name=”prefix”>
<value>/WEB-INF/[your jsp directory or just WEB-INF]</value>
<property name=”suffix”>

This piece of xml set the viewresolver, it means, where and wich one extensions your view tier (jsp) will understand.