How would you build a real database driven application using ZK? This article introduces the "ZkFoodToGo" example application that demonstrates one approach. "Food To Go" is a fictional fast food ordering system described by Chris Richardson in his book POJOs In Action. The book makes extensive use of Spring, JUnit and mock objects to demonstrate three alternative ORM frameworks: Hibernate, JDO and iBatis. It comprises of mock object JUnit tests demonstrating POJO design patterns and ORM best practices. The book does not supply a user interface nor a complete set of application Use Cases. To create a small but complete web application some simple methods were added to the persistence code to support the screens. ZkFoodToGo uses a POJO domain model, event driven MVC, Spring (IoV pattern), a POJO Facade (with an AOP transaction manager) and Hibernate. The application architecture is well documented both on the ZK wiki and within the book
Generic Debugging
Select break points in the code you're are going to run.
Run Maven in debug mode, e.g mvn-debug install
Attach the debugger to the running maven by selecting the "Maven" debug configuration created above.
Eclipse will now stop Maven at the breakpoints you have enabled.
Apache Maven ist mehr als nur ein Build-Tool. Richtig eingesetzt kann es helfen, Projekte zu managen und die Entwicklung zu unterstützen. Dieser Artikel erklärt das optimale Vorgehen.
Building a project is complex business. Due to the dozens of tasks required in converting your hodge-podge of files into a working program, there exist literally hundreds of tools that do everything from generating source code, to compiling, to testing, t