At the end of July 2012, Groovy 2.0 was released with support for static type checking and some performance improvements through the use of JDK7 invokedynamic and type inference as a result of type information now available through static typing. I was interested in seeing some estimate as to how significant the performance improvements in Groovy 2.0 have turned out and how Groovy 2.0 would now co
Java 7 uses the underlying file system functionalities to watch the file system for changes. Now, we can watch for events like creation, deletion, modification, and get involved with our own actions. For accomplish this task, we need: • An object implementing the Watchable interface - the Path class is perfect for this job. • A set of events that we are interested in - we will use StandardWatchEve
DCI (Data Context Interaction) is a new way to look at object oriented programming. If you’d like to read some theory to see the difference between DCI and traditional OOP there is a nice article coverting the topic: http://www.artima.com/articles/dci_vision.htmlAnd this presentation can be very helpful too: http://www.infoq.com/presentations/The-DCI-ArchitectureIn this post I’d like to show one s
I have written several posts regarding job trends in programming languages. However, I have not really written any posts that looked towards the future of programming languages. With job trends, I have been focusing on more heavily adopted languages. In this case, I wanted to look at some other languages that are gaining popularity but have not really become one of the top languages to use. Part o
There are less than 100 of them worldwide. They include some of the biggest names in Java: Neal Gafter, Brian Goetz, Gavin King, Rod Johnson, Doug Lea, and James Gosling. They are the Java Champions. Recently, he title of "Java Champion" was awarded to Andres Almiray—a major leader in the Groovy community who is also a regular contributor to DZone. For further reference, these are the requisite
JDK6 introduced great but probably not too widely known possibility of embedding lightweight http server in to your application. If you are not aware about it as I was here is the link for javadocs of simple and nice API Of course, several great options for embedded http server (servlet container usually) existed before. Jetty was my favorite for a long time. The biggest difference is that JDK giv
Domain-Specific Languages are a hot topic, and have been popularized by languages like Groovy and Ruby thanks to their malleable syntax which make them a great fit for this purpose. In particular, Groovy allows you to create internal DSLs: business languages hosted by Groovy. In a recent research work, Tiago Antão has decided to use Groovy to model the resistance to drugs against the Malaria disea
Several weeks ago we've talked about lock free message passing algorithms with Groovy++ and provided implementation of actors similar to the ones in Scala or Erlang but faster. Today we will use same technique to implement similar but different concept from Clojure called agents. You can find source code and more examples in the Groovy++ distro So what is agent? Probably the best source is Clojure
This week Hudson creator Kohsuke Kawaguchi introduced his new startup, InfraDNA, which provides support and consulting for the Hudson Continuous Integration system. After nine years of employment, Kawaguchi left Oracle earlier this month in order to start his new business. In his blog, he explains how chose the name for his company: "The name of the company is InfraDNA because I think of Hudson m
The Groovy MockFor object got some fun new features this weekend: constructor mocking and "half-mocks". The tickets are marked for Groovy 1.7.1, so these features are available in the nightly builds or in the next few weeks as 1.7.1 is released. The easiest thing is, of course, to just build from source. The first feature is Constructor mocking. It is now possible to specify a return value for moc
It seems that the Groovy has a project for just about anything. That's one of the reasons why the language is so popular. The GPars library is an especially useful project in this new era of mult-core processors and concurrent programming. Formerly known as GParallelizer, GPars offers a framework for handling tasks concurrently and asynchronously while safe-guarding mutable values. DZone recen
One of the many cool sample applications known to those trying out JavaFX is the JavaFX Weather application, which is now bundled with the NetBeans IDE 6.5.1/JavaFX 1.2 bundle. In short, it connects to a weather service and then displays the results for selected cities in an impressive JavaFX GUI: In a technical session at JavaOne on Wednesday, entitled "JavaFX Programming Language + Groovy = Beau
Today is my lucky day. Through DZone I found Architecture Rules, a lovely little framework that abstracts JDepend. Architecture Rules is configured via its own XML schema. Here's an example: <architecture> <configuration> <sources no-packages="exception"> <source not-found="exception">spring.jar</source> </sources> <cyclicaldependency test="true"/> </configuration> <rules> <rule id="beans-web"> <c
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く