diff --git a/pom.xml b/pom.xml
index f6dc910c7601aa3a945154d907469bb300c3cdf2..8918ed114d46acd8061f9bdbfb6317165afaf4c4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,6 +47,17 @@
 			<artifactId>log4j-core</artifactId>
 			<version>${log4j.version}</version>
 		</dependency>
+		<!-- https://mvnrepository.com/artifact/org.apache.cxf/cxf-rt-rs-client -->
+		<dependency>
+		    <groupId>org.apache.cxf</groupId>
+		    <artifactId>cxf-rt-rs-client</artifactId>
+		    <version>4.0.0</version>
+		</dependency>
+		<dependency>
+	        <groupId>com.fasterxml.jackson.jakarta.rs</groupId>
+	        <artifactId>jackson-jakarta-rs-json-provider</artifactId>
+	        <version>2.14.2</version>
+	    </dependency>
 	</dependencies>
 	<build>
 		<plugins>
diff --git a/src/main/java/java2/lab12/client/CourseClient.java b/src/main/java/java2/lab12/client/CourseClient.java
new file mode 100644
index 0000000000000000000000000000000000000000..d3c0377a5343e1840272b937a2de9325de8a8202
--- /dev/null
+++ b/src/main/java/java2/lab12/client/CourseClient.java
@@ -0,0 +1,37 @@
+package java2.lab12.client;
+
+import java.util.List;
+
+import jakarta.ws.rs.Consumes;
+import jakarta.ws.rs.DELETE;
+import jakarta.ws.rs.GET;
+import jakarta.ws.rs.POST;
+import jakarta.ws.rs.PUT;
+import jakarta.ws.rs.Path;
+import jakarta.ws.rs.PathParam;
+import jakarta.ws.rs.Produces;
+import jakarta.ws.rs.core.MediaType;
+
+public interface CourseClient {
+	
+	@POST
+	@Path("/course")
+	@Consumes(MediaType.APPLICATION_JSON)
+	Long createCourse(Course course);
+	
+	@GET
+	@Produces(MediaType.APPLICATION_JSON)
+	@Path("/courses")
+	List<Course> getCourses();
+	
+	
+	@PUT
+	@Consumes(MediaType.APPLICATION_JSON)
+	@Path("/course")
+	void updateCourses(Course course);
+	
+	@DELETE
+	@Path("/course/{id}")
+	void removeCourses(@PathParam("id") Long id);
+	
+}
diff --git a/src/main/java/java2/lab12/client/TableViewSample.java b/src/main/java/java2/lab12/client/TableViewSample.java
index cbb1718e833b99465dc2f0567b098a41ca9dd271..b7a40fad0de4b901d0f6eab30f72282bf1690fd0 100644
--- a/src/main/java/java2/lab12/client/TableViewSample.java
+++ b/src/main/java/java2/lab12/client/TableViewSample.java
@@ -2,6 +2,12 @@ package java2.lab12.client;
 
 import java.util.Collection;
 import java.util.Collections;
+import java.util.HashMap;
+
+import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
+
+import com.fasterxml.jackson.databind.SerializationFeature;
+import com.fasterxml.jackson.jakarta.rs.json.JacksonXmlBindJsonProvider;
 
 import javafx.application.Application;
 import javafx.beans.property.ReadOnlyObjectWrapper;
@@ -190,18 +196,26 @@ public class TableViewSample extends Application {
 	}
 
 	private Collection<Course> getCourses() {
-		return Collections.emptyList();
+		return getClient().getCourses();
 	}
 
 	private void createCourse(Course course) {
-		// TODO
+		Long id = getClient().createCourse(course);
+		course.setId(id);
 	}
 
 	private void updateCourse(Course course) {
-		// TODO
+		getClient().updateCourses(course);
 	}
 
 	private void removeCourse(Course course) {
-		// TODO
+		getClient().removeCourses(course.getId());
+	}
+	
+	private static CourseClient getClient() {
+		return JAXRSClientFactory.create("http://localhost:8080", CourseClient.class,
+				Collections.singletonList(new JacksonXmlBindJsonProvider().disable(SerializationFeature.WRAP_ROOT_VALUE)
+						.disable(SerializationFeature.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED)),
+				new HashMap<>(), true);
 	}
 }
\ No newline at end of file