mlotfi (15) [Avatar] Offline
#1
Hi,

I bought this good book, the author did an excellent job writing this book, Willie and MikeB tried to help me, I think them for their time, please I am asking someone else to explain to me how to setup and run the source code for every recipe in STS , I tried to follow the documentation in :
http://springinpractice.com/book/#code-and-setup

but could not understand.
Please I will appreciate if you can send me a zip file that has the structure of running just one recipe (for example recipe-2.1), I stopped reading the book, my big problem is just running the code , I feel like I am stupid that everybody has success running the code but not me.
My email is :
akramakom@gmail.com
Thanks lot.

Message was edited by:
mlotfi
willie.wheeler (110) [Avatar] Offline
#2
Re: If you run the source code in eclipse or STS, please help me for the setup
Hey there. Don't beat up on yourself too much. To be fair, the book is probably an intermediate-level book and it may be that we aren't explaining something that somebody just getting started might need to know.

Have you seen
http://www.youtube.com/watch?v=0831ETZinmE

I created that video to help people import the projects.

I hope it helps.
MikB (202) [Avatar] Offline
#3
Re: If you run the source code in eclipse or STS, please help me for the setup
I might add, as a sidenote, that in order to learn the basics of Spring I read several books about central technologies, including the Sonatype books about Maven http://www.sonatype.com/resources/books, especially "Maven by Example" and "Maven 3 - the complete reference" when I need to lookup stuff. I also read a lot, and I mean a lot, at the Spring forums http://forum.spring.io/ and asked numerous questions too. And here is also a good place.

You might find "Spring in Action" a good companion too. Read the one about Spring 3 now. I found SiP better personally to learn the details and nuances of Spring, but then I got down the basics first with the other resources. This is my experience. For now you might be better off staying with SiP and the forum help as main resource, but be prepared that you night need to identify and study some basics, like maven projects.

Let's also not forget to mention the IMHO excellent Spring documentation: http://spring.io/docs (Choose Spring Framework version 3.2.3).

You need to put aside a couple of hours, at least, every day and stay at it. It took me at least half a year to "get" Spring but I loved it.

In my opinion one should also never wait to study the test first approach too, as using the abilities to make tests first makes it much more easy to learn and use any framework or understand any source code that comes in your way. Once I took up studying this in parallel learning Spring sped up considerably.
mlotfi (15) [Avatar] Offline
#4
Re: If you run the source code in eclipse or STS, please help me for the setup
Thank you Willie, It's working now, I sorry to waste your precious time, and MikeB time too, I appreciate your help.
Thanks again.
MikB (202) [Avatar] Offline
#5
Re: If you run the source code in eclipse or STS, please help me for the setup
You're welcome.
willie.wheeler (110) [Avatar] Offline
#6
Re: If you run the source code in eclipse or STS, please help me for the setup
Not a waste of time--you got it working. smilie

Thanks MikB for all the help on this one.