Injecting CDI managed beans into Quarz jobs

Quarz Job Scheduler If you have worked with enterprise applications in the past you have most likely at some point in time needed to schedule some jobs to run at either some interval or possibly at some specific point in time. One of the go-to solutions to do this has for a long time been using the Quarz Job Scheduler. Here is an example of a typical Quarz job you might create: class MyJob implements Job { @Override void execute(JobExecutionContext context){ // Execute some code } } and then in your application you would schedule it pretty much like this class MyApp { void »

Converting a Vaadin Maven project to Gradle

So you started out with creating a new Vaadin project in Eclipse and it created a Maven project and after a while you have noticed it isn't working out for you and want to switch to Gradle to make your life easier. The good news is that Gradle provides great tooling for upgrading your project from Maven to Gradle and with the Gradle Vaadin plugin you will be happily running with Gradle in no time. To demonstrate the approach I have taken the Vaadin Spreadsheet tutorial provided by Vaadin over at https://github.com/vaadin/spreadsheet-tutorial. It is a typical »

Gradle Vaadin Plugin 0.11 beta released

Gradle Vaadin Plugin 0.11 is probably the biggest release since the first version of the plugin came out nearly 4 years ago. Many things under the hood has changed and improved, mostly because of improvements in Gradle itself, but also new features have been added which will help especially those in a more enterprise project. But lets have a look at the major features this release brings. Java 8 and Gradle 2.12 required To be able to make many of the improvements made in 0.11 new features of Gradle needed to be used. That meant that the »

Sneak peak into Gradle Vaadin Plugin 0.11

Changes in how dependencies are handled As you all most likely know the plug-in will inject the required vaadin dependencies into the build so you can start developing with Vaadin without any whatsoever knowledge about what dependencies are needed. The plug-in by default takes care of that for you. However, the way the dependencies were injected was never a supported solution and it had its flaws. One of the major flaws was that while it worked flawlessly if you were using the Gradle eclipse or idea plug-ins it didn't work so well if you were using the third party Eclipse »

What is new with Gradle Vaadin Plugin 0.10

Here are some of the most prominent features of the release: Widgetset CDN support The biggest new feature of 0.10 must be the new support for using pre-built widgetsets provided by http://cdn.virit.in instead of building the widgetset locally. To use this feature there are a few requirements you need to be aware of before using it: 1) You will need to set vaadin.widgetsetCDN=true in your build.gradle. This is to tell the plugin that you want to use the CDN instead of building the widgetset locally. 2) You need to name your widgetset without »