Better objects

Better Objects -Realmモデルクラスのバイトコード書き換えの解説-

Realm Java 0.88よりRealmのモデルクラスに課せられていた多くの制限事項が取り除かれ、ほぼ通常のJavaオブジェクトと同様に扱えるようになりました。 Realmのオブジェクトには自動更新や遅延ロードなど、モバイルデバイスで高速に省メモリで使えるようなさまざまな機能があります。クラスの利用に制限をかけずにそれを実現するためにビルド時にバイトコードの操作を行っています。

記事の更新情報を受け取る

その部分を主に実装したエンジニアであるEmanueleが昨年来日した際に、どのような仕組みで実現しているのかをお話ししました。

関連ニュース Realm JavaでAndroidアプリのデータ永続化が素早く安全に実装できるようになります。

General link arrow white

About the content

This content has been published here with the express permission of the author.

Emanuele Zattin

Emanuele is a Java, CI and tooling specialist at Realm. Previously, during the good ol’ golden years at Nokia, he helped the whole company unify under one CI system (Jenkins) and switch their version control system to Git. He’s an active member and speaker within the Jenkins community where he contributes to the core and maintains several plugins.

4 design patterns for a RESTless mobile integration »

close