Embedded Neo4j in Java project with APOC and Graph Data Science. Is it possible?

Dear friends,

I need to know if at least one already works with embedded Neo4j in Java with APOC and GDS. If yes, could you copy/paste your code here to show how to integrate both extensions ?

My code is
String home = System.getProperty("user.home");
File databaseDirectory = new File(home+"/Downloads/NEO4J");

		DatabaseManagementService managementService = new DatabaseManagementServiceBuilder(databaseDirectory.toPath())
		embeddedDb = managementService.database( DEFAULT_DATABASE_NAME );
		// http://blog.vorona.ca/how-to-use-neo4j-plugins-in-an-embedded-db.html

		GraphDatabaseAPI graphDatabase = (GraphDatabaseAPI) managementService.database( DEFAULT_DATABASE_NAME );
		GlobalProcedures globalProcedures = graphDatabase.getDependencyResolver().resolveDependency(GlobalProcedures.class, SelectionStrategy.FIRST);
		try {
			globalProcedures.registerProcedure(, true);
		} catch (KernelException e) {

Best regards,