TheMarceloR

Logo

::Troubleshooting, Coding and Comic Books

View the Project on GitHub themarcelor/blog

Nashorn Talk In Brazil

20 Jul 2013 - Marcelo Costa

I had the opportunity to give a talk about this new technology in an event from Brazil’s most prestigious JUG, the “Ceará Java Users Group” (CEJUG)

dsc07290

Since its creation in 1995, the Java platform is constantly revolutionizing the paradigm of Software Development technologies. When everyone wanted to use a robust server-side language that could run on the client-side, the Applet was created to attend this demand, when all the Common Gateway Interface (CGI) scripts (e.g., Perl) were presenting scalability issues, the Servlets were created to work as a single-process multi-threaded solution to server-side data processing, then the industry was flooded with Application Servers, Web Services technologies and Middleware Solutions that gave more power to the Java Enterprise Edition (J2EE) platform, many services, libraries, frameworks and Application Programming Interfaces (APIs) were created and even inspired other technologies that were implemented for other languages (e.g., NHibernate and Log4Net libraries created for the .NET platform), the necessity to reuse these well-consolidated libraries allied with the advent of dynamic scripting languages like Python, Ruby and specially Javascript culminated in a point where new technologies had to be created to accommodate this integration: Jython, JRuby and Mozilla’s Rhino Javascript engine that is executed within the Java Virtual Machine (JVM) itself.

To organize these initiatives, in 2006, the Java Specification Request 223 (JSR-223), entitled as “Scripting for the Java Platform”, was created to allow the execution of scripts on the server-side JVM. Later in 2008 Sun Microsystems, before its acquisition by Oracle, created the “Da Vinci Machine Project” to develop support for dynamic languages on the JVM. Then, in November of 2012, Oracle announced the Nashorn open-source project as part of the OpenJDK. Nashorn is going to replace Rhino as the official Javascript Engine for the JVM that will be shipped with the Java Development Kit version 8.

I had the opportunity to give a talk about this new technology in an event from Brazil’s most prestigious JUG, the “Ceará Java Users Group” (CEJUG), the “Coffee with Tapioca” happens every 2 months and gathers a large number of active members with usually two speakers per event, I had the pleasure to meet Helio Frota, Roberto Coelho, Paulo Junior and the other speaker, Guilherme Bahia (Czech out his game!), that gave an amazing presentation about Android Game Development. Everyone got very interested in hearing more about Nashorn, perhaps that will be the beginning of an evangelization saga.

cctdeferias

Since Javascript is becoming stronger in the software development world, either for its simple syntax or dynamic features, the adoption of Nashorn-based enterprise solutions can become a reality soon, based on this fact, more study is necessary on how this change of paradigm will affect the way Enterprise Performance Monitoring is performed.

dsc07239 dsc07234

I will prepare more posts related to Nashorn within the upcoming weeks.

Cheers!