Category Archives: JVM

Heroku add Java support but dumps containers!

Recently I have reviewing various cloud solutions and what impact this has on the way you create/architect applications and I have come to the conclusion they are often way too complicated for most existing applications to be effectively hosted in … Continue reading

Posted in Heroku | Comments Off on Heroku add Java support but dumps containers!

Scripting Languages and COBOL

The use of scripting languages with other languages has increased over the last couple of years, from a simple case of interoperability, reuse of scripting code to allowing your code to customised via the user of external scripts. All of … Continue reading

Posted in COBOL, Java, JVM, Scripting, Tips | Tagged , , , , , , , , , | 2 Comments

Using sun.jvmstat.monitor to see active Java processes

Monitor’ing Java processes can be achieved using the jvmstat monitor classes provided in the JVM. The documentation is a bit sketchy but with a little experimenting it can be done. Below is a little example that shows you how to … Continue reading

Posted in Java, JVM | Tagged , , | Comments Off on Using sun.jvmstat.monitor to see active Java processes

Java process id via java.lang.management

While working on a project recently I need to find out the current process of the active running Java process (for tracing/auditing), however I never found a 100% perfect solution but did come across an acceptable solution to use the … Continue reading

Posted in Java, JVM, Tips | Tagged , , | Comments Off on Java process id via java.lang.management

Type Safety and COBOL

Having read a recent bog about COBOL and type-safety, I though I would jot down some comments. ANS85 COBOL is naturally is type-unsafe due as every data item being part of one memory region (or storage area), because of this … Continue reading

Posted in CLR, COBOL, JVM, TypeSafety | Tagged , | Comments Off on Type Safety and COBOL

Fiddling with the JVM

Java is a very safe language if used in a normal way, however just like the CLR it can be used in an unsafe manor. The main reason for using Java in a unsafe manor is performance, some unsafe operations … Continue reading

Posted in Java, JVM, Tips | Tagged , , , | Comments Off on Fiddling with the JVM

Object COBOL/Java default exception handler

While working on some support recently for our compiler (Micro Focus COBOL compiler that is), I became annoyed with the lack of a reasonable error messages/stack trace output from our Java/COBOL Object support. I have no idea why our default … Continue reading

Posted in COBOL, Java, Tips | Tagged , , | Comments Off on Object COBOL/Java default exception handler