Java Category

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

Google Adwords Java Integration

Step 1: Create Google AdwordSession configuration 2. Create AdWord Service to export KeyWords, Campaigns, AdGroups and Ads.

Rate this:

Read More

Apache Camel Salesforce Integration

1. Setup SalesforceLoginConfig 2. Setup SalesforceCamelEndpointConfig 3. Setup SalesforceCamelComponent 4. Setup SalesforceCamelRouteConfig 5. Run SalesforceCamelIntegrationTest 1. Setup SalesforceLoginConfig 2. Setup SalesforceCamelEndpointConfig 3. Setup SalesforceCamelComponent 4. Setup SalesforceCamelRouteConfig 5. Run SalesforceCamelIntegrationTest OUTPUT: >>>>>>> Salesforce Basics Info: {“objectDescribe”:{“name”:”Account”,”label”:”Account”,”updateable”:true,”keyPrefix”:”001″,”custom”:false,”urls”:{“sobject”:”/services/data/v33.0/sobjects/Account”,”describe”:”/services/data/v33.0/sobjects/Account/describe”,”rowTemplate”:”/services/data/v33.0/sobjects/Account/{ID}”,”approvalLayouts”:”/services/data/v33.0/sobjects/Account/describe/approvalLayouts”,”quickActions”:”/services/data/v33.0/sobjects/Account/quickActions”,”listviews”:”/services/data/v33.0/sobjects/Account/listviews”,”layouts”:”/services/data/v33.0/sobjects/Account/describe/layouts”,”compactLayouts”:”/services/data/v33.0/sobjects/Account/describe/compactLayouts”},”searchable”:true,”labelPlural”:”Accounts”,”layoutable”:true,”activateable”:false,”createable”:true,”deprecatedAndHidden”:false,”deletable”:true,”customSetting”:false,”feedEnabled”:true,”mergeable”:true,”queryable”:true,”replicateable”:true,”retrieveable”:true,”undeletable”:true,”triggerable”:true},”recentItems”:[{“attributes”:{“type”:”Account”,”url”:”/services/data/v33.0/sobjects/Account/001W000000JhUzlIAF”},”Name”:”Pope John XXIII Regional High School”,”Id”:”001W000000JhUzlIAF”},{“attributes”:{“type”:”Account”,”url”:”/services/data/v33.0/sobjects/Account/001W000000JhZFQIA3″},”Name”:”A PLAZA DRIVING SCHOOL”,”Id”:”001W000000JhZFQIA3″},{“attributes”:{“type”:”Account”,”url”:”/services/data/v33.0/sobjects/Account/001W000000JgxxXIAR”},”Name”:”Advanced Reproductive Care, Inc. (ARC)”,”Id”:”001W000000JgxxXIAR”},{“attributes”:{“type”:”Account”,”url”:”/services/data/v33.0/sobjects/Account/001W000000JrwqvIAB”},”Name”:”name”,”Id”:”001W000000JrwqvIAB”},{“attributes”:{“type”:”Account”,”url”:”/services/data/v33.0/sobjects/Account/001W000000JhXSnIAN”},”Name”:”Stella Niagara Education Park”,”Id”:”001W000000JhXSnIAN”},{“attributes”:{“type”:”Account”,”url”:”/services/data/v33.0/sobjects/Account/001W000000Jr1WOIAZ”},”Name”:”A J DIANA SONS INC”,”Id”:”001W000000Jr1WOIAZ”},{“attributes”:{“type”:”Account”,”url”:”/services/data/v33.0/sobjects/Account/001W000000Jr1TIIAZ”},”Name”:”A […]

Rate this:

Read More

Setup Spring EnableCaching for Memcached

1. Setup CacheConfiguration 2. Extend AbstractCacheManager 3. Implement Cache 4. Implement CachingConfigurer 1. Setup CacheConfiguration 2. Extend AbstractCacheManager 3. Implement Cache 4. Implement CachingConfigurer

Rate this:

Read More

Metrics Dashboard using STOMP WebSocket

http://cloudsole-metrics.herokuapp.com https://github.com/thysmichels/cloudsole-metrics 1. Basic WebAppInitializer 2. WebConfiguration with EnableScheduling 3. WebSocketConfiguration with EnableWebSocketMessageBroker 4. Random Number Generator with ApplicationListener 5. Sock.js Javascript 1. Basic WebAppInitializer 2. WebConfiguration with EnableScheduling 3. WebSocketConfiguration with EnableWebSocketMessageBroker 4. Random Number Generator with ApplicationListener 5. Sock.js Javascript

Rate this:

Read More

LendingClub Java Client

https://github.com/thysmichels/lendingclub-java-client The minimum requirements to get started using LendingClub API: 1. Setup wsimport maven plugin 2. Run mvn clean install to generate LendingClub API Java classes from wsdl 3. Create basic LendingClub Main Class 4. Output 1. Setup wsimport maven plugin 2. Run mvn clean install to generate LendingClub API Java classes from wsdl 3. […]

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

Activiti REST Client Example

Activiti REST Client Activiti REST Client Test

Rate this:

Read More