Tags » Java 2

Starting CDI beans eagerly and portably

There are several web resources out there that describe how to get a CDI bean (usually ApplicationScoped) to be instantiated when the CDI container comes up.   1,260 more words

Java Game Design - Introduction

I’ve been working through The Cherno Project’s video tutorials on Java game engine design, when I realised that some of the content is taken as given with little or no explanation. 88 more words

Java

My First Video Is Up!

Happy Thanksgiving all!

I finally created the first video of my video series on converting Java codebases to Kotlin. So I present it to you here as a Thanksgiving present. 25 more words

Java

Heap dump in Java

jmap -J-d64 -dump:live,format=b,file= 

One can then import the dump to jprofiler or jvisualvm

Java

CDI 2.0: Fun With Composition, Part 3

(Disclaimer: I work for Oracle doing Java EE architecture and other things, but none of my writings here or anywhere else on this site have anything to do with my day job there.   954 more words

CDI 2.0: Fun With Composition, Part 2

In my last post I laid the groundwork for a compositional approach to deploying applications in CDI 2.0.  The main method doesn’t need to do anything.   302 more words

CDI 2.0: Fun With Composition, Part 1

(Disclaimer: I work for Oracle doing Java EE architecture and other things, but none of my writings here or anywhere else on this site have anything to do with my day job there.   479 more words