Hazelcast for MongoDB Developers

TL;DR When I talk to the developers about Hazelcast, many of them ask how Hazelcast is different from NOSQL databases, and particularly from MongoDB. In this blog post, I will try to answer this question once and for all. Introduction MongoDB is an open source, document-oriented database designed with both scalability and developer agility in mind. Instead of storing your data in tables and rows as you would with a relational database, in MongoDB you store JSON-like documents with a dynamic schema. In short, MongoDB is an NOSQL data store, primarily concerned with storing/persisting and retrieving schema-free data. ...

November 2, 2015 · 5 min · Viktor Gamov

I'm speaking at JavaOne 2013

New achievement unlocked - I’m going to deliver the talk at JavaOne 2013! This year I will be talking about very demanding and interesting topic for me - about integration Java and JavaScript. Here is quick abstract of my [BOF5793] session: "" There is a perception in the Java community that JavaScript is a second-rate interpreted language whose main purpose is to make Web pages a little prettier. But JavaScript is actually a powerful, flexible, dynamically typed language. And today the language has been experiencing a revival driven by the interest in HTML5. Nashorn is a modern JavaScript engine available on the JVM, and it’s already included with JDK8 builds. This presentation is about building polyglot applications with Java and JavaScript. "" ...

July 9, 2013 · 1 min · Viktor Gamov

Productive Enterprise Web Development with ExtJS and Clear Data Builder

It will not likely that you will start developing an enterprise HTML5 applications without using one of the JavaScript frameworks. One of the most feature-complete frameworks is ExtJS from Sencha, but its learning curve is a bit steep. Our company, Farata Systems, has developed an open source software Clear Toolkit for ExtJS. Clear Toolkit includes an Eclipse plugin called Clear Data Builder (CDB). It is a productivity tool - a code generator - that can create a CRUD application for you in no time. This application will have HTML/JavaScript/ExtJS client and Java-based server. In this article, you will learn how jumpstart development of such Web applications. ...

February 5, 2013 · 16 min · Viktor Gamov

Set JDK on OSX

Table 1. Revisions history Version Date Comments v1.2 11/9/2016 Explained JVMPlatformVersion for Java 9 v1.1 11/8/2016 Added Java 9 command v1.0 01/19/2013 Initial blog post Apple announced to remove Java Preferences app from Mac OS X. Details could be found here http://support.apple.com/kb/HT5493). Let’s try to fix it. Generally, Java applications will use the JAVA_HOME environment variable to pick a JDK. ...

January 19, 2013 · 1 min · Viktor Gamov

WebSockets for Java Developers. Princeton JUG talk slides

Last tuesday I delivered presentation at Princeton JUG «WebSockets: The Current State of the Most Valuable HTML5 API». + HTML5 specification includes WebSockets, a new communication protocol for the Web. It’s becoming the best choice for building real-time Web applications. I did an overview of the servers (including upcoming JavaEE 7 RI - Glassfish 4) and frameworks that support WebSockets and showed some use cases where WebSockets shine. At the end we had short conversation about various approaches for the server- and client-side implementations of WebSockets that can be used in the Web applications today. ...

July 26, 2012 · 1 min · Viktor Gamov

WebJars for assets management in your project

Usage automatic build tools for dependency management is best practice in Java world and usage of tools such as Maven has been proven by the years. But what if utilize existing Maven knowledge of Java dependencies management for JavaScript projects. Hopefully, some Java and JVM frameworks (like Grails or Play2) provided their own way of dealing with static resources. But in most common situations, you don’t have lot of options for deployment your application. To read the full post, surf on over to the Farata Systems Blog: http://flexblog.faratasystems.com/index.php/using-webjars-for-assets-management-in-javascript-projects/ ...

May 16, 2012 · 1 min · Viktor Gamov

Rapid automation for Flex/Java/BlazeDS projects

Right after vacation I talked on New York Flex User group regarding open source project for Flex/Java developers - Clear Toolkit. Here are the slides of my presentation. Feel free to comment!

January 10, 2012 · 1 min · Viktor Gamov

Eclipse: java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

Last weekend spend in setup of environment for eclipse plug-in development. I have task to fix and update one plugin. This is add-on to Flash Builder. But before adding something, it’s good to run that plugin before. My environment is Mac OS X 10.7 Lion, Eclipse 3.6 (32bit because FB not supported 64bit version of Eclipse) and Flash Builder 4.5. But I faced with odd exception !SESSION 2011-07-25 23:59:39.350 ----------------------------------------------- eclipse.buildId=M20110210-1200 java.version=1.6.0_26 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -product org.eclipse.epp.package.jee.product -data /Users/apple/Workspaces/work/../runtime-EclipseApplication -dev file:/Users/apple/Workspaces/work/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os macosx -ws cocoa -arch x86 -consoleLog !ENTRY org.eclipse.osgi 4 0 2011-07-25 23:59:57.129 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM at org.eclipse.swt.internal.Library.loadLibrary(Library.java:197) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174) at org.eclipse.swt.internal.C.(C.java:21) at org.eclipse.swt.internal.cocoa.NSThread.isMainThread(NSThread.java:33) at org.eclipse.swt.graphics.Device.(Device.java:116) at org.eclipse.swt.widgets.Display.(Display.java:671) at org.eclipse.swt.widgets.Display.(Display.java:662) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:708) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:145) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) at org.eclipse.equinox.launcher.Main.main(Main.java:1384) An error has occurred. See the log file /Users/apple/Workspaces/runtime-EclipseApplication/.metadata/.log. Mac OS X shipped with 2 versions of JVM - 32 bit and 64 bit accordingly. So, First I tried to change order of JVM preference from /Application/Utilities/Java Preferences but it didn’t work. ...

July 26, 2011 · 2 min · Viktor Gamov

Building and Testing with Gradle - My Book Review

Last month I participated in JAXConf conference on San Jose, CA. There was many talks related to agile development and code quality stuff. And after that event I started looking to Gradle - next generation build tool. Couple weeks later I found a Building and Testing with Gradle written by git evangelists Tim Berglundand ( @tlberglund) and Matthew McCullough (@matthewmccull). Book very focused and easy to read. I got my dirty cheap ebook version on thursday night, read this book during my commute to work and now come up with this review. [][7] Looking at the [table of contents][8], you can see the book covers big part of questions. What this book is about: ...

July 10, 2011 · 2 min · Viktor Gamov