Hello guys, Time for the “Best Of The Week” links for the week that just passed. Here are some links that drew JavaCodeGeeks attention: * Oracle’s ambitious plan for client-side Java: An opinion on Oracle’s plans regarding client side Java and it’s strategy mainly revolving around JavaFX (now the preferred method of building all kinds of GUI). * Integrating JavaFX ...
Read More »Spring & Quartz Integration with Custom Annotation
We know Spring has support for integration with the Quartz framework. But as of now Spring supports only static XML declarative approach. If you want to see how to integrate Spring with Quartz you can refer to the Spring + Quartz + JavaMail Integration Tutorial. As part of my pet project requirements I got to schedule the Jobs dynamically and ...
Read More »JavaOne is Rebuilding Momentum
Just finished up an extremely busy week at JavaOne and there was a lot to like about this year’s event. There were plenty of surprise announcements, lots of good content/sessions, and a lot of improvements on the venue and organization. For folks who have been patiently waiting for me to publish all my talks, I apologize for the delay… giving ...
Read More »Rich Domain Model with Guice
The anaemic domain model is a really common anti-pattern. In the world of ORM & DI frameworks we naturally seem to find ourselves with an ORM-managed “domain” that is all data and no behaviour; coupled with helper classes that are all behaviour and no data, helpfully injected in by our DI framework. In this article I’ll look at one possible ...
Read More »Android Game Development – Design In-game Entities – The State Pattern
In this part I will try to explain how to design easily extensible and maintainable game elements that control their own internal state and behaviours. An internal state is best described as being the soul and mind of the entity. In the first part I described why composition is better than inheritance. In a nutshell composition provides the means to ...
Read More »Scala Tutorial – scala.io.Source, accessing files, flatMap, mutable Maps
Preface This is part 8 of tutorials for first-time programmers getting into Scala. Other posts are on this blog, and you can get links to those and other resources on the links page of the Computational Linguistics course I’m creating these for. Additionally you can find this and other tutorial series on the JCG Java Tutorials page. This tutorial is ...
Read More »Services, practices & tools that should exist in any software development house, part 1
I truly believe that it’s part of our job, some sort of duty, to evangelize the correct way of working within the company / department we work for. Apart from doing our regular tasks analysis, design and implementation we must work efficiently under certain practices and using tools that have been there for years and will continue to exist. It ...
Read More »Android Game Development – OpenGL Texture Mapping
In the previous two articles (article 1 and article 2) I have tried to introduce OpenGL ES on android. Now let’s take it further and build on them. In this article we will create a billboard (which is a square) and we will apply a texture onto it. A texture is nothing more than a bitmap image. When we work ...
Read More »Scala Tutorial – Maps, Sets, groupBy, Options, flatten, flatMap
Preface This is part 7 of tutorials for first-time programmers getting into Scala. Other posts are on this blog, and you can get links to those and other resources on the links page of the Computational Linguistics course I’m creating these for. Additionally you can find this and other tutorial series on the JCG Java Tutorials page. Lists (and other sequence ...
Read More »