Dec
22
JUnit’s Usefullness
December 22, 2006 | 1 Comment
Since, I have just finished chapter 2 of Spring Developer’s Notebook I have a question (I feel foolish for even posting these thoughts but here goes). I have never understood the usefulness of using JUnit in testing web applications. I know that’s blasphemy. I know every good Java developer should be using JUnit to test their code. This is especially true if they are using iterative development.
Although I have never researched how to use JUnit properly, from the few examples I have seen it used in books it seems rather pedantic. The tests you setup you know will work from the program successfully compiling. Testing with your local web server and testing the app seems like it would be faster than coding the JUnit test cases.
I am guessing that I am missing complex tests and proper ways to use JUnit to test with.
Dec
21
Spring Dev Notebook
December 21, 2006 | 1 Comment
Inspired by Erik Weibust I have started working through the “labs” in Spring Developer’s Notebook. This is good since I have already implemented a Flex/Spring/Ibatis application that allows mapping of comma delimited files to database tables to upload for a client. Oh, well. Better late than never.
In case your curious, before I implemented the app, I had never worked with Spring/Ibatis (although I had worked with Flex 1.5). I spent 3 days researching and two days implementing before I got my first “slice” (a single function of the application that goes from the client all the way to the DB) working with the framework in the object configurations I wanted. The rest was implemented in the setup I did without problems (spent more time on the Flex front end than the Spring code).
I’ll mark my progress to the right.
Search
Links
- Credera
- Erik Weibust
- Guitar Hero
- iGoogle
- IntelliJ Idea
- Lunar Pages
- Spore
- St Louis Cardinals
- World of Warcraft