Posted on April 29, 2008 at 4:11 pm
So, after buying a nice and shiny expensive Mac computer that will help a lot on your day-to-day developer life (OSX is better than anything… at least that’s what they say) you just find out that there is NO JavaME development toolkit made to run on the beloved fruity OS.
Fear not: it is still possible [...]
Posted on November 12, 2007 at 11:17 am
Unless you have been living in a cave playing with your iPhone for the last couple of months, you surely have heard of the GPhone rumors. Well, rumors they seem no more: a week after announcing that GPhone was actually an OS meant to be implemented by a lot of vendors, Android - Google’s Mobile [...]
Posted on June 3, 2007 at 6:41 pm
Good news from JRuby’s official blog: JRuby Release candidate 3 was released yesterday - which means the version 1.0 is very, very close ahead.
JRuby is a pure Java implementation of Ruby 1.8.5, which allows you to use integrate Java and Ruby code both ways: use ruby code inside your Java application, use Java classes along [...]
Posted on May 1, 2007 at 12:23 pm
Ok, não é exatamente uma história nova (em termos de blogosfera, já que trata-se de algo que aconteceu a duas semanas atrás). Mas confesso que fiquei um tanto desapontado a ler que a SavaJe, fabricante do exclusivíssimo, lentíssimo e terrivelmente difícil de usar ‘Jasper develoepr’s mobile phone’ (sim, eu tenho um) finalmente fechou as portas [...]
Posted on May 1, 2007 at 6:37 am
Ok, this news is not exactly ‘new’ (in terms of blogosphere, since it happened about 2 weeks ago). But I was quite disappointed to see that SavaJe, the maker of the SavaJe embedded Java OS and the bricky, slow-like-hell, terribly-not-user-friendly but yet exclusive Jasper developer’s mobile phone (yeah, I have mine) finally closed its doors [...]
Posted on April 28, 2007 at 2:09 pm
O conceito de classpath existe no Ruby, assim como no Java. Suponha que você tem duas aplicações em dois diretórios, e pretende utilizar código de uma na outra (em outras palavras, fazer com que uma das aplicações dependa da outra):
/my_funky_lib/
/yet_another_blog_app/
Para simplificar, vamos supor a existência de somente um arquivo em cada:
/my_funky_lib/funky.rb
/yet_another_blog_app/blog_funkiness.rb
Como você precisa [...]
Posted on April 28, 2007 at 10:08 am
The concept of “classpath” exists in Ruby as it does in Java. Let’s suppose you have two applications in two folders, and would like to use one on the other (aka, make the second depend on the first):
/my_funky_lib/
/yet_another_blog_app/
And the files:
/my_funky_lib/funky.rb
/yet_another_blog_app/blog_funkiness.rb
On blog_funkiness.rb, you’d expect this to work:
require ‘funky’
But for your disappointment, you find that it doesn’t [...]
Posted on April 12, 2007 at 4:27 pm
Se você utiliza o Hibernate regularmente e já passou pela situação de ter que utilizar o SQL gerado por ele por algum motivo (no meu caso, precisei fazer um “insert as select” em uma tabela não mapeada no Hibernate), conseguir a query convertida é relativamente simples:
Session session; // uma sessão Hibernate qualquer
HQLQueryPlan queryPlan = [...]
Posted on April 12, 2007 at 12:27 pm
If you use Hibernate regularly and had to - for some reason - get access to the SQL code generated by it (in my case I needed to do an “insert as select” on a non-hibernate-mapped table), getting the converted query is pretty straightforward:
Session session; // a plain vanilla hibernate session
HQLQueryPlan queryPlan = ((SessionFactoryImpl) session.getSessionFactory()).getQueryPlanCache().getHQLQueryPlan(hqlStatement, [...]
Posted on March 22, 2007 at 9:51 am
Uma série de exemplos de como deve funcionar a especificação de closures que deve sair no Java 7, de acordo com a especificação de closures para Java. No mínimo, bem esquisito…