-
Step 1 - Name Jail and Choose FreeBSD Release
- Name: calibre-jail
- Jail Type: Default(Clone Jail)
- Release: 11.3-RELEASE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mvc.java.push; | |
import java.util.Observable; | |
import java.util.Observer; | |
import java.util.Random; | |
public class MVCPush { | |
public static void main(String[] args) { | |
// The Model doesn't know anything about the controller neither the view |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mvc.java.pull; | |
import java.util.Observable; | |
import java.util.Observer; | |
import java.util.Random; | |
public class MVCPull { | |
public static void main(String[] args) { | |
// The Model doesn't know anything about the controller neither the view |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mvc.from.scratch.push; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Random; | |
interface Observer<T> { | |
void update(T t); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mvc.from.scratch.pull; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Random; | |
interface Observer { | |
void update(); | |
} |