toomuchcoding.blogspot.com
Blog for coding addicts: January 2015
http://toomuchcoding.blogspot.com/2015_01_01_archive.html
Blog for coding addicts. Java and other programming drugs for coding junkies :). No posts. Show all posts. No posts. Show all posts. Subscribe to: Posts (Atom). Http:/ marcin.grzejszczak.pl. View my complete profile. Marcin Grzejszczak's books on Goodreads. Ratings: 5 (avg rating 3.60). Ratings: 4 (avg rating 4.75). Shelfari: Book reviews on your book blog. Tweety na temat @MGrzejszczak. Blog's sources at Github. Yet another coding blog. Drools integration with Spring vs manual rules creation.
toomuchcoding.blogspot.com
Blog for coding addicts: Spring's @Primary annotation in action
http://toomuchcoding.blogspot.com/2013/12/springs-primary-annotation-in-action.html
Blog for coding addicts. Java and other programming drugs for coding junkies :). Thursday, December 12, 2013. Springs @Primary annotation in action. Pattern. Putting it all together our approach was as follows:. We had a container that had an autowired list of processors implementing a common interface. Our container implemented the same interface as the elements of the autowired list. The processors have some logic (predicate) basing on which a processor is applicable to the current set of input data.
toomuchcoding.blogspot.com
Blog for coding addicts: Hibernate inheritance table per subclass with different foreign key names
http://toomuchcoding.blogspot.com/2012/10/hibernate-inheritance-table-per.html
Blog for coding addicts. Java and other programming drugs for coding junkies :). Tuesday, October 23, 2012. Hibernate inheritance table per subclass with different foreign key names. This is a diagram of a database that will be used in our example. As far as logic goes - we have an abstraction called ABSENCE. That can be either a recursive absence ( REC ABSENCE. Or a month recursive absence ( MONTH REC ABSENCE. With providing the name of the id column for the given entity ( REC ABSENCE ID. View my comple...
toomuchcoding.blogspot.com
Blog for coding addicts: How to speed up your Gradle build from 90 to 8 minutes
http://toomuchcoding.blogspot.com/2015/02/how-to-speed-up-your-gradle-build-from.html
Blog for coding addicts. Java and other programming drugs for coding junkies :). Sunday, February 8, 2015. How to speed up your Gradle build from 90 to 8 minutes. Even though I was supposed to write a series of blog posts about micro-infra-spring. Here at Too Much Coding blog. Today I'll write about how we've managed to decrease our biggest project's build time from 90 to 8 minutes! Current build time: 90 minutes. First thing that we've done was to run the build with the - profile switch. It turned out t...
toomuchcoding.blogspot.com
Blog for coding addicts: Apache Camel with Spring, routing with enrichment service
http://toomuchcoding.blogspot.com/2012/11/apache-camel-with-spring-routing-with.html
Blog for coding addicts. Java and other programming drugs for coding junkies :). Thursday, November 22, 2012. Apache Camel with Spring, routing with enrichment service. Sorry for not having posted anything in some time but I had plenty of work. Anyway today I will continue the example with JMS that I've shown you some time ago. The following example bases on the one that we've seen in this post Spring JMS, message automatic conversion, JMS template. But with slight modifications:. Beans xmlns="http:/ www...
toomuchcoding.blogspot.com
Blog for coding addicts: Drools decision tables with Camel and Spring
http://toomuchcoding.blogspot.com/2013/02/drools-decision-tables-with-camel-and.html
Blog for coding addicts. Java and other programming drugs for coding junkies :). Sunday, February 3, 2013. Drools decision tables with Camel and Spring. As I've shown it in my previous post JBoss Drools are a very useful rules engine. The only problem is that creating the rules in the Rule language might be pretty complicated for a non-technical person. That's why one can provide an easy way for creating business rules - decision tables created in a spreadsheet! The point of entry of our program is the f...
toomuchcoding.blogspot.com
Blog for coding addicts: Spock Subject Collaborators Extension 1.0.1 released!
http://toomuchcoding.blogspot.com/2014/12/spock-subject-collaborators-extension.html
Blog for coding addicts. Java and other programming drugs for coding junkies :). Wednesday, December 17, 2014. Spock Subject Collaborators Extension 1.0.1 released! I'm really happy to say that I've just released a new version 1.0.1 of the Spock Subject Collaborators Extension. The changelog is as follows:. Make plugin compatible with Spock 1.0.0-SNAPSHOT. Inject superclass fields - now you can inject fields to your superclass. How to get it? Http:/ jcenter.bintray.com / url. How to use it? Tweety na tem...
toomuchcoding.blogspot.com
Blog for coding addicts: Injecting Test Doubles in Spring using Mockito and BeanPostProcessors
http://toomuchcoding.blogspot.com/2013/08/injecting-test-doubles-in-spring-using.html
Blog for coding addicts. Java and other programming drugs for coding junkies :). Friday, August 9, 2013. Injecting Test Doubles in Spring using Mockito and BeanPostProcessors. I'm pretty sure that if you have ever used Spring and are familliar with unit testing, you have encountered a problem related to injecting mocks / spies (Test Doubles) in the Spring's application context which you wouldn't want to modify. This article presents an approach how to solve this issue using Spring's components. Beans xml...
toomuchcoding.blogspot.com
Blog for coding addicts: Mockito - Extra Interfaces with annotations and static methods
http://toomuchcoding.blogspot.com/2013/06/mockito-extra-interfaces-with.html
Blog for coding addicts. Java and other programming drugs for coding junkies :). Wednesday, June 12, 2013. Mockito - Extra Interfaces with annotations and static methods. Let's take a look at the project structure:. As presented in the post regarding Mocktio RETURNS DEEP STUBS Answer for JAXB. Yet again we have the JAXB generated classes by the JAXB compiler in the com.blogspot.toomuchcoding.model. Package. Let's ommit the discussion over the pom.xml. In the com.blogspot.toomuchcoding.adapter. Package co...