You probably do not know how to cook.
C# allows you to export as COM objects and callable functions
[DllExport("add", CallingConvention = CallingConvention.Cdecl)]
public static int TestExport(int left, int right)
return left + right;
About Java I'm not sure, but I suspect is the same.
And Yes you offended by all Aviston saying that it is the brakes. This is an extremely bold statement from piconera