| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|
Result: 231-240 of 250
« Previous 1 2 3 4 5 6 7 8 9 10 Next »
Hit number: 231
Step 6 - SideEffectsTutorial 6 - SideEffects The current say() method has a Concern that modifies its value. What if we instead want the value to be intact, but log that value to System.out. That would be considered a side-effect of the say() method, and should hence not be done in a Concern. It would be better to impl...
Last modified: April 20, 2009 - Size: 5 kB
/ www.qi4j.org
/ Tutorials & HowTOs
/ Composite Tutorial
/ Step 6 - SideEffects
Hit number: 232
Step 5 - ConstraintsTutorial 5 - Constraints In this tutorial we will look at how to use Constraints. When we pass parameters to methods in regular Java code the only restriction we can make is to denote a type. Any other constraints on the input value, such as whether the parameter is optional, integer ranges, string ...
Last modified: April 20, 2009 - Size: 5 kB
/ www.qi4j.org
/ Tutorials & HowTOs
/ Composite Tutorial
/ Step 5 - Constraints
Hit number: 233
Step 4 - ConcernsTutorial 4 - Concerns In this tutorial we refactor the mixin from the previous steps so that the result of the say() method is modified to be prefixed with "Simon says:". To do this we need to implement a Concern for the say() method. Concerns are a type of Modifier which modify the behaviour of the...
Last modified: April 20, 2009 - Size: 5 kB
/ www.qi4j.org
/ Tutorials & HowTOs
/ Composite Tutorial
/ Step 4 - Concerns
Hit number: 234
Step 3 - MixinsTutorial 3 - Mixins In this tutorial we refactor the Mixin from the previous steps into two, one which serves the behaviour interface and one which serves the state interface. This makes it possible to reuse the interfaces independently and also makes it easier to exchange one interface implementati...
Last modified: April 20, 2009 - Size: 3 kB
/ www.qi4j.org
/ Tutorials & HowTOs
/ Composite Tutorial
/ Step 3 - Mixins
Hit number: 235
Step 2 - Creating a CompositeTutorial 2 - Creating a Composite In this tutorial we will create a TransientComposite interface that ties all pieces together. The TransientComposite interface is a regular Java interface which extends the interfaces you want to expose from your domain model, and which uses various annotations to d...
Last modified: April 20, 2009 - Size: 3 kB
/ www.qi4j.org
/ Tutorials & HowTOs
/ Composite Tutorial
/ Step 2 - Creating a Composite
Hit number: 236
Step 1 - Interface RefactoringInitial HelloWorld This whole tutorial describes how to step-by-step modify a typical HelloWorld "application" into a full-fledged Qi4j Composite Oriented application. Here is the initial code of HelloWorld . Tutorial 1 - Interface refactoring In this tutorial we start with a basic Java class, which...
Last modified: April 20, 2009 - Size: 4 kB
/ www.qi4j.org
/ Tutorials & HowTOs
/ Composite Tutorial
/ Step 1 - Interface Refactoring
Hit number: 237
Composite TutorialDescription of TransientComposite tutorials. TransientComposite tutorials Throughout this set of tutorials it will be shown how to create and work with TransientComposites, which is the basic element in Qi4j. We will refactor one HelloWorld class to take advantage of the various features in Qi4j. Th...
Last modified: April 20, 2009 - Size: 3 kB
/ www.qi4j.org
/ Tutorials & HowTOs
/ Composite Tutorial
Hit number: 238
Tutorials & HowTOsTutorials & HowTOs The tutorials are hands-on and the reader is expected to try and achieve the goals described in each step, possibly with the help of an instructor. The output in one step is the starting point for the following step. All the tutorial material is available in the Git repository...
Last modified: May 18, 2009 - Size: 2 kB
/ www.qi4j.org
/ Tutorials & HowTOs
Hit number: 239
Qi4j in 2 hoursQi4j in 2 hours This introduction assumes that the "Qi4j in 10 minutes" and "Qi4j in 30 minutes" introductions has been read and understood. In this introduction we will touch on the core concepts of EntitySessions, Application structure and Bootstrap API. Persistence and EntitySessions We have prev...
Last modified: March 18, 2008 - Size: 2 kB
/ www.qi4j.org
/ Introduction to Qi4j
/ Qi4j in 2 hours
Hit number: 240
Qi4j in 30 minutesQi4j in 30 minutes This introduction will deepen your understanding of Qi4j, as we touches on a couple of the common features of Qi4j. It is expected that you have gone through and understood the "Qi4j in 10 minutes" introduction. We will go back to the OrderEntity example; InventoryConcern.class}) ...
Last modified: May 18, 2009 - Size: 23 kB
/ www.qi4j.org
/ Introduction to Qi4j
/ Qi4j in 30 minutes
Result: 231-240 of 250