maven spring web project structure

Hi,

I was working on spring aop example from link

http://thoughtforge.net/2010/02/16/creating-a-logging-aspect-with-spring-aop-and-aspectj/

through maven integration. I go t the project structure as i n screenshot. I have not clearly understood the structure esp like
src/main/java
src/test/java
one more

src/test
src/main
src/resources etc.
,. Any ideas, sample code, resources, links highly appreciated. thanks in advance.
LVL 7
gudii9Asked:
Who is Participating?
 
objectsCommented:
sorry misread your question

one is for java classes
and the other is for resources, such as configuration and properties file
0
 
gudii9Author Commented:
i was reading the link

>>>
src/main/java      Application/Library sources
src/main/resources      Application/Library resources

what is difference between above two ie source and resource. please advise
0
 
objectsCommented:
one is for your application
the other is used for testing
0
 
gudii9Author Commented:
why testing ones are under(src/main/resources      Application/Library resources).
i was thinking reources similar to source or src should have java file related to application. please advise
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.