View SpringBoot3CamundaConfiguration.kt
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 cz.datalite.tsm.process.camunda.boot3 | |
import jakarta.persistence.EntityManager | |
import jakarta.persistence.EntityManagerFactory | |
import jakarta.persistence.PersistenceException | |
import jakarta.persistence.TransactionRequiredException | |
import org.camunda.bpm.engine.ProcessEngine | |
import org.camunda.bpm.engine.ProcessEngineException | |
import org.camunda.bpm.engine.impl.cfg.* | |
import org.camunda.bpm.engine.impl.context.Context |
View KeycloakAdminClientExample.java
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 de.tdlabs.keycloak.client; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import javax.ws.rs.core.Response; | |
import org.keycloak.OAuth2Constants; | |
import org.keycloak.admin.client.Keycloak; | |
import org.keycloak.admin.client.KeycloakBuilder; |
View A_FindFirstFindAnyReduceToOnlyElement.java
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 org.codefx.lab.stream; | |
import java.util.Collection; | |
import java.util.Objects; | |
import java.util.Optional; | |
import java.util.function.BinaryOperator; | |
import java.util.function.Supplier; | |
/** | |
* Finds a certain customer in a collection of customers. |
View logback-test.xml
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
<encoder> | |
<pattern>%date %highlight(%-5level) [%thread] %highlight(%class.%method:%line) - %msg%n</pattern> | |
</encoder> | |
</appender> | |
<!-- |
View jboss-deployment-structure.xml
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
<?xml version="1.0" encoding="UTF-8"?> | |
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<ear-subdeployments-isolated>false</ear-subdeployments-isolated> | |
<!-- | |
I have a ear deployment, I'm specifying only the module which is client of the EJB Remote module running in AS5. | |
My client class is itself an EJB 3.1 running in JBoss AS7. It is client of an EJB 2.0 running in JBoss AS5. | |
--> | |
<sub-deployment name="my-ejb-module-on-as7-${project.version}.jar"> | |
<dependencies> |
View SystemPropertiesService.java
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 ucs.jb4compat; | |
/*************************************** | |
* * | |
* JBoss: The OpenSource J2EE WebOS * | |
* * | |
* Distributable under LGPL license. * | |
* See terms of license at gnu.org. * | |
* * | |
***************************************/ |