Development on Va...
Follow
Find tag "Java"
9.3K views | +0 today
Development on Various Platforms
Your new post is loading...
Your new post is loading...
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

JavaScript and the JVM

JavaScript and the JVM | Development on Various Platforms | Scoop.it

When it comes to server-side JavaScript programming, there are other choices besides v8 based solutions like NodeJS, TeaJS, SilkJS, and others. For the longest time, the Rhino JavaScript engine has been around for the JVM, and recently Java 8 was released with a brand new and improved JavaScript engine for the JVM called Nashorn. There is another project called DynJS that shows a lot of promise as well. In this post, I will investigate the benefits of JavaScript running on the JVM and demonstrate how easy it is to integrate with, or script, Java from JavaScript.

 

Contents:

* Introduction
* JavaScript in the JVM
* Introducing Mozilla Rhino
* Introducting Nashorn
* Conclusion


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from DEVOPS
Scoop.it!

Java Tools: Source Code Optimization and Analysis | Java Code Geeks

Java Tools: Source Code Optimization and Analysis | Java Code Geeks | Development on Various Platforms | Scoop.it

Below is a list of some tools that can help you examine your Java source code for potential problems


Via Shaker technologies
more...
Rescooped by Ertunç Efeoğlu from Java Performance
Scoop.it!

Google Cloud Platform Simplifies Mobile Back-end Development - ProgrammableWeb (blog)

Google Cloud Platform Simplifies Mobile Back-end Development - ProgrammableWeb (blog) | Development on Various Platforms | Scoop.it
Google Cloud Platform Simplifies Mobile Back-end Development
ProgrammableWeb (blog)
Google Cloud Platform is positioning itself as a major player to help mobile developers get off the block fast. While the ...

Via Simon Hunanyan
more...
Simon Hunanyan's curator insight, December 3, 2013 10:27 PM

Google significantly has updated his cloud platform in November, making it easy to expose cloud applications via services and providing a starter back-end application to mobile developers who wish to get off the blocks quickly.

Rescooped by Ertunç Efeoğlu from Java Performance
Scoop.it!

Why We Shouldn't Use More Threads Than We Need To | Javalobby

Why We Shouldn't Use More Threads Than We Need To | Javalobby | Development on Various Platforms | Scoop.it
There is a common argument that because we have lots of cores, and will have even more in the future we have to use them.  We just we need to find the...

Via Simon Hunanyan
more...
Simon Hunanyan's curator insight, November 15, 2013 10:39 PM

In Generally, author is considering how reasonable to use Java threads...

Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Avatar

Avatar | Development on Various Platforms | Scoop.it

Avatar provides a JavaScript services layer zeroed in on supporting REST, WebSockets and Server-Sent Events, and a rich client side framework that assumes very minor JavaScript knowledge. The services side is focused on building data services using JavaScript, while the optional client side is entirely focused on supporting HTML5 and TSA (Thin Server Architecture).

An Avatar application is comprised of either client side 'views', server side 'services' or, for convenience, both. Importantly, there is no inherent coupling between views and services, enabling views to communicate with existing services and for services to be consumed by any type of client. An application 'archive' is deployed on the server and is compiled to generate JavaScript tailored to the application. Generated JavaScript for views handles data-binding with the DOM/UI as well as data-management to remote services and local storage.


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from Free Tutorials in EN, FR, DE
Scoop.it!

Why should I uninstall older versions of Java from my system?

Why should I uninstall older versions of Java from my system? | Development on Various Platforms | Scoop.it
Answers questions about removing older Java versions after installing a newer version and whether you need multiple versions of Java installed on your system.

Via Gust MEES
more...
Rescooped by Ertunç Efeoğlu from Java Performance
Scoop.it!

Java is the new C: Comparision of different concurrency models ...

Java is the new C: Comparision of different concurrency models ... | Development on Various Platforms | Scoop.it
The subtleties of the Java Memory Model are not well known to most Java programmers. Even if JMM is ... This model seems to fit existing CPU, memory and VM architectures better resulting in high throughput and superior performance.

Via Simon Hunanyan
more...
Simon Hunanyan's curator insight, February 3, 2014 10:14 PM

In order to make use of modern multi core/socket hardware, Java offers threads and locks for concurrent programming. It is well known this model suffers of a number of problems - Deadlocks, incorrect synchronization problems, the growing application is hard to safely modify , the  subtleties of Java Memory Model is unknown to most Java programmers, etc.
Author presents a simple benchmark of the most popular "alternative" concurrency models: Actors, CSP and Disruptor.

Björn Frantzén's curator insight, February 26, 2014 7:30 AM

Comparison between Actor, CSP, Disruptor and regular Java Concurrency implementations.

Rescooped by Ertunç Efeoğlu from playframework
Scoop.it!

Day 30: Play Framework--A Java Developer Dream Framework | OpenShift by Red Hat

Day 30: Play Framework--A Java Developer Dream Framework | OpenShift by Red Hat | Development on Various Platforms | Scoop.it
In this blog, we will first look at Play framework basics and then we will develop an application using it.

Via opensas
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from IT Books Free Share
Scoop.it!

The Java Virtual Machine Specification, Java SE 7 Edition - PDF Free Download - Fox eBook

The Java Virtual Machine Specification, Java SE 7 Edition - PDF Free Download - Fox eBook | Development on Various Platforms | Scoop.it
The Java Virtual Machine Specification, Java SE 7 Edition PDF Free Download, Reviews, Read Online, ISBN: 0133260445, By Alex Buckley, Frank Yellin, Gilad Bracha, Tim Lindholm

Via Fox eBook
more...
Fox eBook's curator insight, November 27, 2013 8:47 PM

Written by the inventors of the technology, The Java® Virtual Machine Specification, Java SE 7 Edition, is the definitive technical reference for the Java Virtual Machine.

The book provides complete, accurate, and detailed coverage of the Java Virtual Machine. It fully describes the invokedynamic instruction and method handle mechanism added in Java SE 7, and gives the formal Prolog specification of the type-checking verifier introduced in Java SE 6. The book also includes the class file extensions for generics and annotations defined in Java SE 5.0, and aligns the instruction set and initialization rules with the Java Memory Model.

 

Table of Contents

 

Chapter 1. Introduction
Chapter 2. The Structure of the Java Virtual Machine
Chapter 3. Compiling for the Java Virtual Machine
Chapter 4. The class File Format
Chapter 5. Loading, Linking, and Initializing
Chapter 6. The Java Virtual Machine Instruction Set
Chapter 7. Opcode Mnemonics by Opcode

Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

Atmosphere and AngularJS

Atmosphere and AngularJS | Development on Various Platforms | Scoop.it

Atmosphere framework is the The Asynchronous WebSocket/Comet Framework for building asynchronous web applications.

You code your asynchronous web application using one codebase and deploy it on any Servlet container or straight to the cloud. There's no need to think about WebSocket support or hardcode specific vendor implementations.

Sounds too good to be true, doesn't it? Let me show you that it is true, indeed.

The tutorial is based on the excellent example from the Atmosphere examples project and modified to use AngularJS for the front end.

Let's analyze requirement more thoroughly.

* There must be a front-end allowing user to submit the name.

* There must be a way to connect and listen for the incoming messages asynchronously from the front end.

* The server must asynchronously process incoming chat messages and notify all users in the chat.

As it will become clear after completion of this tutorial, Atmospheres framework makes it incredibly easy to deal with the server side asynchronous processing. You'll find that most of time you are spending building nice front-ends instead of dealing with complexities of asynchronous request processing.


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from Java Performance
Scoop.it!

Java 8 vs Scala: a Feature Comparison

Java 8 vs Scala: a Feature Comparison | Development on Various Platforms | Scoop.it
This article explores some of Java 8’s new features, using both Java’s proposed syntax and Scala. We cover lambda expressions, higher-order functions, parallel collections and virtual extension methods aka traits.

Via Aleksandr Burnazyan
more...
Aleksandr Burnazyan's curator insight, August 22, 2013 5:31 PM

Very good introduction into upcoming Java 8 feature of lambda expressions.