Skip to content

Commit 8580f7e

Browse files
committed
vaadin/faces files.
1 parent e9f10e1 commit 8580f7e

File tree

19 files changed

+694
-8
lines changed

19 files changed

+694
-8
lines changed

flink-inmemory/pom.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<groupId>ie.emeraldjava</groupId>
8+
<artifactId>spring</artifactId>
9+
<version>0.0.1-SNAPSHOT</version>
10+
</parent>
11+
12+
<artifactId>flink-inmemory</artifactId>
13+
14+
<properties>
15+
<maven.compiler.source>17</maven.compiler.source>
16+
<maven.compiler.target>17</maven.compiler.target>
17+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18+
<!-- 1.16.3 -->
19+
<flink.version>1.18.0</flink.version>
20+
</properties>
21+
22+
<dependencies>
23+
<dependency>
24+
<groupId>org.apache.flink</groupId>
25+
<artifactId>flink-java</artifactId>
26+
<version>${flink.version}</version>
27+
</dependency>
28+
<dependency>
29+
<groupId>org.apache.flink</groupId>
30+
<artifactId>flink-test-utils</artifactId>
31+
<version>${flink.version}</version>
32+
</dependency>
33+
</dependencies>
34+
</project>

flink-inmemory/readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Flink
2+
3+
https://www.baeldung.com/apache-flink
4+
https://getindata.com/blog/writing-flink-jobs-using-spring-dependency-injection-framework/
5+
https://medium.com/@pavlo.kurachenko/spring-boot-flink-statefun-in-action-241ae5d2cb21
6+

joinfaces/pom.xml

Lines changed: 218 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<groupId>org.springframework.boot</groupId>
8+
<artifactId>spring-boot-starter-parent</artifactId>
9+
<version>2.7.18</version>
10+
<relativePath/> <!-- lookup parent from repository -->
11+
</parent>
12+
13+
<artifactId>joinfaces</artifactId>
14+
<packaging>jar</packaging>
15+
16+
<properties>
17+
<maven.compiler.source>17</maven.compiler.source>
18+
<maven.compiler.target>17</maven.compiler.target>
19+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20+
<!-- <jakarta.validation-api.version>3.0.2</jakarta.validation-api.version>-->
21+
<!-- https://github.com/joinfaces/joinfaces -->
22+
<joinfaces.version>4.7.18</joinfaces.version>
23+
<!-- https://stackoverflow.com/questions/60301900/facelets-welcome-page-not-found-or-redirected-using-spring-boot -->
24+
<primefaces.core.version>7.0</primefaces.core.version>
25+
<primefaces.extensions.version>7.0.3</primefaces.extensions.version>
26+
<omnifaces.version>3.4.1</omnifaces.version>
27+
<fontawesome.version>5.12.0</fontawesome.version>
28+
</properties>
29+
30+
<dependencyManagement>
31+
<dependencies>
32+
<!-- <dependency>-->
33+
<!-- <groupId>jakarta.validation</groupId>-->
34+
<!-- <artifactId>jakarta.validation-api</artifactId>-->
35+
<!-- <version>${jakarta.validation-api.version}</version>-->
36+
<!-- </dependency>-->
37+
<dependency>
38+
<groupId>org.joinfaces</groupId>
39+
<artifactId>joinfaces-dependencies</artifactId>
40+
<version>${joinfaces.version}</version>
41+
<type>pom</type>
42+
<scope>import</scope>
43+
</dependency>
44+
</dependencies>
45+
</dependencyManagement>
46+
47+
48+
<dependencies>
49+
50+
<dependency>
51+
<groupId>org.springframework.boot</groupId>
52+
<artifactId>spring-boot-starter-actuator</artifactId>
53+
</dependency>
54+
<dependency>
55+
<groupId>org.springframework.boot</groupId>
56+
<artifactId>spring-boot-devtools</artifactId>
57+
</dependency>
58+
<!-- <dependency>-->
59+
<!-- <groupId>org.springframework.boot</groupId>-->
60+
<!-- <artifactId>spring-boot-starter-freemarker</artifactId>-->
61+
<!-- </dependency>-->
62+
<dependency>
63+
<groupId>org.springframework.boot</groupId>
64+
<artifactId>spring-boot-starter-web</artifactId>
65+
</dependency>
66+
67+
<dependency>
68+
<groupId>org.joinfaces</groupId>
69+
<artifactId>primefaces-spring-boot-starter</artifactId>
70+
</dependency>
71+
<dependency>
72+
<groupId>org.joinfaces</groupId>
73+
<artifactId>omnifaces3-spring-boot-starter</artifactId>
74+
</dependency>
75+
<!-- <dependency>-->
76+
<!-- <groupId>org.joinfaces</groupId>-->
77+
<!-- <artifactId>security-spring-boot-starter</artifactId>-->
78+
<!-- </dependency>-->
79+
<dependency>
80+
<groupId>org.joinfaces</groupId>
81+
<artifactId>rewrite-spring-boot-starter</artifactId>
82+
</dependency>
83+
84+
<!-- OmniFaces -->
85+
<dependency>
86+
<groupId>org.omnifaces</groupId>
87+
<artifactId>omnifaces</artifactId>
88+
<version>${omnifaces.version}</version>
89+
</dependency>
90+
<!-- Primefaces core -->
91+
<dependency>
92+
<groupId>org.primefaces</groupId>
93+
<artifactId>primefaces</artifactId>
94+
<version>7.0</version>
95+
</dependency>
96+
<!-- Primefaces extensions -->
97+
<dependency>
98+
<groupId>org.primefaces.extensions</groupId>
99+
<artifactId>primefaces-extensions</artifactId>
100+
<version>${primefaces.extensions.version}</version>
101+
</dependency>
102+
<!-- Primefaces theme -->
103+
<!-- <dependency>-->
104+
<!-- <groupId>com.skf.ecocalcweb</groupId>-->
105+
<!-- <artifactId>PrimefacesTheme</artifactId>-->
106+
<!-- <version>1.0.0</version>-->
107+
<!-- </dependency>-->
108+
<!-- Font Awesome -->
109+
<dependency>
110+
<groupId>org.webjars</groupId>
111+
<artifactId>font-awesome</artifactId>
112+
<version>${fontawesome.version}</version>
113+
</dependency>
114+
115+
<!-- <dependency>-->
116+
<!-- <groupId>org.primefaces</groupId>-->
117+
<!-- <artifactId>primefaces</artifactId>-->
118+
<!-- <version>10.0.0</version>-->
119+
<!-- </dependency>-->
120+
<dependency>
121+
<groupId>org.projectlombok</groupId>
122+
<artifactId>lombok</artifactId>
123+
<scope>provided</scope>
124+
</dependency>
125+
126+
<!-- <dependency>-->
127+
<!-- <groupId>jakarta.validation</groupId>-->
128+
<!-- <artifactId>jakarta.validation-api</artifactId>-->
129+
<!-- </dependency>-->
130+
<!-- <dependency>-->
131+
<!-- <groupId>org.springframework.boot</groupId>-->
132+
<!-- <artifactId>spring-boot-starter-test</artifactId>-->
133+
<!-- <scope>test</scope>-->
134+
<!-- </dependency>-->
135+
<!-- <dependency>-->
136+
<!-- <groupId>org.springframework.boot</groupId>-->
137+
<!-- <artifactId>spring-boot-starter-actuator</artifactId>-->
138+
<!-- </dependency>-->
139+
<!-- <dependency>-->
140+
<!-- <groupId>org.springframework.boot</groupId>-->
141+
<!-- <artifactId>spring-boot-devtools</artifactId>-->
142+
<!-- </dependency>-->
143+
<!-- <dependency>-->
144+
<!-- <groupId>org.springframework.boot</groupId>-->
145+
<!-- <artifactId>spring-boot-starter-freemarker</artifactId>-->
146+
<!-- </dependency>-->
147+
<!-- <dependency>-->
148+
<!-- <groupId>org.springframework.boot</groupId>-->
149+
<!-- <artifactId>spring-boot-starter-web</artifactId>-->
150+
<!-- </dependency>-->
151+
152+
<!-- <dependency>-->
153+
<!-- <groupId>org.joinfaces</groupId>-->
154+
<!-- <artifactId>faces-spring-boot-starter</artifactId>-->
155+
<!-- </dependency>-->
156+
<!-- <dependency>-->
157+
<!-- <groupId>org.joinfaces</groupId>-->
158+
<!-- <artifactId>primefaces-spring-boot-starter</artifactId>-->
159+
<!-- </dependency>-->
160+
<!-- <dependency>-->
161+
<!-- <groupId>com.google.code.gson</groupId>-->
162+
<!-- <artifactId>gson</artifactId>-->
163+
<!-- <scope>runtime</scope>-->
164+
<!-- </dependency>-->
165+
<!-- <dependency>-->
166+
<!-- <groupId>org.joinfaces</groupId>-->
167+
<!-- <artifactId>omnifaces-spring-boot-starter</artifactId>-->
168+
<!-- </dependency>-->
169+
<!-- <dependency>-->
170+
<!-- <groupId>org.joinfaces</groupId>-->
171+
<!-- <artifactId>security-spring-boot-starter</artifactId>-->
172+
<!-- </dependency>-->
173+
<!-- <dependency>-->
174+
<!-- <groupId>org.joinfaces</groupId>-->
175+
<!-- <artifactId>rewrite-spring-boot-starter</artifactId>-->
176+
<!-- </dependency>-->
177+
<dependency>
178+
<groupId>org.projectlombok</groupId>
179+
<artifactId>lombok</artifactId>
180+
<scope>provided</scope>
181+
</dependency>
182+
<dependency>
183+
<groupId>org.springframework.boot</groupId>
184+
<artifactId>spring-boot-autoconfigure</artifactId>
185+
</dependency>
186+
</dependencies>
187+
188+
<build>
189+
<pluginManagement>
190+
<plugins>
191+
<plugin>
192+
<groupId>org.joinfaces</groupId>
193+
<artifactId>joinfaces-maven-plugin</artifactId>
194+
<version>${joinfaces.version}</version>
195+
<executions>
196+
<execution>
197+
<goals>
198+
<goal>classpath-scan</goal>
199+
</goals>
200+
</execution>
201+
</executions>
202+
</plugin>
203+
</plugins>
204+
</pluginManagement>
205+
206+
<plugins>
207+
<plugin>
208+
<groupId>org.joinfaces</groupId>
209+
<artifactId>joinfaces-maven-plugin</artifactId>
210+
</plugin>
211+
<plugin>
212+
<groupId>org.springframework.boot</groupId>
213+
<artifactId>spring-boot-maven-plugin</artifactId>
214+
</plugin>
215+
</plugins>
216+
</build>
217+
218+
</project>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package ie.emeraldjava.view;
2+
3+
import org.springframework.stereotype.Component;
4+
5+
import javax.faces.view.ViewScoped;
6+
import java.io.Serializable;
7+
8+
@Component
9+
@ViewScoped
10+
public class StarterMBean implements Serializable {
11+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html lang="en"
3+
xmlns="http://www.w3.org/1999/xhtml"
4+
xmlns:h="http://xmlns.jcp.org/jsf/html"
5+
xmlns:p="http://primefaces.org/ui">
6+
7+
<h:head>
8+
<title>Hello, Spring and JSF World!</title>
9+
</h:head>
10+
<h:body>
11+
12+
<p:panel header="#{springManagedBean.message}">
13+
<p:outputLabel value="#{springManagedBean.jsfMessage}"/>
14+
<p:outputLabel value="#{springManagedBean.springMessage}"/>
15+
</p:panel>
16+
17+
18+
<p:panel header="#{jsfManagedBean.message}">
19+
<p:outputLabel value="#{jsfManagedBean.jsfMessage}"/>
20+
<p:outputLabel value="#{jsfManagedBean.springMessage}"/>
21+
</p:panel>
22+
23+
24+
</h:body>
25+
</html>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE html>
3+
<html xmlns="http://www.w3.org/1999/xhtml"
4+
xmlns:ui="http://java.sun.com/jsf/facelets"
5+
xmlns:f="http://java.sun.com/jsf/core"
6+
xmlns:p="http://primefaces.org/ui"
7+
xmlns:h="http://java.sun.com/jsf/html">
8+
9+
<h:head>
10+
<title>PrimeFaces Test</title>
11+
</h:head>
12+
<h:body>
13+
14+
<h1>#{testView.string}</h1>
15+
<h:form id="frmTest">
16+
<p:outputLabel for="datePicker" value="Select Date: " />
17+
<p:datePicker id="datePicker" value="#{testView.localDateTime}" />
18+
</h:form>
19+
20+
</h:body>
21+
</html>

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
<module>spring-aop-multi</module>
2222
<module>dual-contexts</module>
2323
<module>vaadin</module>
24+
<module>flink-inmemory</module>
25+
<module>joinfaces</module>
26+
<module>yaml-properties</module>
27+
<module>httpbin-gateway</module>
2428
</modules>
2529

2630
</project>

0 commit comments

Comments
 (0)