Archives

Salesforce Platform Events Streaming using Spring Boot

Create EmpConnector connection The first thing is to create a configuration that on startup will connect to the EmpConnector and start listing for incoming events on a specific topic. 1. Set all your Bayeux Parameters (bayeuxParameters) 2. Create EmpConnector connection (empConnector) 3. Start listening to topic (startAndPublishAsyncEventToExchange) 4. Adding listeners to the topic (startAndPublishAsyncEventToExchange) Basic […]

Rate this:

Read More

Apache Camel Kafka Spring Integration

1. Configure Camel Kafka Component 2. Configure Kafka Consume and Producer Route 3. Start Kafka test by adding routes to CamelContext and starting

Rate this:

Read More

Spring MVC AngularJS Address Book

Try it: http://cloudsole-angular.herokuapp.com Clone it: https://github.com/thysmichels/cloudsole-angular 1. Address Book Model 2. Address Book Service 3. Address Book Service Implementation 4. Address Book Controller 5. Address Book Angular Controller 6. Address Book HTML 1. Address Book Model 2. Address Book Service 3. Address Book Service Implementation 4. Address Book Controller 5. Address Book Angular Controller 6. […]

Rate this:

Read More

Spring MVC AngularJs Todo List

Try it: http://cloudsole-angular.herokuapp.com Clone it: https://github.com/thysmichels/cloudsole-angular 1. Todo Service 2. Todo Service Implementation 3. Todo Spring MVC Controller 4. Angular App.js 5. Angular TodoController 6. Todo html page 1. Todo Service 2. Todo Service Implementation 3. Todo Spring MVC Controller 4. Angular App.js 5. Angular TodoController 6. Todo html page

Rate this:

Read More

Heroku OAuth 2.0 Scribe Spring MVC Example

ApplicationContext.xml defines herokuServiceConfig and herokuServiceProvider Bean Spring MVC Heroku OAuth Controller HerokuOauthApi extends DefaultApi20

Rate this:

Read More

Activiti BPM Tutorial – Spring Configuration

Activiti Spring Configuration 1. Activiti Configuration using XML 1.1 Activiti Configuration XML Test 2. Activiti Configuration using Annotations 2.1 Activiti Configuration Annotation Test 1. Activiti Configuration using XML 1.1 Activiti Configuration XML Test 2. Activiti Configuration using Annotations 2.1 Activiti Configuration Annotation Test

Rate this:

Read More

Spring MVC form checkbox binding

DeployList Model ModelAndView DeployLists deploy.jsp result.jsp

Rate this:

Read More

Create Spring Bean On-Demand using Bean Lookup

Bean Configuration – create prototype method on demand using look-up method Configuration factory Test Class Each time you call createPartnerConnection()() you will receive the reference to newly created instance of PartnerConnection class.

Rate this:

Read More

Spring Jpa different object already associated

ERROR: A different object with the same identifier value was already associated with the session Solution: See if an existing ID already exist, if not persist record. If same ID found, merge with existing record

Rate this:

Read More