Uplevel e-solutions

Webware and Rich Internet Applications

Java-enabled style

Last time there are many implementations of languages in pure Java. I wrote last time here about JRuby which is on other hand very powerful solution. All these JSomething implementations are not without sense because Java has still enormous capabilities and thousands, milions libraries in any context of use. So imagine what brings you Ruby flexibility with Java enterprise. There are of course other implementations like Jython, now in 2.2.1 version. But thing that determined me to write this post is what I found last time - JSqueak, and now here is my question: it is necessary to implement everything in Java ? To understand general problem of Java and Dynamic Languages you should read this great article: Dynamic Languages - The FUD Continues…. Here is short a short excerpt from this article:

The simple truth is that for web applications dynamic approaches are massively more productive. Take a look at Seaside (Smalltalk), Grails (groovy) or Rails (Ruby) and its clear that Java has nothing to compare. The DSLs provided by these languages make web development a cinch. Productivity improvements of 2-3 times is not uncommon. This translates to a reduced time to market, and better responsiveness to business needs.

The domains where Java makes sense are shrinking. Given the performance of dynamic languages nowadays and the ability to inter-operate with high performance system languages like C++, I see Java and C# being squeezed.

I agree with author completly ! So nevertheless if JRuby or Jython are great, projects like JSqueak are for me interesting only from academic or educational point of view. It is so because Squeak are desperately pretty, I mean it’s so simple and powerfull, small and considered. So why takes it from brilliant Smalltalk to big, heavy Java ? Of course all these projects are very important because we need to still trying new concepts to find appropriate solutions. But question is - is Java keyword still necessary to talk about enterprise, good solutions ? Probably not.

  • Comments
  • Filed under: Java
  • JRuby power !!

    If you just started to work with Ruby and if you are the Java Developer this is the most powerful solution for you - JRuby. That’s the magnificent synergy between power of Java( millions libraries, millions projects in whole world, millions Java programmers) and Ruby ( always giving productivity and fun). If you haven’t tried JRuby yet, there is a video you should see: JRuby: The power of Java and Ruby. Simple speaking it’s an 100% pure-Java implementation of the Ruby programming language. Of course we can using Ruby On Rails or Merb with it now :) Current version is 1.1.2 and it gives really good performance (opposite to the groovy which I was talking about last time). All your JRuby projects can be started later with for example GlassFish server.

    There is another interesting tool called JtestR - that will make it easier to test Java code with state of the art Ruby tools (RSpec, Test/Unit, dust, mocha and Active Support).

    So now the only way is to download it and start using :)

  • Comments
  • Filed under: Java, Ruby
  • Groovy - interesting but to slow now

    Groovy is an “agile dynamic language for the Java Virtual Machine, builds upon the strengths of Java but has additional power features inspired by languages like Python, Ruby and Smalltalk” - from their site. It’s quite interesting, so i decided to write about it. On RailsEnvy blog we can find more features about it from this: article. Many informations also were on last Dynamic Languages World Conference. What is more, Groovy has a brilliant Grails framework inspired by Ruby On Rails. It all looks nifty huh ? but … there is a “little” problem with Groovy - low performance :( You can find tests and quick comparison here. UPDATE! (may 2008 test but isnt still truly - JRuby 1.1.2 is faster still, thay compared 1.1.1 version). Why it is so ? explanation you can find in headius (Charles Nutter) blog in this article. Generally speaking if you want to power of Java in beautiful language choose JRuby - its much much better (faster and more powerful) - this is my opinion :)

  • Comments
  • Filed under: Java
  • Merapi Project - współpraca Adobe Air i Java

    Merapi to jakby most, połączenie pomiędzy aplikacjami napisanymi w Javie i tymi działającymi i napisanymi w Adobe AIR. Dlaczego i po co ?

    Dzięki temu połączeniu w prosty sposób można uzyskać dostęp do całej mocy i funkcjonalności, którą oferuje Java (miliardy bibliotek) z poziomu Aplikacji napisanej w Adobe AIR. Żeby nie być tu gołosłownym poniżej znajduję się przykładowy screencast z działającą w ten sposób aplikacją . Jednym słowem nowe ekscytujące możliwości :P .

    Merapi Hello World :

  • Comments
  • Filed under: Flex, Inne
  • Android - na podbój mobilnego świata

    Android - czyli platforma dla urządzeń mobilnych opracowana przez Google i firmy zrzeszone w Open Handset Alliance. Aplikacje pisane są tu w języku Java i uruchamiane wirtualną maszyną zwaną Dalvik, która działa pod kontrolą Linuxa.

    Dlaczego warto się tym zainteresować ? Przede wszystkim ze względu na ciągły rozwój ten platformy i firmy, które w jej rozwój są zaangażowane :) . Nie tak dawno został ogłoszony konkurs na aplikacje pod Androida (z bardzo wysokimi nagrodami :D ), można o tym poczytać też na helloandroid. Niedawno zastanawiano się tez czy Android pobije iPhona … i już dziś wiadomo, że jest to pewne. Google podpisało już umowy z takimi firmami jak Motorola, Samsung, LG czy HTC, z tego ten ostatni obiecał, że jako pierwszy przedstawi swoja propozycję HTC Dream.

    Warto poczytać o możliwościach na stronie projektu i przejrzeć bloga programistów.

    Generalnie coraz więcej się dzieje w świecie mobile devices, powstaje już właściwie “mobile RIA” (np JavaFX) , w niedalekiej przyszłości urządzenia przenośne będą mieć możliwości dostepne dziś tylko na Laptopach i Pctach, dlatego warto już dziś rzucić okiem na Androida :)

  • Comments
  • Filed under: Inne
  • JavaFx - konkurencja dla Flex i Silverlight ?

    Sun Microsystems ciągle rozwija swój produkt, mogący pozwolić wejść im w świat aplikacji RIA. Tym produktem jest właśnie JavaFx. Aplikacje w JavaFX tworzyć można wykorzystując środowisko NetBeans z wtyczką JavaFX Script, Media Converter. Aplikację będzie można uruchamiać na wszystkich wspieranych platformach (po zainstalowaniu pluginu), podobnie jak Adobe AIR czy Silverlight. Na niedawnej konferencji JavaONE zaprezentowano przykłady aplikacji dla Facebooka, połączonego z Flickrem i Twitterem. Pokazano możliwość przeciągnięcia aplikacji z okna przeglądarki na pulpit. Co więcej tę samą aplikacje uruchomiono następnie na telefonie komórkowym na platformie Android.

    Całość wygląda efektownie i obiecująco, jednak na razie jest zbyt wcześnie by JavaFX mogła konkurować z Adobe Flex czy Adobe AIR. Wynika to faktu, że całość nie jest jeszcze tak dopracowana, a co za tym idzie rozpowszechniona (pluginy vs FlashPlayer = produkty Adobe). Tak więc jeśli chodzi o platformę dla Aplikacji RIA, Adobe wciąż wiedzie prym.

  • Comments
  • Filed under: RIA