Alternative for External jar support for Cassandra 3.11 and above

Author: Varun Sehgal

Originally Sourced from:

I am working on creating java udf with Cassandra but while developing I have noticed that external jar support is not enabled in 3.11 and whereas the same works with 2.2 version of Cassandra. But not sure if 2.2 version would be supported in future. Does anyone have an idea, what is alternative of using java code from external jar in Cassandra for 3.11 and above?