Voici d’abord comment lancer une application à l’aide de la partie serveur d’applications du réacteur :
1 2 3 4 5 6 7 8 9 10 11 12 |
@DependsOnModel({ Car.class, Power.class, UsedCar.class, Color.class, CarColor.class }) @RunScript(CarColorScript.class) @Children({ Table.class, Table.class }) @FlexDirectionStyle(FlexDirection.ROW) @Style(path = Table.class, pos = 0, name = "flex", value = "1") @Style(path = Table.class, pos = 1, name = "flex", value = "3") @DirectSelect(path = Table.class, value = { Color.class, Car.class }) public class Exemple extends RootTagImpl { public static void main(String[] mainArgs) { ApplicationServer.startSimpleGenericApp(mainArgs, Exemple.class, "/example"); } } |
Continue reading GS-reactor ― Exemple : Lancement d’une application