Tag Archives: JVM

Video: JVM Debugging Under the Hood

Interview with Martin Skarsaune on his decentipede project for JVM Debugging.

Grails tutorial for beginners

via Grails tutorial for beginners | Examples Java Code Geeks.

Grails tutorial for beginners – Grails is an open source framework based on Groovy and Java. It also supports MVC architecture to for developing web application. This tutorial will describe more details about Grails and represent a simple web application with Grails. 1.Groovy Groovy is a dynamic object-oriented programming language for the Java platform. It is compiled to Java Virtual Machine (JVM) …

Liferay Remote Staging through HTTPS

Tomcat could serve SSL content properly. As an Http client, the JVM could accept a self-signed (untrusted) certificate. If you’ve ever come across a website that asked you if you want to accept an untrusted certificate, this is basically the same thing, but there’s no UI to import certificates into the JVM. Create a self-signed […]


Enterprise Nashorn

via Enterprise Nashorn | Oracle Community.

Nashorn is an open source JavaScript engine developed by Oracle that is compliant with ECMAScript-262 Edition 5.1. It comes with Java SE 8 and is the successor to the Mozilla Rhino engine, which was introduced in December 2006 as a default Service Provider Interface (SPI) for JSR 223: Scripting for the Java Platform. Both engines are embeddable and are executed “in-process” by the Java Virtual Machine (JVM).

Part 1: Building APIs on the JVM Using Kotlin and Spark

via Building APIs on the JVM Using Kotlin and Spark – Part 1 | Nordic APIs |.

When you start a new API project, one of the first questions to answer is what programming language to use. Picking the right one can make all the difference. Some languages help solve certain problems while others inhibit solutions. Even after a language is chosen and tens-of-thousands of lines of code have been written, there is the possibility of reducing complexity by using new languages on the sameruntime.

In this two-part blog series, we’ll explain why the JVM provides a strong basis on which to run your APIs, and how to simplify their construction using a framework called Spark and a new programming language called Kotlin. In this first part, we will introduce you to the JVM and how it can execute code written in many programming languages, including Kotlin. We’ll discuss a number of Kotlin’s features and show them in the context of APIs.

In the next post, we’ll explore the Spark framework in detail, and how to complement this toolkit with additional components like Inversion of Control (IoC). During the series, we’ll develop a boilerplate that you can use to create robust APIs with Kotlin and Spark. The code can be found on Github, so refer to it there as you read through the snippets below.

Java Bytecode: Bending the Rules

via Java Bytecode: Bending the Rules.

When a Java program is compiled, it is not translated to executable machine code but rather, the javac compiler yields Java bytecode, which serves as an intermediate format that describes a program to the Java virtual machine. Despite their shared names, the Java virtual machine has no notion of the Java programming language, but exclusively processes bytecode instructions.

One of the original intentions of Java bytecode was to reduce a Java program’s size. As an emerging language in the fledgling days of the World Wide Web, applets for example, would require a minimal download time. Thus, sending single bytes as instructions was preferred to transmitting human-readable words and symbols. But despite that translation, a Java program expressed as bytecode still largely resembles the original source code.

Over time, developers of languages besides Java created compilers to translate those languages into Java bytecode. Today, the list of language-to-Java-bytecode compilers is almost endless and nearly every programming language became executable on the Java virtual machine. Moreover, the recent introduction of the invokedynamic bytecode instruction in Java 7 has increased the capabilities of efficiently running dynamic languages on the JVM.

How Offshore Java Development Companies Create 2D Game In Java ME

via How Offshore Java Development Companies Create 2D Game In Java ME :: technohub.

With this article, we are going to provide you a quick introduction to Java ME development tools used by offshore Java Development vendors to create MIDlet. Java ME contains small JVM and a set of Java APIs that are used for developing mobile applications. So let’s start and create your first mobile app with perfection.