DuyHai DOAN | Devoxx

DuyHai DOAN
DuyHai DOAN Twitter

From Datastax

DuyHai Doan is a Cassandra technical advocate. He spends his time between technical presentations/meetups on Cassandra, coding on open source projects to support the community and helping all companies using Cassandra to make their project successful. Previously he was working as a freelance Java/Cassandra consultant

Blog: http://www.doanduyhai.com/blog

java Java, JVM, Java SE/EE

Annotation Processor, the power of byte code manipulation without its guru dark side

Quickie

Most Java programmers know that byte code manipulation enable advanced features of Java like source code generation, automatic accessors creation, transparent proxies etc ...

The power of byte code comes with its drawback e.g. the inherent complexity of the byte code language itself.

But few people think about Annotation Processing that allows arbitrary code generation at compile time and enables a complete type safe code.

We'll demonstrate this feature with a simple sample using JavaPoet and Google Compile Testing libraries

bigd Big Data & Analytics

New Cassandra 3 features that change your (developer) life

Conference

Cassandra 3.0 has been released for a while, it's high time to look at the new features that will make your life easier:

  1. the new User Defined Functions (UDF) and User Defined Aggregates (UDA) which allow you to create code in the language of your choice (JVM compatible) and push the computation to the server

  2. the JSON syntax that can be used to push data directly into Cassandra without the pain of converting JSON to regular literal values

  3. the new Materialized Views (MV) that make de-normalization easier for the developers

  4. the new SASI full text search feature that allow you to perform dynamic queries on your Cassandra data